Re: [weewx-user] Re: Weewx version 5 installation

2024-01-17 Thread Francesco Fasano
Good morning, I followed the steps in the guide and I get this error python3 -m pip install weewx Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting weewx Downloading https://www.piwheels.org/simple/weewx/weewx-5.0.0-py3-none-any.whl (1.4 MB)

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

2024-01-17 Thread Ξ
Hi Tom, Yes, that's exactly the ws6in1 driver I'm using, ever since July 2022. target_unit is set to METRICWX and that's how I've always had it since I started running weewx 5 years ago on this R-Pi initially with an Acurite station. Thanks a bunch! On Monday, January 15, 2024 at 1:03:41 AM

Re: [weewx-user] Re: Weewx version 5 installation

2024-01-17 Thread Francesco Fasano
also on this command weewxd --config=/home/weewx/weewx.conf Traceback (most recent call last): File "/home/pi/weewx-venv/bin/weewxd", line 8, in sys.exit(main()) File "/home/pi/weewx-venv/lib/python3.9/site-packages/weewxd.py", line 160, in main engine =

Re: [weewx-user] Re: Weewx version 5 installation

2024-01-17 Thread Francesco Fasano
sudo pip3 install paho-mqtt Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Requirement already satisfied: paho-mqtt in /usr/lib/python3/dist-packages (1.5.1) Il giorno mercoledì 17 gennaio 2024 alle 13:03:05 UTC+1 michael.k...@gmx.at ha scritto: > This is not a

Re: [weewx-user] Re: Weewx version 5 installation

2024-01-17 Thread 'michael.k...@gmx.at' via weewx-user
Did you activate the venv before doing so? Francesco Fasano schrieb am Mittwoch, 17. Januar 2024 um 13:11:07 UTC+1: > is already installed > > > Il giorno mercoledì 17 gennaio 2024 alle 13:09:25 UTC+1 Francesco Fasano > ha scritto: > >> sudo pip3 install paho-mqtt >> Looking in indexes:

Re: [weewx-user] Re: Weewx version 5 installation

2024-01-17 Thread Francesco Fasano
yes Il giorno mercoledì 17 gennaio 2024 alle 13:25:09 UTC+1 michael.k...@gmx.at ha scritto: > Did you activate the venv before doing so? > > Francesco Fasano schrieb am Mittwoch, 17. Januar 2024 um 13:11:07 UTC+1: > >> is already installed >> >> >> Il giorno mercoledì 17 gennaio 2024 alle

Re: [weewx-user] Re: Weewx version 5 installation

2024-01-17 Thread 'michael.k...@gmx.at' via weewx-user
This is not a weewx issue, it is related to the extension, but a user error: read the friendly manual for the extension: https://github.com/matthewwall/weewx-mqtt Use pip to install paho-mqtt, as this is a prerequisite. Francesco Fasano schrieb am Mittwoch, 17. Januar 2024 um 10:32:04 UTC+1:

Re: [weewx-user] Re: Weewx version 5 installation

2024-01-17 Thread Francesco Fasano
is already installed Il giorno mercoledì 17 gennaio 2024 alle 13:09:25 UTC+1 Francesco Fasano ha scritto: > sudo pip3 install paho-mqtt > Looking in indexes: https://pypi.org/simple, > https://www.piwheels.org/simple > Requirement already satisfied: paho-mqtt in

Re: [weewx-user] Re: Database Error Message

2024-01-17 Thread Michael Sanphillipo
FWIW I went back to 4.10.2 and no more database errors and the CPU spikes are gone. Might be time to upgrade to a PI4 or PI5. On Tuesday, January 16, 2024 at 5:41:39 PM UTC-5 Tom Keffer wrote: > The difference is that V5 could be doing more. We don't know for sure, > yet, but it is probably

[weewx-user] Error upgrading to v5.0

