Impossible to say without seeing the log, there are many reasons why an SDR driven system gives no data. I suggest you edit weewx.conf, set debug = 1, save weewx.conf and restart WeeWX. Let WeeWX run for a couple of archive intervals and take a log extract showing the full WeeWX startup through until the end of the two archive intervals. Post the log extract here.
Gary On Monday, 7 June 2021 at 20:00:18 UTC+10 [email protected] wrote: > I have a similar setup, done in May, and I have similar lack of data. It > worked from Nov to April, but I wanted to change from a > workstation-with-GUI to a Headless-Server, so I started again, and > apparently messed it up. (I kept weewx.conf) > > RTl-433 works, generating sensible output like Matthew Wall described. > SDR.py runs ok for a while but then it starts writing many lines like this, > which I cannot understand. > err:b’ ‘ > > Tomorrow I will check my “environment” as I might have put either RTl-433 > or RTl-sdr or both directory in the wrong place. How would I know, as I > didn’t see any specific instruction. And I don’t know where sdr.py came > from, or where it should be. > On Tuesday, 25 May 2021 at 10:43:07 UTC+10 [email protected] wrote: > >> I am having trouble getting weewx to do anything with the data from my >> SDR configured extension (sdr.py). I have had this running before on my >> Raspberry PI 4B running Buster Raspbian OS but lost all my data through >> some errant behaviour of an attempted install of other software. >> >> My weather station is a Digitech XC0434 Wireless, no USB or Ethernet but >> the sensors transmit on 917MHz. >> >> I re-installed all pre-requisites and installed weewx via python3 >> ./setup.py build and sudo python3 ./setup.py install as per >> http://weewx.com/docs/setup.htm. I installed rtl_433 and the weewx-sdr >> driver as per https://github.com/matthewwall/weewx-sdr. >> >> Running the rtl_433 -f 917M -M utc -F json command reveals: >> >> {"time" : "2021-05-24 22:52:14", "model" : "Bresser-6in1", "id" : >> 432013605, "channel" : 0, "battery_ok" : 1, "temperature_C" : 63.400, >> "humidity" : 89, "sensor_type" : 1, "wind_max_m_s" : 2.600, "wind_avg_m_s" >> : 2.600, "wind_dir_deg" : 112, "mic" : "CRC"} >> >> running sudo PYTHONPATH=bin python bin/user/sdr.py --cmd="rtl_433 -f 917M >> -M utc -F json" shows: >> >> out:[u'{"time" : "2021-05-24 22:53:26", "model" : "Bresser-6in1", "id" : >> 432013605, "channel" : 0, "battery_ok" : 1, "temperature_C" : 63.400, >> "humidity" : 89, "sensor_type" : 1, "wind_max_m_s" : 5.000, "wind_avg_m_s" >> : 4.600, "wind_dir_deg" : 112, "mic" : "CRC"}\n'] >> parsed: {'wind_dir.432013605.Bresser6in1Packet': 112.0, >> 'gust_speed.432013605.Bresser6in1Packet': 5.0, >> 'wind_speed.432013605.Bresser6in1Packet': 4.6, 'dateTime': 1621896806, >> 'temperature.432013605.Bresser6in1Packet': 63.4, >> 'humidity.432013605.Bresser6in1Packet': 89.0, 'usUnits': 17} >> >> So thus far all seems well. >> >> My sdr.py, syslog and weewx.conf are attached, I do (and have >> successfully) uploaded to WU and my MySQL database using this configuration >> before. >> >> In summary running weewx either as a daeomon or via weewxd the result is >> always as per the syslog despite minor tweaks to the sdp.py for parsing >> issues or weewx.conf for config settings. >> >> Any pointers to my error would be much appreciated. >> >> -- 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/b631fd03-6f38-4c83-9bcb-a723a4ef750en%40googlegroups.com.
