weewx-sdr can't parse Oregon Scientific UVR128

75 views
Skip to first unread message

Rogene T.

unread,
Nov 5, 2019, 3:49:39 PM11/5/19
to weewx-user
Hi everyone,

I recently got WeeWx running with SDR, using the 'recipe' located here:  https://github.com/weewx/weewx/wiki/sdr-rpi-recipe
I'm successfully capturing and publishing data from 3 different sensors.  

Recently, I added an Oregon Scientific UVR128 sensor.  RTL_433 added support in 2018. It appears correctly when looking at output from RTL_433.

I ran this command to obtain the sensor name for mapping:
sudo PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/sdr.py --cmd="rtl_433 -M utc -F json -G"

It gives me an output line:

out: ['{"time" : "2019-11-05 07:07:07", "model" : "Oregon Scientific UVR128", "id" : 116, "uv" : 0, "battery" : "OK"}\n']

But it is not followed by a "parsed:" line.

Any help would be appreciated!

-R

Rogene T.

unread,
Nov 6, 2019, 1:57:09 AM11/6/19
to weewx-user
Seems this is an issue for the weewx-sdr driver, not WeeWx.  I'll post the question on the weewx-sdr github.
Message has been deleted
Message has been deleted

Rogene T.

unread,
Nov 26, 2019, 3:57:53 PM11/26/19
to weewx-user
I successfully added parsing for the UVR128 to the weewx-sdr driver on GitHub.  WeeWx is now storing and reporting UV index from this sensor.

I hope to have it reviewed and merged back into the main repo soon.

-R

mwall

unread,
Dec 1, 2019, 1:42:47 PM12/1/19
to weewx-user
added to weewx-sdr at commit 27eadb9
Reply all
Reply to author
Forward
0 new messages