2024-01-17 Thread Marty b
Hello, I tried upgrading to v5.0 and am getting errors: pi@WeeWx2021:/var/log/apache2 $ sudo apt-get update Hit:1 https://weewx.com/apt/python3 buster InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:3 http://archive.raspberrypi.org/debian buster InRelease Reading

[weewx-user] Re: Error: invalid read_period in get_records

2024-01-17 Thread Μάριος
Problem solved after weewx uninstall and install again. Thanks for your help! Στις Δευτέρα 15 Ιανουαρίου 2024 στις 9:25:37 μ.μ. UTC+2, ο χρήστης Μάριος έγραψε: > And my wee_device --info > > Using configuration file /etc/weewx/weewx.conf > Using FineOffsetUSB driver version 1.20

[weewx-user] READ THIS!

2024-01-17 Thread Tom Keffer
We have discovered a potentially serious bug. The specific situation is as follows: - A V4.x configuration file; - Package installer; - Install an extension; - Uninstall the extension. Under these circumstances, the extension uninstaller could remove system files! If you are using a

[weewx-user] I'm desperate to fix my NOAA reports. Can I please pay someone to help fix my database and recover this data?

2024-01-17 Thread Blaine
Way back in 2020 my NOAA reports stopped populating their daily values. The average values for the month continue to be populated at the bottom of the table. Since 2020 every year or so I have spent hours banging my head against the wall following any and all instructions on the wiki, github,

Re: [weewx-user] Re: Weewx version 5 installation

2024-01-17 Thread vince
You have to install the paho-mqtt module into the venv after activating it. source /home/pi/weewx-venv/bin/activate pip3 install paho-mqtt On Wednesday, January 17, 2024 at 4:28:37 AM UTC-8 Francesco Fasano wrote: > yes > > > Il giorno mercoledì 17 gennaio 2024 alle 13:25:09 UTC+1 >

[weewx-user] Re: Web page will not refresh after update to 5.0

2024-01-17 Thread Jim Wilkerson
Adding logs after roll back to 4.10.2. On Wednesday, January 17, 2024 at 8:20:05 PM UTC-5 Jim Wilkerson wrote: > After an update of Weewx 4.10.2 to 5.0, the data on the web page > > http:///weewx/index.html > > no longer refreshes. > > Summary data: > > uname -a > Linux linux-3wjh

[weewx-user] Re: I'm desperate to fix my NOAA reports. Can I please pay someone to help fix my database and recover this data?

2024-01-17 Thread 'michael.k...@gmx.at' via weewx-user
Can you share your database? Maybe I can take a look at it the next weekend. Blaine schrieb am Mittwoch, 17. Januar 2024 um 18:32:19 UTC+1: > Way back in 2020 my NOAA reports stopped populating their daily values. > The average values for the month continue to be populated at the bottom of >

Re: [weewx-user] Re: Database Error Message

2024-01-17 Thread p q
It's not "old" that I'm thinking, but it might be big. Though, it didn't suddenly get bigger with 5.0, so it would be in combination with something else. I'm betting on something going on in Belchertown. On Wed, Jan 17, 2024 at 3:19 PM Michael Sanphillipo wrote: > My current database goes back

Re: [weewx-user] Re: Database Error Message

2024-01-17 Thread vince
Michael - guessing you have something customized under the hood causing this. Again you have a few choices - disable Belchertown (temporarily) and see if it goes away - switch to the Simulator (temporarily) after saving your weewx setup and see if it's related to the Acurite

Re: [weewx-user] Re: Database Error Message

2024-01-17 Thread Michael Sanphillipo
I'm also using my Pi3 as a MQTT server feeding Belchertown I'm not sure if that makes a difference or not. With all of that being said everything runs smoothly on WeeWxVersion 4. I know Tom said that version 5 does a lot more. I also use my PI3 for ADSB sending data to a few ADSB sites. On Wed,

Re: [weewx-user] Re: Database Error Message

