Hello to everyone, I've already read some of the posts about weewx-sdr and
wh3080 but I haven't found a solution. I can retrieve all the data but not
UV and Rain Total, how I can investigate for found a solution?
Actually, I'm using SDR Driver version 0.47 and weewx version 3.8.2
Running driver directly the output of weewx-sdr is it:
out: ['{"time" : "2018-11-21 15:13:57", "model" : "Fine Offset Electronics
WH1080/WH3080 Weather Station", "msg_type" : 0, "id" : 201, "temperature_C"
: 10.000, "humidity" : 72, "direction_str" : "S", "direction_deg" : "180",
"speed" : 4.896, "gust" : 6.120, "rain" : 5.400, "battery" : "OK"}\n']
parsed: {'signal_type.201.FOWHx080Packet': 0,
'humidity.201.FOWHx080Packet': 72.0, 'day.201.FOWHx080Packet': None,
'year.201.FOWHx080Packet': None, 'wind_dir.201.FOWHx080Packet': 180.0,
'hours.201.FOWHx080Packet': None, 'seconds.201.FOWHx080Packet': None,
'dateTime': 1542813237, 'temperature.201.FOWHx080Packet': 10.0,
'battery.201.FOWHx080Packet': 0, 'month.201.FOWHx080Packet': None,
'msg_type.201.FOWHx080Packet': 0, 'minutes.201.FOWHx080Packet': None,
'wind_speed.201.FOWHx080Packet': 4.896, 'rain_total.201.FOWHx080Packet':
5.4, 'usUnits': 16, 'wind_gust.201.FOWHx080Packet': 6.12}
out: ['{"time" : "2018-11-21 15:14:16", "model" : "Fine Offset Electronics
WH3080 Weather Station", "msg_type" : 2, "uv_sensor_id" : 95, "uv_status" :
"OK", "uv_index" : 1, "lux" : 1771.000, "wm" : 2.593, "fc" : 164.591}\n',
'{"time" : "2018-11-21 15:14:16", "model" : "Fine Offset Electronics WH3080
Weather Station", "msg_type" : 2, "uv_sensor_id" : 95, "uv_status" : "OK",
"uv_index" : 1, "lux" : 1771.000, "wm" : 2.593, "fc" : 164.591}\n',
'{"time" : "2018-11-21 15:14:16", "model" : "Fine Offset Electronics WH3080
Weather Station", "msg_type" : 2, "uv_sensor_id" : 95, "uv_status" : "OK",
"uv_index" : 1, "lux" : 1771.000, "wm" : 2.593, "fc" : 164.591}\n']
parsed: {'radiation.95.FOWH3080Packet': 2.593,
'uv_status.95.FOWH3080Packet': 0, 'luminosity.95.FOWH3080Packet': 1771.0,
'uv_index.95.FOWH3080Packet': 1.0, 'dateTime': 1542813256,
'illumination.95.FOWH3080Packet': 164.591, 'usUnits': 16,
'msg_type.95.FOWH3080Packet': 2}
in my weewx.conf there is:
station_type = SDR
[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 32
path = /usr/local/bin
ld_library_path = /usr/local/lib
[[sensor_map]]
windGust = wind_gust.201.FOWHx080Packet
outBatteryStatus = battery.201.FOWHx080Packet
rain_total = rain_total.201.FOWHx080Packet
windSpeed = wind_speed.201.FOWHx080Packet
windDir = wind_dir.201.FOWHx080Packet
outHumidity = humidity.201.FOWHx080Packet
outTemp = temperature.201.FOWHx080Packet
uv = uv_index.95.FOWH3080Packet
radiation = radiation.95.FOWH3080Packet
SYSLOG:
raspberrypi weewx[445]: sdr: MainThread: driver version is 0.47
Nov 21 17:37:25 raspberrypi weewx[445]: sdr: MainThread: sensor map is
{'windGust': 'wind_gust.201.FOWHx080Packet', 'outBatteryStatus':
'battery.201.FOWHx080Packet', 'rain_total':
'rain_total.201.FOWHx080Packet', 'windSpeed':
'wind_speed.201.FOWHx080Packet', 'windDir': 'wind_dir.201.FOWHx080Packet',
'outHumidity': 'humidity.201.FOWHx080Packet', 'outTemp':
'temperature.201.FOWHx080Packet', 'uv': 'uv_index.95.FOWH3080Packet',
'radiation': 'radiation.95.FOWH3080Packet'}
Nov 21 17:37:25 raspberrypi weewx[445]: sdr: MainThread: deltas is
{'strikes': 'strikes_total', 'rain': 'rain_total'}
Nov 21 17:37:25 raspberrypi weewx[445]: sdr: MainThread: startup process
'rtl_433 -q -U -F json -R 32'
Nov 21 17:37:25 raspberrypi weewx[445]: engine: StdConvert target unit is
0x1
Nov 21 17:37:25 raspberrypi weewx[445]: wxcalculate: The following values
will be calculated: barometer=prefer_hardware, windchill=prefer_hardware,
dewpoint=prefer_hardware, appTemp=prefer_hardware,
rainRate=prefer_hardware, windrun=prefer_hardware,
heatindex=prefer_hardware, maxSolarRad=prefer_hardware,
humidex=prefer_hardware, pressure=prefer_hardware,
inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware,
cloudbase=prefer_hardware
Nov 21 17:37:25 raspberrypi weewx[445]: wxcalculate: The following
algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Nov 21 17:37:25 raspberrypi weewx[445]: engine: Archive will use data
binding wx_binding
Nov 21 17:37:25 raspberrypi weewx[445]: engine: Record generation will be
attempted in 'hardware'
Nov 21 17:37:25 raspberrypi weewx[445]: engine: Using archive interval of
300 seconds (specified in weewx configuration)
Nov 21 17:37:25 raspberrypi weewx[445]: engine: Using binding 'wx_binding'
to database 'weewx.sdb'
--
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.