Hi, I need urgent help. I would like to use an SDR stick to intercept my
weather station, a WH3080, to show external sensor data on the internal
portal to my network. I found some problems to do this.
The stick SDR works manually as you can see below:
Sudo PYTHONPATH = / usr / share / weewx python /usr/share/weewx/user/sdr.py
--cmd "rtl_433 -q -U -F json -R32"
As a result:
Out ": 0," id ": 173," id ": 0," id "," msg_type ":" "Temperature_C":
33.700, "humidity": 107, "direction_str": "NNE", "direction_deg": "23",
"speed": 20 .808, "gust": 312.120, "rain": 921.600, "battery ":" OK "} \ n
']
Out ": 0," id ": 236," id ": 0," id ": 236," id: Temperature ": 24.300,"
humidity ": 45," direction_str ":" W "," direction_deg ":" 270 "," speed ":
3.672," gust ": 6.120," rain ": 525.300, OK "} \ n ',' {" time ":"
2017-05-15 09:56:08 "," Model ":" Fine Offset Electronics WH3080 Weather
Station "," msg_type ": 2," uv_sensor_id ": 225 , "Uv", "uv_index": 8,
"lux": 120032.398, "wm": 175.743, "fc": 11155.428} \ n ',' {"time":
"2017-05-15 09 , "Uv_sensor_id": 225, "uv_status": "OK", "uv_index": 8,
"lux": 120032.398 ": 56: 08", "model": "Fine Offset Electronics WH3080
Weather Station" , "Wm": 175.743, "fc": 11155.428} \ n ']
Doing this with the rtl-433 command:
2017-05-15 11:58:08: Fine Offset Electronics WH3080 Weather Station
Msg type: 2
UV Sensor ID: 225
Sensor Status: OK
UV Index: 8
Lux: 120160.5
Watts / m: 175.93
Foot-candles: 11167.33
2017-05-15 11:58:31: Fine Offset Electronics WH1080 / WH3080 Weather Station
Msg type: 0
Station ID: 236
Temperature: 23.9 ° C
Humidity: 48%
Wind string: NE
Wind degrees: 45
Wind Avg Speed: 1.22
Wind gust: 2.45
Total rainfall: 525.3
Battery: OK
2017-05-15 12:04:48: Fine Offset Electronics WH1080 / WH3080 Weather Station
Msg type: 1
Station ID: 173
Signal Type: WWVB / MSF
Hours: 21
Minutes: 71
Seconds: 11
Year: 2165
Month: 25
Day: 70
Now the problem arises, in my weewx.conf is listed SDR as the default
driver and the map is this:
##################################################
############################
[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
[[Sensor_map]]
WindGust = wind_gust.236.FOWH1080Packet
OutBatteryStatus = battery.236.FOWH1080Packet
Rain_total = rain_total.236.FOWH1080Packet
WindSpeed = wind_speed.236.FOWH1080Packet
WindDir = wind_dir.236.FOWH1080Packet
OutHumidity = humidity.236.FOWH1080Packet
OutTemp = temperature.236.FOWH1080Packet
But loading weewx me from this error and it does not work:
May 15 07:14:28 orangepilite weewx [719]: import of driver failed: failed
to start process: [Errno 2] No such file or directory (<class ... Error '>)
May 15 07:14:28 orangepilite weewx [719]: engine: Unable to load driver:
failed to start process: [Errno 2] No such file or directory
May 15 07:14:28 orangepilite weewx [719]: **** Exiting ...
May 15 12:02:27 orangepilite systemd [1]: Started LSB: weewx weather system.
Hint: Some lines were ellipsized, use -l to show in full.
I also wanted to ask if the map I made is correct, in fact I see 3
sections. The first with ID 225, the second with ID 236 and the third with
ID 173
--
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.