2024-01-17 Thread Tom Keffer
Maybe, although I've run V5 without any problems on a RPi Zero! There's something in your Belchertown skins that is triggering the long runtimes. On Wed, Jan 17, 2024 at 6:42 AM Michael Sanphillipo wrote: > FWIW I went back to 4.10.2 and no more database errors and the CPU spikes > are gone.

Re: [weewx-user] Re: Database Error Message

2024-01-17 Thread p q
You might also swap out your database with an empty one to see if the volume of data in the database is causing the slowness. I really doubt it, though. On Wed, Jan 17, 2024 at 2:32 PM vince wrote: > Michael - guessing you have something customized under the hood causing > this. Again you

Re: [weewx-user] Re: Database Error Message

2024-01-17 Thread Michael Sanphillipo
My current database goes back to 2018 so I guess it could be an issue. I really don't know if that is considered old or not. The fact that it runs fine on version 4 leads me to think that might not be it. On Wed, Jan 17, 2024 at 6:14 PM p q wrote: > You might also swap out your database with an

Re: [weewx-user] Re: Database Error Message

2024-01-17 Thread vince
It's not Belchertown. It's not db size. I ran many tests. v5 and Belchertown can easily coexist on a pi3 or so system. If every time through you're exceeding the default archive period you're doing something custom to make that happen. I keep coming back to the known issue/slowness with

[weewx-user] Web page will not refresh after update to 5.0

2024-01-17 Thread Jim Wilkerson
After an update of Weewx 4.10.2 to 5.0, the data on the web page http:///weewx/index.html no longer refreshes. Summary data: uname -a Linux linux-3wjh 5.14.21-150500.55.39-default #1 SMP PREEMPT_DYNAMIC Tue Dec 5 10:06:35 UTC 2023 (2e4092e) x86_64 x86_64 x86_64 GNU/Linux openSUSE Leap

Re: [weewx-user] Re: Database Error Message

2024-01-17 Thread Michael Sanphillipo
Here is a sanitized copy of my Weewx.conf. I do have all of my Belchertown settings in the weewx conf , so it adds a bunch of lines. I'm really not sure about the synthetic measurements. # WEEWX CONFIGURATION FILE # # Copyright (c) 2009-2019 Tom Keffer # See the file LICENSE.txt for your

[weewx-user] Re: Weewx and Meteobridge - website update

2024-01-17 Thread Jim Wilkerson
When you say to add the meta refresh to the "top of the template", which configuration file are you referring to please? Thanks.. On Tuesday, January 9, 2024 at 9:22:27 AM UTC-5 gary@gmail.com wrote: > What skin are you using? > > On Sunday, January 7, 2024 at 1:36:16 PM UTC-5 bhouseski

Re: [weewx-user] Re: Weewx version 5 installation

2024-01-17 Thread vince
oops - weewx-data/util/rsyslog of course there. On Wednesday, January 17, 2024 at 6:47:43 PM UTC-8 vince wrote: > Under weewx-data/rsyslog there is a weewx.conf for rsyslog so just edit > that as desired for where you want it to go before putting it into place > and restarting rsyslog. > > On

[weewx-user] ftpupload suddenly stopped working, but....

2024-01-17 Thread Steve2Q
Last evening, my system stopped uploading to Dreamhost. I get the following message in syslog: " ftpupload: Unable to connect or log into server : timed out" I have checked my config file and my credentials are correct, and using the identical credentials I can use my terminal program (Putty)

[weewx-user] Re: Web page will not refresh after update to 5.0

2024-01-17 Thread vince
Files seem to be in /var/www/html/weewx for 4.10.2 but you are not providing enough logs to see where they are being written to for v5. Try "sudo journalctl -xe -n 200 -u weewx" with v5 running. Hit 'q' since you'll be in a pager. Basically I'm looking for the reportengine lines. Mine looks

[weewx-user] Re: Web page will not refresh after update to 5.0

