Re: [weewx-user] Re: RSYNC port not working in weewx.conf ?

2022-01-02 Thread gjr80
It would help if you provided a longer log extract, four lines are better than one but it it is still a bit like looking down a straw :). So that we all have a complete picture could your restart WeeWX (keeping debug=1) and let it run for a couple of archive periods. Then post a log extract

Re: [weewx-user] Re: RSYNC port not working in weewx.conf ?

2022-01-02 Thread Chris Alemany
Still the same error essentially. Using the new code for both rsyncupload https://github.com/weewx/weewx/blob/68bf6c40332d37bdb7b2e81803edb4141fb9/bin/weeutil/rsyncupload.py and weather34 https://github.com/steepleian/weewx-Weather34/blob/development/user/weather34.py ). DEBUG log

Re: [weewx-user] working weewx 4.5.1 - errors after Ubuntu OS update

2022-01-02 Thread Eric K
*Thanks Vince and Rich for the pointers and advice.* It looks like the 2 biggest Ubuntu 21.04 changes that broke my setup were: 1. Python changed from 3.8 to 3.9 2. mosquitto changed from version 1.6 to 2.0 The fixes that worked: 1. reloading python3-paho-mqtt with command "sudo apt install

Re: [weewx-user] Re: lightning sensor made at home cheaply - WORKS!

2022-01-02 Thread vince
Perhaps he edited the file and forgot to stop+restart weewx ? Suggest trying: ps axu | grep weewx A typical output would look like: # ps axu | grep weewx | grep -v grep root 24655 41.2 39.2 165944 48372 ?Sl2021 5890:56 /usr/bin/python3 /home/weewx/bin/weewxd

Re: [weewx-user] Re: lightning sensor made at home cheaply - WORKS!

2022-01-02 Thread Silvio Schömann
*I set everything up all over again. Let's see if the error comes back.* bell...@gmail.com schrieb am Sonntag, 2. Januar 2022 um 19:52:40 UTC+1: > > Well, I’m stumped. These lines are saying ‘type = REPLACE_ME’ and not > ‘type = json’. > Jan 2 13:50:58 raspberrypi weewx[18487] CRITICAL

Re: [weewx-user] Re: RSYNC port not working in weewx.conf ?

2022-01-02 Thread Tom Keffer
The debug code will show you the parameters to the Popen() call that invokes rsync. Unfortunately, that's all you get. Still, it should be enough. What does it show now? -tk On Sun, Jan 2, 2022 at 9:02 AM Chris Alemany wrote: > I've updated the code in my rsyncupload.py file as well as a fix

Re: [weewx-user] Re: lightning sensor made at home cheaply - WORKS!

2022-01-02 Thread bell...@gmail.com
Well, I’m stumped. These lines are saying ‘type = REPLACE_ME’ and not ‘type = json’. Jan 2 13:50:58 raspberrypi weewx[18487] CRITICAL __main__: File "/home/weewx/bin/user/MQTTSubscribe.py", line 1294, in __init__ Jan 2 13:50:58 raspberrypi weewx[18487] CRITICAL __main__:

Re: [weewx-user] Re: lightning sensor made at home cheaply - WORKS!

2022-01-02 Thread Silvio Schömann
*Thanks for the quick reply Rich, I guess the guy can't be the reason. Here the conf setting* # Options for 'MQTTSubscribeService' [MQTTSubscribeService] enable = true host = localhost port = 1883 keepalive = 60 binding = loop #username = None #password = None

Re: [weewx-user] Re: RSYNC port not working in weewx.conf ?

2022-01-02 Thread Chris Alemany
I've updated the code in my rsyncupload.py file as well as a fix provided by weather34.py and it is still defaulting to port 22. https://github.com/steepleian/weewx-Weather34/blob/development/user/weather34.py Is there a way that I could temporarily have rsyncupload output the actual command it

Re: [weewx-user] Re: RSYNC port not working in weewx.conf ?

2022-01-02 Thread Tom Keffer
Fixed in commit 68bf6c4 , to appear in V4.6. On Sun, Jan 2, 2022 at 4:52 AM Tom Keffer wrote: > So, it sounds like there are two problems: the weewx code does not include > quotes around the -e argument, and the

Re: [weewx-user] Re: lightning sensor made at home cheaply - WORKS!

2022-01-02 Thread bell...@gmail.com
Looks like you did not configure the message ‘type’. See, https://github.com/bellrichm/WeeWX-MQTTSubscribe/wiki/Configuring#type rich On Sunday, 2 January 2022 at 07:54:14 UTC-5 silvio.sch...@gmx.de wrote: > *Unfortunately I can't find the error why it's an invalid type.* Thanks > for the help

Re: [weewx-user] Re: lightning sensor made at home cheaply - WORKS!

2022-01-02 Thread Silvio Schömann
*Unfortunately I can't find the error why it's an invalid type.* Thanks for the help Jan 2 13:50:58 raspberrypi weewx[18487] DEBUG user.MQTTSubscribe: (Service) TopicManager self.cached_fields is {} Jan 2 13:50:58 raspberrypi weewx[18487] INFO user.MQTTSubscribe: (Service)

Re: [weewx-user] Re: RSYNC port not working in weewx.conf ?

2022-01-02 Thread Tom Keffer
So, it sounds like there are two problems: the weewx code does not include quotes around the -e argument, and the weather34 code doesn't honor the port spec at all. I'll create a patch for the weewx code later today. Looked through the weather34 code. It could use a big refactor to leverage some