Ok, so i discovered that the Acurite 5n1 was reporting in km/h (for 
example, 10km/h) and it was uploading to windGuru the same number of 10 - 
but windGuru was displaying that as knots, which is incorrect. I tried 
whatever i could but nothing changed this behaviour. So i went to the 
station, unplugged it and brought home the pi and the acurite. I did a 
fresh install of everything and now i can't get it working.

To confirm:

   - I have a fresh install of the latest Raspberry Pi OS on my Pi 4.
   - I have installed rtl_433, rtl-sdr and weewx and weewx-sdr driver
   - I have installed weewx windguru
   - When i set station type to "Simulator" - weewx runs, the reports work 
   via a web browser and windGuru gets updated with a value of 0.
   - When i directly run (rtl_433) and (sudo PYTHONPATH=/usr/share/weewx 
   python /usr/share/weewx/user/sdr.py --cmd="rtl_433 -M utc -F json") both of 
   those commands work and return an output of the data received from the 
   sensor. Image 
   here: https://www.dropbox.com/s/snlakmjitoqbzqh/weewx_01.png?dl=0
   - Based on the reading i have received from the above, i have created a 
   sensor map. You can see the weewx.conf here: 
   https://www.dropbox.com/s/28b7a3nqr6559ax/weewx.conf.txt?dl=0
   - I change the station type to SDR and i reboot - weewx starts and gives 
   this output in the log file: 
   https://www.dropbox.com/s/td34j078u0u8kr4/weewx_02.png?dl=0 - interesting 
   that if i add log_unknown_sensors = True and log_unmapped_sensors = True to 
   the SDR section of weewx.conf i notice that the readings which are matching 
   the sensor map are classified under 'unmapped' and 'unidentified' sensors. 
   I find that very odd because when i run the driver directly (point 4 above) 
   that exact line of code is returning values that match the sensor map while 
   the same code when run via weewx (via weewx.conf) is ignoring that data 
   because it doesn't understand it.
   - I leave it to run for an hour but nothing is every published to 
   windGuru. And no reports are visible via browser when i open [the pi's IP 
   address]/weewx - here is the 
   log: https://www.dropbox.com/s/my6xu6wraba9u7c/weewx.log?dl=0
   - I had a spare SDR dongle which tried, incase the SDR dongle is 
   tripping. No difference.
   - When i change station type from SDR back to Simulator - it publishes 
   an amount of 0 to windGuru - this tells me that the SDR driver, whilst 
   being able to see the data transmitted by the acurite5n1, it is not 
   understanding it. I have removed the batteries and tried to force change 
   the channels on the acurite hoping that a cycling of the power may fix a 
   bad transmission.

I have officially tried everything and can't think of any reason why this 
is not working. Any ideas?

Much appreciated,

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/67fd6af0-a7f2-4e49-9f07-0d86db6ae2deo%40googlegroups.com.

Reply via email to