It's actually very simple:

*weectl station create /home/test*


See the weectl station create documentation
<https://www.weewx.com/docs/5.0/utilities/weectl-station/>.

On Fri, Feb 23, 2024 at 12:06 PM Copain <[email protected]> wrote:

> Here my results of further install tests.
>
> Install of weewx-venv to /home/test works as follows:
> python3 -m venv /home/test/weewx-venv
> source /home/test/weewx-venv/bin/activate
> python3 -m pip install weewx
>
> The provision of a new station with weectl station create did NOT work, as
> I found no way to add my custom path.
> Depending on the logged on user, weewx-data is either generated in
> /home/USER or /root.
> In a way, this approach does not seem to be consistently.
>
> Did I overlook something to generate the station using a custom path?
> Would it make sense to add a 'path option' to weewx utilities?
>
> Copain schrieb am Freitag, 23. Februar 2024 um 17:30:53 UTC+1:
>
>> Many thanks to all of you for the continuous development of weewx.
>>
>> I am trying to install weewx v5.0.2 to /home/test.
>> This does not seem to work, as the installer by default wants to use
>> /home/USER/...
>>
>> How can I pip install weewx-venv and weewx-data to a custom path,
>> independent of the logged on system user?
>> Where can I change the default path?
>>
>> Thank you.
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "weewx-development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-development/48799331-310b-4304-a2da-4b6a17e1413dn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-development/48799331-310b-4304-a2da-4b6a17e1413dn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/CAPq0zEAdHRXtOK0pxghS7-FvE%3DH%2BOCbVckO_7BX7p_hq9%3D%3DRag%40mail.gmail.com.

Reply via email to