[weewx-user] weewx 5 access website?

2024-01-08 Thread puckthefly
Hallo, i have installed weewx 5 Hi, I installed weewx5 via pip. What I unfortunately don't understand in the instructions, how do I access the data in the browser? The IP on the local network is 192.168.2.27. And do I need a websever like apache2? -- You received this message because you are s

[weewx-user] using 'weectl database' → error "No module named 'user'"

2024-01-08 Thread Graham Eddy
running weewx 5.0.0b16 in production quite happily for weeks - it works fine. i needed to delete a bad barometer reading from station called ‘vantage’, so i stopped unit weewx@vantage, set the value to None, then tried to rebuild the daily database → following error: (venv) weewx@wx:~$ weectl da

[weewx-user] Re: weewx 5 access website?

2024-01-08 Thread 'michael.k...@gmx.at' via weewx-user
Yes and no, there are so many possibilities. For the narrow context, given you want to access the pages weewx created, on the machine, weewx is running: you need a webserver on that machine. Once this is set up, you need to have the pages accessible to the webserver. This can easily be done cre

Re: [weewx-user] using 'weectl database' → error "No module named 'user'"

2024-01-08 Thread Tom Keffer
Do you have a value for WEEWX_ROOT in the configuration file /home/weewx/vantage/weewx.conf? Also, what is in /home/weewx/bin? I'm reluctant to put too much energy in debugging b16, because a lot of how WEEWX_ROOT is handled has changed since then. If you're still having problems, upgrade to the

[weewx-user] Re: weewx 5 access website?

2024-01-08 Thread puckthefly
Thanks, I was able to solve the problem like this, maybe it can help someone else: ln -s ~/weewx-data/public_html/ /var/www/html chmod o+x /root/weewx-data/public_html/ chmod o+x /root/weewx-data/ chmod o+x /root/ michael.k...@gmx.at schrieb am Montag, 8. Januar 2024 um 15:20:38 UTC+1: > Yes and

Re: [weewx-user] Re: Why the rain 'spikes'?

2024-01-08 Thread Ξ
alright, I guess I misunderstood :) Here's the output adjusted for the local time zone: sqlite> select dateTime, datetime(dateTime, 'unixepoch', 'localtime'), rain from archive where dateTime > 1694811638 and dateTime <= 1694898038; 1694812500|2023-09-16 00:15:00|0.0 1694813400|2023-09-16 00:30

[weewx-user] Re: Packetsloop aggregation weewx

2024-01-08 Thread bell...@gmail.com
1. There are defaults and you only have to configure any settings that you want to be different. So in your example you would only have to override the extractor. [Accumulator] ... [[XField]] extractor = last 2. I don’t know the answer, but they have a different meaning. See,

[weewx-user] Re: Packetsloop aggregation weewx

2024-01-08 Thread gjr80
Be careful here, for most observations the default avg extractor function is appropriate (that's why it is the default) as the extracted value is a representation of the observation over the entire archive period. The majority of observations handled by a default WeeWX install (ie outTemp, baro

Re: [weewx-user] Re: Why the rain 'spikes'?

2024-01-08 Thread Tom Keffer
Unfortunately, the daily summary total is for 2023-09-17. We need 2023-09-16. Rather than mess with unix epoch times, here is a simpler way to do it: *select **dateTime, date(dateTime,'unixepoch','localtime'), **sum(rain) from archive where date(dateTime,'unixepoch','localtime')=='2023-09-16';* *

[weewx-user] Availability of v5.0.0rc3

2024-01-08 Thread Tom Keffer
One last look at V5 before it goes out the door! V5 can be installed using either pip, or the usual package installers. *Pip* For pip installs, please delete your old virtual environment, then install from scratch by following the pip install instructions

Re: [weewx-user] using 'weectl database' → error "No module named 'user'"

2024-01-08 Thread Graham Eddy
just a standard V5 pip installation that otherwise works fine (venv) graham@wx:/home/weewx$ ls bin ls: cannot access 'bin': No such file or directory (venv) graham@wx:/home/weewx$ ls venv/bin activate cheetah pasteurize pyserial-miniterm python3.11 activate.csh cheetah-analyze

Re: [weewx-user] using 'weectl database' → error "No module named 'user'"

2024-01-08 Thread vince
Couple things. You need to source your venv/bin/activate to activate your venv before running weectl. And is your weewx data all within /home/weewx/vantage ? On Monday, January 8, 2024 at 7:40:13 PM UTC-8 Graham Eddy wrote: > just a standard V5 pip installation that otherwise works fine > > (ve

Re: [weewx-user] using 'weectl database' → error "No module named 'user'"

2024-01-08 Thread Graham Eddy
reasonable questions: yes to both, the ‘(venv)’ in the prompt is the clue to the first. i showed content of ~weewx/bin because i was asked for it; i knew it did not exist, and what was really being asked was for ~weewx/{venv}/bin and ~weewx/{station}/bin, so i showed those as well actually runn