Hi,

My station has been running weewx + rt_sdr for a year and all is working 
well. Weewx receives the station data and broadcasts it to windguru. 
However, there is an occasional problem that happens and i can't figure out 
what the cause is. All of a sudden, rtl_433 stops receiving from the sensor 
for hours at a time.

During those periods, when i run: 
*sudo tail -f /var/log/weewx.log*

All i see is:
*user.sdr: lines=[]*

If you leave it, it eventually comes back online itself. I can confirm that 
during that time there was no loss of power or internet - because i can 
still connect to the pi and manage it. Also, weather station has new 
batteries, so that is not the problem. I have a feeling that the problem is 
happening with the realtek SDR dongle. Because a power reset sometimes 
fixes the problem - and a physical removal of the USB dongle into a 
different USB port seems to fix the problem immedaitely.

I've even tried a python script to eject the USB device which also seems to 
help. But in order to do this i first need to disable rtl_433 in the 
weewx.conf, then reboot, then run rtl_433 on its own until it sees the 
sensor, then re-enable rtl_433 in weewx.conf and reboot. That is usually 
the process to fix it immediately, so it definitely feels to me like a 
software issue.

Any ideas?

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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/fbd66625-0ca8-42e3-b250-805b7e1ea228n%40googlegroups.com.

Reply via email to