HI Ive got a Very old WeeWx install of 3.9 I think, and one day it just stopped receiving my SDR data. Ive tried to fix it but Im feel like Im running in circles. I cant seem to get the Deamon to stop running the Weewx even through sigkill, /etc/init.d/ stop, to systemctl stop functions. I just looked at my system log and its being flooded by this repeating pattern
Oct 7 08:21:29 raspberrypi weewxd: crt: binding is loop Oct 7 08:21:31 raspberrypi weewxd: crt: service version is 0.18 Oct 7 08:21:31 raspberrypi weewxd: crt: output goes to /var/tmp/realtime.txt Oct 7 08:21:31 raspberrypi weewxd: crt: 'None' values will be displayed as NULL Oct 7 08:21:31 raspberrypi weewxd: crt: zambretti forecast: False Oct 7 08:21:31 raspberrypi weewxd: crt: binding is loop Oct 7 08:21:41 raspberrypi weewxd: crt: service version is 0.18 Oct 7 08:21:41 raspberrypi weewxd: crt: output goes to /var/tmp/realtime.txt Oct 7 08:21:41 raspberrypi weewxd: crt: 'None' values will be displayed as NULL Oct 7 08:21:41 raspberrypi weewxd: crt: zambretti forecast: False Oct 7 08:21:41 raspberrypi weewxd: crt: binding is loop I have a Rasp Pi 3, with PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" I have an SDR running, with Belchertown Skin. It was built years ago, and had been running fine. I had a long time ago issues with getting the deamon running, but had fixed it, I think with the weewx script, but nothing in my Cron tab about starting it, so I must have made a very agressive restart in the script. My systemctl status is: ● weewx.service - LSB: weewx weather system Loaded: loaded (/etc/init.d/weewx; generated; vendor preset: enabled) Active: inactive (dead) since Mon 2024-10-07 08:38:22 EDT; 29min ago Docs: man:systemd-sysv-generator(8) Process: 28309 ExecStop=/etc/init.d/weewx stop (code=exited, status=0/SUCCESS) Process: 23138 ExecStart=/etc/init.d/weewx start (code=exited, status=0/SUCCESS) Tasks: 17 (limit: 4915) CGroup: /system.slice/weewx.service ├─10880 python2 /usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf ├─14057 python2 /usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf ├─14934 python2 /usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf ├─14994 python2 /usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf ├─15062 python2 /usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf ├─15134 python2 /usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf ├─15207 python2 /usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf ├─15445 python2 /usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf ├─15706 python2 /usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf ├─23166 python2 /usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf └─29142 rtl_433 -M utc -F json -R 78 -R 113 -f 91503000 -Y classic Oct 07 09:07:42 raspberrypi python2[14934]: weewx[14934] INFO weewx.manager: Starting backfill of daily summaries Oct 07 09:07:42 raspberrypi python2[14994]: *weewx[14994] CRITICAL __main__: Caught WeeWxIOError: rtl_433 process is not running* Oct 07 09:07:42 raspberrypi python2[14934]: weewx[14934] INFO weewx.manager: Daily summaries up to date Oct 07 09:07:42 raspberrypi python2[14994]: *weewx[14994] CRITICAL __main__: **** Waiting 60 seconds then retrying...* Oct 07 09:07:42 raspberrypi python2[14934]: weewx[14934] INFO weewx.engine: Starting main packet loop. Oct 07 09:07:45 raspberrypi python2[14934]: *weewx[14934] ERROR user.sdr: err: []* Oct 07 09:07:45 raspberrypi python2[14934]: weewx[14934] INFO weewx.engine: Main loop exiting. Shutting engine down. Oct 07 09:07:45 raspberrypi python2[14934]: weewx[14934] INFO user.sdr: shutdown process rtl_433 -M utc -F json -R 78 -R 113 -f 91503000 -Y classic Oct 07 09:07:45 raspberrypi python2[14934]: *weewx[14934] CRITICAL __main__: Caught WeeWxIOError: rtl_433 process is not running* Oct 07 09:07:45 raspberrypi python2[14934]: *weewx[14934] CRITICAL __main__: **** Waiting 60 seconds then retrying...* Id post more of the syslog but its just thousands to repeating "zambretti forecast: False" errors Im happy to post any logs. Weewx is installed in /etc/weewx/ I haven't made any modifications to the .conf file other than edits to the packet names to see if I can get it to find the devices again. For a short time last week it was running but only picking up my 1 sensor - so I adjusted that. I did reinstall RTL_433 and RTL_SDR - If I try to Run the SDR directly, I do get an error: PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/sdr.py --cmd="rtl_433 -M utc -F json -f 915000000" err:rtl_433 version -129-NOTFOUND branch master at 202410011102 inputs file rtl_tcp RTL-SDR then it tells me there is a USB claim error, which if I unplug and replug at the right time I can get it to work.. but weewx is running in the background. -- 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 to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/e9d8a82a-f731-42a3-bbf6-96cba99f5ca2n%40googlegroups.com.