Hi, I've got an Oregon Scientific lw301 that I've fed to Weewx using the
Interceptor driver for some months now with no issues.
However, a few weeks ago their server decided to take a vacation and thus
Weewx has not been getting any data.
So, I decided that I might as well bypass them alltogether and ordered a
DVD-T receiver to pick up the data straight from the sensors.
It's gone sorta half-good, half stonewall. I have 2 temp sensors (THGR810)
that work fine, however I can't get the wind (WGR800) and the rain (PCR800)
sensors to be recognized.
>From rtl_sdr I have the following from the sensors:
2018-08-03 15:48:38 : OS : WGR800
House Code: 93
Channel: 0
Battery: OK
Gust: 0.7 m/s
Average: 0.9 m/s
Direction: 247.5 degrees
OSWGR800Packet(Packet)
2018-08-03 15:48:38 : OS : PCR800
House Code: 236
Channel: 0
Battery: OK
Rain Rate: 0.0 in/hr
Total Rain: 109.6 in
OSPCR800Packet(Packet)
2018-08-03 15:48:08 : OS : THGR810
House Code: 172
Channel: 1
Battery: OK
Celsius: 29.70 C
Humidity: 41 %
OSTHGR810Packet(Packet)
2018-08-03 15:47:46 : OS : THGR810
House Code: 245
Channel: 2
Battery: OK
Celsius: 35.90 C
Humidity: 44 %
The part relating to sdr in weewx.conf:
[SDR]
# This section is for the software-defined radio driver.
# The driver to use
driver = user.sdr
cmd = rtl_433 -q -U -F json -R 12
[[sensor_map]]
windDir = wind_dir.0:93.OSWGR800Packet
windGust = wind_gust.0:93.OSWGR800Packet
windSpeed = wind_speed.0:93.OSWGR800Packet
windBatteryStatus = battery.0:93.OSWGR800Packet
inTemp = temperature.2:245.OSTHGR810Packet
inHumidity = humidity.2:245.OSTHGR810Packet
inTempBatteryStatus = battery.2:245.OSTHGR810Packet
outTemp = temperature.1:172.OSTHGR810Packet
outHumidity = humidity.1:172.OSTHGR810Packet
outTempBatteryStatus = battery.1:172.OSTHGR810Packet
rainRate = rain_rate.0:236.OSPCR800Packet
rain = rain_total.0:236.OSPCR800Packet
rainBatteryStatus = battery.0:236.OSPCR800Packet
# log_unknown_sensors = True
# log_unmapped_sensors = True
Running weewx it spits out for wind:
Aug 4 17:29:22 raspberrypi weewx[9868]: sdr: MainThread: lines=['{"time" :
"2018-08-04 15:29:19", "brand" : "OS", "model" : "WGR800", "id" : 93,
"channel" : 0, "battery" : "OK", "gust" : 0.700, "average" : 1.000,
"direction" : 315.000}\n']
Aug 4 17:29:22 raspberrypi weewx[9868]: sdr: MainThread: punt unrecognized
line '{"time" : "2018-08-04 15:29:19", "brand" : "OS", "model" : "WGR800",
"id" : 93, "channel" : 0, "battery" : "OK", "gust" : 0.700, "average" :
1.000, "direction" : 315.000}#012'
for rain:
Aug 4 17:29:30 raspberrypi weewx[9868]: sdr: MainThread: lines=['{"time" :
"2018-08-04 15:29:27", "brand" : "OS", "model" : "PCR800", "id" : 236,
"channel" : 0, "battery" : "OK", "rain_rate" : 0.000, "rain_total" :
109.594}\n']
Aug 4 17:29:30 raspberrypi weewx[9868]: sdr: MainThread: punt unrecognized
line '{"time" : "2018-08-04 15:29:27", "brand" : "OS", "model" : "PCR800",
"id" : 236, "channel" : 0, "battery" : "OK", "rain_rate" : 0.000,
"rain_total" : 109.594}#012'
and for temp (the sensor type that works):
Aug 4 17:29:41 raspberrypi weewx[9868]: sdr: MainThread: lines=['{"time" :
"2018-08-04 15:29:38", "brand" : "OS", "model" : "THGR810", "id" : 245,
"channel" : 2, "battery" : "OK", "temperature_C" : 30.300, "humidity" :
57}\n']
Aug 4 17:29:41 raspberrypi weewx[9868]: sdr: MainThread:
packet={'dateTime': 1533396578, 'inHumidity': 57.0, 'inTemp': 30.3,
'usUnits': 16, 'inTempBatteryStatus': 0}
Since I have 2 out of 4 sensors working, it feels like I messed up the
sensor_map, but not sure how.
I'm pretty useless on programming, so would appreciate any help.
--
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].
For more options, visit https://groups.google.com/d/optout.