2024-01-17 Thread vince
Jim please set debug=1 and restart weewx. For logs you might try to do ‘sudo journalctl -u weewx -n 200’ so we see the last 200 lines and not a truncated log,. We need to see your reports actually run and where they are being written to. My wild guess is your v5 is writing to a different place

[weewx-user] Re: Error upgrading to v5.0

2024-01-17 Thread Marty b
I was able to figure out how to fix this. I had to delete the 'six.pyc' file in /usr/share/weewx/ . After doing that, the install was able to complete. Having some other issues now, but will create a new thread for them if I can't figure it out... On Wednesday, January 17, 2024 at 8:58:12 

[weewx-user] Integrate rain24 with Packetsloop

2024-01-17 Thread Remy Lavabre
Good morning, I created a [driver] for weewx to retrieve data from the Awekas API (my Bresser weather station does not have a USB port). This works but regarding the rain, it is not the instantaneous rain (from a packetloop) that we recover but the rain over 24 hours since midnight. Is there a

Re: [weewx-user] Database Error Message

2024-01-17 Thread sanphillipo
I changed it yesterday to 300 and it made no difference. Sent from my Verizon, Samsung Galaxy smartphone Original message From: Graham Eddy Date: 1/17/24 8:51 PM (GMT-05:00) To: WeeWX User Subject: Re: [weewx-user] Database Error Message maybe a bit short? ⊣GE⊢ On 18 Jan

Re: [weewx-user] Re: Weewx version 5 installation

2024-01-17 Thread vince
Under weewx-data/rsyslog there is a weewx.conf for rsyslog so just edit that as desired for where you want it to go before putting it into place and restarting rsyslog. On Wednesday, January 17, 2024 at 6:39:45 PM UTC-8 Kruse Ludington wrote: Since I could not figure out how to keep my

Re: [weewx-user] Re: Weewx version 5 installation

2024-01-17 Thread Kruse Ludington
An issue that someone here can help with - upgrade problem that made me revert back - ? I have a custom version of weewx that I attempoted to upgrade from 4.10.2 to 5.0.0. I simply used sudo apt update sudo apt upgrade then answered "no" to all the questions about keeping using the new

Re: [weewx-user] Database Error Message

2024-01-17 Thread Graham Eddy
maybe a bit short? ⊣GE⊢ > On 18 Jan 2024, at 11:55 am, Michael Sanphillipo > wrote: > > archive_interval = 120 -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email

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

2024-01-17 Thread Tom Keffer
I would guess that the driver is not calculating "rain" correctly. WeeWX uses "rain" for the values in the archive table and daily summaries. The WU uses some mysterious combination of "dayRain" and "hourRain" (they don't say) for rain totals. The driver calculates "rain" as the difference in

[weewx-user] Re: Web page will not refresh after update to 5.0

2024-01-17 Thread gjr80
Unfortunately the log extracts you have provided lack detail and are truncated and consequently of not much help. Please try again noting the advice in the *How to get a good, useful log* section of

[weewx-user] Re: Web page will not refresh after update to 5.0

2024-01-17 Thread Jim Wilkerson
Set debug=1 in /etc/weewx/weewx.conf (2) reports, 21:30 and 22:00 EST Attached are the requested outputs. The database appears to have been updated in the same place: /var/lib/weewx # ls -l total 22452 -rw-r--r-- 1 root root 22990848 Jan 17 22:00 weewx.sdb On Wednesday, January 17, 2024

Re: [weewx-user] I'm desperate to fix my NOAA reports. Can I please pay someone to help fix my database and recover this data?

2024-01-17 Thread Tom Keffer
Have you tried completely deleting all NOAA reports and letting weewx regenerate them? On Wed, Jan 17, 2024 at 9:32 AM Blaine wrote: > Way back in 2020 my NOAA reports stopped populating their daily values. > The average values for the month continue to be populated at the bottom of > the