After hours of fiddling, it is still not working. When i change 'station_type' to Simulator, it starts publishing 0 to windGuru. So that element is working. https://www.windguru.cz/station/2146
As soon as i change 'station_type' back to SDR it stops publishing. When i run sudo rtl_433 -M utc -F json from terminal, it works and i see the sensor being read. But this same code inside weewx does not seem to be performing properly because it obviously doesn't publish. Before i go ahead and format the SD and start again, can anyone help me with the process to completely remove rtl_433 and rtl_sdr so that i can do a fresh install. Perhaps something has gone wrong with these 2 elements and they are not performing correctly. BTW, i added log_unknown_sensors = True and log_unmapped_sensors = True to the [SDR] section of the weewx.conf and this is the output - https://www.dropbox.com/s/n2gwwslqcbwchlj/weewx_03.log?dl=0 Thanks, Sean. On Sunday, May 17, 2020 at 4:14:30 PM UTC+4, Sean Jahnig wrote: > > Hi, > > I have a weewx installation running on a RPi and connected to an acurite 5 > in 1 using SDR. It has been working well for a long time but suddenly now > it is offline and i can't figure out why. I hadn't updated the RPi for a > long time so i ran apt-get update and apt-get upgrade but no difference. > The RPi is online and it can successfully ping google.com so there is > internet connectivity. > > I have run the below which manually runs the SDR driver and i do get a > response from the sensor which proves it is working. The identifier is 0A0A > which is correct in the weewx.conf file. > > sudo PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/sdr.py > --cmd="rtl_433 -M utc -F json -G" > > You can see the log here with debug set to 1. > https://www.dropbox.com/s/my6xu6wraba9u7c/weewx.log?dl=0 > > This is the link to the station which is now offline: > https://www.windguru.cz/station/2146 > > When i run sudo service weewx status the below is what i get. It seems > like everything is working except for the part where weewx 'generates a > report' / 'added a record', that doesn't seem to be happening. > > *●* weewx.service - LSB: weewx weather system > > Loaded: loaded (/etc/init.d/weewx; generated) > > Active: *active (running)* since Sun 2020-05-17 15:59:38 +04; 10min ago > > Docs: man:systemd-sysv-generator(8) > > Process: 1784 ExecStart=/etc/init.d/weewx start (code=exited, > status=0/SUCCESS) > > Tasks: 9 (limit: 1599) > > Memory: 13.8M > > CGroup: /system.slice/weewx.service > > ├─1802 python2 /usr/share/weewx/weewxd --daemon > --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf > > ├─1806 sudo rtl_433 -M utc -F json > > └─1813 rtl_433 -M utc -F json > > > May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.restx: > PWSweather: Posting not enabled. > > May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.restx: > CWOP: Posting not enabled. > > May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.restx: > WOW: Posting not enabled. > > May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.restx: > AWEKAS: Posting not enabled. > > May 17 15:59:39 raspberrypi weewxd[1802]: restx: WindGuru: service version > is 0.1 > > May 17 15:59:39 raspberrypi weewxd[1802]: restx: WindGuru: Data will be > uploaded for 10002 > > May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO __main__: > Starting up weewx version 4.0.0 > > May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.engine: > Using binding 'wx_binding' to database 'weewx.sdb' > > May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.manager: > Starting backfill of daily summaries > > May 17 15:59:39 raspberrypi python2[1802]: weewx[1802] INFO weewx.engine: > Starting main packet loop. > > > Does anyone have any suggestions? > > > Thanks, > > Sean. > -- 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/eeaa29fd-e02b-4057-a1d9-b07285ce9245%40googlegroups.com.