Hi,

Looking through your log it appears that the SDR driver is reading hte data 
from your station but does not recognise the model *Fine Offset Electronics 
WH1080/WH3080 Weather Station* eg:

May 15 19:21:10 localhost weewx[674]: sdr: MainThread: lines=['{"time" : 
"2017-05-15 17:21:07", "model" : "Fine Offset Electronics WH3080 Weather 
Station", "msg_type" : 2, "uv_sensor_id" : 225, "uv_status" : "OK", 
"uv_index" : 1, "lux" : 7837.000, "wm" : 11.474, "fc" : 728.346}\n', '{"time" 
: "2017-05-15 17:21:07", "model" : "Fine Offset Electronics WH3080 Weather 
Station", "msg_type" : 2, "uv_sensor_id" : 225, "uv_status" : "OK", 
"uv_index" : 1, "lux" : 7837.000, "wm" : 11.474, "fc" : 728.346}\n', '{"time" 
: "2017-05-15 17:21:07", "model" : "Fine Offset Electronics WH3080 Weather 
Station", "msg_type" : 2, "uv_sensor_id" : 225, "uv_status" : "OK", 
"uv_index" : 1, "lux" : 7837.000, "wm" : 11.474, "fc" : 728.346}\n']
May 15 19:21:10 localhost weewx[674]: sdr: MainThread: parse_json: unknown 
model Fine Offset Electronics WH3080 Weather Station
May 15 19:21:10 localhost weewx[674]: sdr: MainThread: punt unrecognized 
line '{"time" : "2017-05-15 17:21:07", "model" : "Fine Offset Electronics 
WH3080 Weather Station", "msg_type" : 2, "uv_sensor_id" : 225, "uv_status" 
: "OK", "uv_index" : 1, "lux" : 7837.000, "wm" : 11.474, "fc" : 
728.346}#012'
May 15 19:21:10 localhost weewx[674]: sdr: MainThread: parse_json: unknown 
model Fine Offset Electronics WH3080 Weather Station

therefore the driver cannot parse the data it is receiving. No data in 
means weeWX does not store any observation data which means no reports are 
run. 

Reading the bottom of the readme in the sdr driver repo 
<https://github.com/matthewwall/weewx-sdr> would seem to indicate a new 
parser/modified parser will be needed to properly parse data from your 
station. Looking in sdr.py from about line 323 onwards there are a number 
of classes defined that parse data from various stations/sensors (note the 
WH1080 parser at line 659). If your python skils are up to it you may be 
able to write your own parser or modify the 1080 parser, or alternatively 
you will have to wait for some help from Matthew and co (believe Matthew 
only has intermittent and limited internet access at the present though).

Note that whilst your mapping may need to be verified, the mapping is not 
the source of your current issue.

Gary

On Tuesday, 16 May 2017 03:47:59 UTC+10, Massimiliano Neri wrote:
>
>
> Now it does not make the mistake but does not create the html pages on the 
> /var /www/html/weewx directory. I attach the new syslog file.
>
> Il giorno lunedì 15 maggio 2017 12:09:50 UTC+2, Massimiliano Neri ha 
> scritto:
>>
>> 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.

Reply via email to