Hi,
I've got a weewx installation using a DVB dongle and the SDR driver to
get data from a bunch of Oregon Scientific sensors. But I'm having
problems making weewx recognize some values.
Weewx, using the SDR driver, receives data from a few THGR810
(temp/humidity), one WGR800 (anomometer), one PCR800 (rain gauge), and
a UV800 (UV sensor), so the weewx installation and the SDR driver is
working.
Looking at the html report that weewx has generated, I see I'm missing
some things:
* I have values and graphs from all three THGR810, but I'm missing
battery status from one of them (id 212).
* From my PCR800 I have "Rain Rate" statistics, but not "Rain". I also
have battery status, but I'm missing graphs.
* Wind (WGR800) and UV (UV800) both appear to be working 100%. Values,
graphs, and battery status.
Here's the SDR section from my config file:
[SDR]
driver = user.sdr
cmd = rtl_433 -M time:unix -F json -R 12
[[sensor_map]]
inTemp = temperature.3:218.OSTHGR810Packet
inHumidity = humidity.3:218.OSTHGR810Packet
inTempBatteryStatus = battery.3:218.OSTHGR810Packet
outTemp = temperature.1:166.OSTHGR810Packet
outHumidity = humidity.1:166.OSTHGR810Packet
outTempBatteryStatus = battery.1:166.OSTHGR810Packet
extraTemp1 = temperature.2:212.OSTHGR810Packet
extraHumid1 = humidity.2:212.OSTHGR810Packet
extraBatteryStatus1 = battery.2:212.OSTHGR810Packet
rainRate = rain_rate.0:144.OSPCR800Packet
rain = rain_total.0:144.OSPCR800Packet
rainBatteryStatus = battery.0:144.OSPCR800Packet
windDir = wind_dir.0:246.OSWGR800Packet
windGust = wind_gust.0:246.OSWGR800Packet
windSpeed = wind_speed.0:246.OSWGR800Packet
windBatteryStatus = battery.0:246.OSWGR800Packet
UV = uv_index.1:58.OSUV800Packet
uvBatteryStatus = battery.1:58.OSUV800Packet
A sample run of rtl_433 to check that the DVB dongle can receive
signals (only one line per sensor included):
pi:~$ sudo rtl_433 -M time:unix -F json -R 12
rtl_433 version 22.11 (2022-11-19) inputs file rtl_tcp RTL-SDR SoapySDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/root/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...
Registered 1 out of 223 device decoding protocols [ 12 ]
Found Rafael Micro R820T tuner
Exact sample rate is: 250000.000414 Hz
[R82XX] PLL not locked!
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
Allocating 15 zero-copy buffers
{"time" : "1722101552", "model" : "Oregon-THGR810", "id" : 166,
"channel" : 1, "battery_ok" : 1, "temperature_C" : 14.500, "humidity"
: 95}
{"time" : "1722101557", "model" : "Oregon-PCR800", "id" : 144,
"channel" : 0, "battery_ok" : 1, "rain_rate_in_h" : 0.000, "rain_in" :
8.965}
{"time" : "1722101572", "model" : "Oregon-WGR800", "id" : 246,
"channel" : 0, "battery_ok" : 1, "wind_max_m_s" : 1.100,
"wind_avg_m_s" : 0.500, "wind_dir_deg" : 112.500}
{"time" : "1722101577", "model" : "Oregon-THGR810", "id" : 212,
"channel" : 2, "battery_ok" : 1, "temperature_C" : 12.500, "humidity"
: 98}
{"time" : "1722101580", "model" : "Oregon-UV800", "id" : 58, "channel"
: 1, "battery_ok" : 1, "uv" : 0}
{"time" : "1722101610", "model" : "Oregon-THGR810", "id" : 218,
"channel" : 3, "battery_ok" : 1, "temperature_C" : 18.400, "humidity"
: 57}
So I'm guessing there's some problem with my sensor_map.
Running WeeWX version 5.1.0, with the Seasons version 4.10.2 skin.
Anyone got any tips on how to troubleshoot this one?
--
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/CACMiE7rz4t%3DJgm5W4HoCroCU_Qtb%3DGfirQC5GoHq3fJ%2BF%3DmENA%40mail.gmail.com.