Hello!
After long work with setting weewx with sdr I had to add to configuration 
path for rtl_433(running ubuntu 14.04). It started working and I discovered 
that weewx doesnt support my outside temp/humidity sensor.
Json format output from it
{"time" : "2019-09-25 17:15:12", "model" : "TFA-Twin-Plus-30.3049", "id" : 
13, "channel" : 1, "battery" : "OK", "temperature_C" : 8.400, "humidity" : 
91, "mic" : "CHECKSUM"}
For somebody tring to tune weewx
my addons for weewx.conf(/etc/weewx/weewx.conf)
[SDR]
    # This section is for the software-defined radio driver.
    
    # The driver to use
    driver = user.sdr
    cmd = rtl_433 -g 19.7 -p -100 -f 433920000 -M utc -F json
    path = /usr/local/bin
    ld_library_path = /usr/share/weewx/lib:/home/andy/rtl-sdr/build/src
    log_unknown_sensors = True
    log_unmapped_sensors = True
    


and path settings running sdr.py with python wich finally worked

sudo PYTHONPATH=/usr/share/weewx python /etc/weewx/bin/user/sdr.py 
--cmd="rtl_433 -g 19.7 -p -100 -f 433920000 -M utc -F json -R 31"

Best Wishes!
Andy

-- 
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/ae80bea5-5e06-46cf-94f1-5fa59f1dd990%40googlegroups.com.

Reply via email to