I just realized it never worked with my WHx080 too (only the usb instance) 
as I use the radiation from the WH65 in my SDR setup. A quick look into 
sdr.py reveals why: There is no parsing of uv data for class 
FOWHx080Packet(Packet) -  Only for class FOWH3080Packet(Packet)

First, make a backup of your sdr.py, then try changing 
 IDENTIFIER = "Fine Offset Electronics WH3080 Weather Station"
to
 IDENTIFIER = "Fineoffset-WHx080"

and see if it works. You might have to use FOWH3080Packet in the sensor 
map, or maybe add

 return Packet.add_identifiers(pkt, station_id, FOWHx080Packet.__name__)

to @staticmethod in class FOWH3080Packet(Packet):

But first, try with just the identifier change. 

I'll update the Issue you created in 
https://github.com/matthewwall/weewx-sdr/issues/162
Maybe someone can add it to the weewx-sdr driver

[email protected] schrieb am Dienstag, 16. August 2022 um 18:01:31 UTC+2:

>
> I use 2 other sensors
> one is tfa wind and the other is acurite lightning sensor
> I don't use the wind sensor of the wh3080
> my skin inside the current.inc the right strings of UV and radiation but 
> the result is UV N / A and radiation N / A
> Il giorno martedì 16 agosto 2022 alle 17:46:27 UTC+2 Peppe ha scritto:
>
>> good evening,
>> I will try first of all to put order and to answer your questions:
>> the weather station is a froggit wh3080 with separate sensors at 433 mhz, 
>> therefore the old model. Here is the photo in jpg
>>
>> [image: Profi-radio-Stazione-Meteo-wh3080-luce-UV-USB.jpg]
>> IThis is the result of what the stick sees thanks to the rtl command:
>> sudo rtl_433  -R 32
>>
>> time      : 2022-08-16 17:20:15
>> model     : Fineoffset-WHx080                      Msg type  : 0
>> Station ID: 226
>> Battery   : 1            Temperature: 32.9 C       Humidity  : 36 %
>> Wind Direction: 0        Wind avg speed: 0.00      Wind gust : 0.00
>> Total rainfall: 65.1     Integrity : CRC
>> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
>> _ _ _
>> time      : 2022-08-16 17:20:27
>> model     : Fineoffset-WHx080                      Msg type  : 2
>> UV Sensor ID: 225        Sensor Status: OK         UV Index  : 4
>> Lux       : 84102.8      Watts/m   : 123.14        Integrity : CRC
>> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
>> _ _ _
>> time      : 2022-08-16 17:20:27
>> model     : Fineoffset-WHx080                      Msg type  : 2
>> UV Sensor ID: 225        Sensor Status: OK         UV Index  : 4
>> Lux       : 84102.8      Watts/m   : 123.14        Integrity : CRC
>> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
>> _ _ _
>> time      : 2022-08-16 17:20:27
>> model     : Fineoffset-WHx080                      Msg type  : 2
>> UV Sensor ID: 225        Sensor Status: OK         UV Index  : 4
>> Lux       : 84102.8      Watts/m   : 123.14        Integrity : CRC
>>
>> the command lines inserted in the sdr:
>> driver = user.sdr
>> cmd = rtl_433 -R 32 -R 40 -R 42
>> the command lines inserted in the sensor map
>> UV = uv_index.225.FOWH3080Packet
>> radiation = radiation.225.FOWH3080Packet
>> also replaced by another entry
>> UV = uv_index.225.FOWHx080Packet
>> radiation = radiation.225.FOWHx3080Packet
>>
>> finally this is the result of the driver weewx sdr using the command
>> PYTHONPATH=/home/weewx/bin python /home/weewx/bin/user/sdr.py --config 
>> /home/weewx/weewx.conf --hide=parsed,mapped    
>>
>>  out: ['{"time" : "2022-08-16 15:40:27", "model" : "Fineoffset-WHx080", 
>> "subtype" : 2, "uv_sensor_id" : 225, "uv_status" : "OK", "uv_index" : 3, 
>> "lux" : 66370.100, "wm" : 97.174, "mic" : "CRC"}\n', '{"time" : "2022-08-16 
>> 15:40:27", "model" : "Fineoffset-WHx080", "subtype" : 2, "uv_sensor_id" : 
>> 225, "uv_status" : "OK", "uv_index" : 3, "lux" : 66370.100, "wm" : 97.174, 
>> "mic" : "CRC"}\n', '{"time" : "2022-08-16 15:40:27", "model" : 
>> "Fineoffset-WHx080", "subtype" : 2, "uv_sensor_id" : 225, "uv_status" : 
>> "OK", "uv_index" : 3, "lux" : 66370.100, "wm" : 97.174, "mic" : "CRC"}\n']
>>
>>
>> inside the syslog there is no trace of UV or radiation
>>  
>>
>>> I currently don't have it in front of me and am just writing from my 
>>> phone, but maybe i can give a few hints:
>>>
>>> Which sdr command do you use in your config file? Try adding:
>>>
>>> -Y classic
>>>
>>> Which WHx080 model do you have? Is it the old one with separated sensors 
>>> or the newer all in one sensor array?
>>>
>>> Do the other sensors work with your sdr weewx conf?
>>>
>>> Please keep in mind, the whx080 never really gave accurate solar 
>>> radiation readings in the first place, mine showed 600 instead of 900 w/m2 
>>> last month. The newer wh65 array does this a lot better imo (but worse for 
>>> wind gusts instead..)
>>>
>>> You will have to add in stdCalibrate -> Corrections
>>>
>>> radiation = radiation/126.7
>>>
>>> To convert the lux illuminance to w/m2 radiation readings.
>>>
>>> There is a way to show the recorded loop packets in the terminal but i 
>>> can't remember the command, if you find it,  check and see if weewx is 
>>> getting the data. If so, make sure the uv and radiation fields exist in 
>>> your database, and whether or not they are listed in your skin.conf (for 
>>> plots as well as the current values)
>>>
>>>
>>>
>>> [email protected] schrieb am Sonntag, 14. August 2022 um 14:14:29 
>>> UTC+2:
>>>
>>>> can anyone help me?
>>>>
>>>> Il giorno martedì 9 agosto 2022 alle 16:49:48 UTC+2 Peppe ha scritto:
>>>>
>>>>> sorry, the last line is wrong
>>>>> this is what I wanted to write
>>>>> radiation = radiation.225.FOWH3080Packet
>>>>>
>>>>> Il giorno mar 9 ago 2022 alle ore 16:46 Peppe <[email protected]> ha 
>>>>> scritto:
>>>>>
>>>>>> good evening
>>>>>> I put the two lines on the sensor map but it doesn't work. I am 
>>>>>> writing you a series of attempts made by me along with your suggestions:
>>>>>> UV = uv_index.225.FOWHx080Packet
>>>>>> radiation = light.225.FOWHx080Packet
>>>>>> radiation = radiation.225.FOWHx080Packet
>>>>>> UV = uv_index.225.FOWH3080Packet
>>>>>> radiation = light.225.FOWH3080Packet
>>>>>> radiation = light.225.FOWH3080Packet
>>>>>> I don't know what I did wrong.
>>>>>> I rewrite the data I receive from my Nesdr:
>>>>>> {"time": "2022-08-09 14:42:36", "model": "Fineoffset-WHx080", 
>>>>>> "subtype": 2, "uv_sensor_id": 225, "uv_status": "OK", "uv_index ": 3," 
>>>>>> lux 
>>>>>> ": 36888.800," wm ": 54.010," mic ":" CRC "}
>>>>>>
>>>>>> Il giorno lun 8 ago 2022 alle ore 16:44 Peppe <[email protected]> 
>>>>>> ha scritto:
>>>>>>
>>>>>>>
>>>>>>> first of all thank you so much for answering me. I was wrong in 
>>>>>>> transcribing the syslog.
>>>>>>> this is correct: {"time": "2022-08-07 13:26:39", "model": 
>>>>>>> "Fineoffset-WHx080", "subtype": 2, "uv_sensor_id": 225, "uv_status": " 
>>>>>>> OK 
>>>>>>> "," uv_index ": 2," lux ": 32082.000," wm ": 46,972," mic ":" CRC "}
>>>>>>> I'll try your suggestions and post them here
>>>>>>>
>>>>>>> Il giorno lunedì 8 agosto 2022 alle 09:18:08 UTC+2 [email protected] 
>>>>>>> ha scritto:
>>>>>>>
>>>>>>>> I've never seen "*End*offset-WHx080", not sure if this is 
>>>>>>>> available in sdr.py, but maybe I'm wrong. 
>>>>>>>>
>>>>>>>> Mine works with following sensor map entries:
>>>>>>>>
>>>>>>>> UV = uv_index.*.FOWHx080Packet
>>>>>>>> radiation = light.*.FOWHx080Packet
>>>>>>>>
>>>>>>>> You can replace *** with your ID (necessary if there are other 
>>>>>>>> WHx080 stations around)
>>>>>>>>
>>>>>>>>
>>>>>>>> [email protected] schrieb am Sonntag, 7. August 2022 um 15:45:17 
>>>>>>>> UTC+2:
>>>>>>>>
>>>>>>>>> I used a weeewx 4.8.0 installation using the weewx-sdr driver 
>>>>>>>>> updated on February 12th of this year and capturing the sensors at 
>>>>>>>>> 433 mhz 
>>>>>>>>> with a Nesdr key;
>>>>>>>>> the sdr.py file is from January 22nd
>>>>>>>>>
>>>>>>>>> Il giorno domenica 7 agosto 2022 alle 15:32:29 UTC+2 Peppe ha 
>>>>>>>>> scritto:
>>>>>>>>>
>>>>>>>>>> Hello everyone, I ask you for a little help to insert the uv and 
>>>>>>>>>> radiation sensors of a whx080 station into my sensor map.
>>>>>>>>>> Here is the result of the sudo rtl_433 -M utc -F json command:
>>>>>>>>>>
>>>>>>>>>> {"time": "2022-08-07 13:26:39", "model": "Endoffset-WHx080", 
>>>>>>>>>> "subtype": 2, "uv_sensor_id": 225, "uv_status": "OK", "uv_index ": 
>>>>>>>>>> 2," lux 
>>>>>>>>>> ": 32082.000," wm ": 46,972," mic ":" CRC "}
>>>>>>>>>>
>>>>>>>>>> What is the right line to insert within the weewx.conf sensor map?
>>>>>>>>>> thanks for your cooperation and sorry for my bad english
>>>>>>>>>>
>>>>>>>>> -- 
>>>>>>> You received this message because you are subscribed to a topic in 
>>>>>>> the Google Groups "weewx-user" group.
>>>>>>> To unsubscribe from this topic, visit 
>>>>>>> https://groups.google.com/d/topic/weewx-user/PohR3wcR1UM/unsubscribe
>>>>>>> .
>>>>>>> To unsubscribe from this group and all its topics, send an email to 
>>>>>>> [email protected].
>>>>>>> To view this discussion on the web visit 
>>>>>>> https://groups.google.com/d/msgid/weewx-user/e67461ea-3e02-4979-afd2-7191a4cfc043n%40googlegroups.com
>>>>>>>  
>>>>>>> <https://groups.google.com/d/msgid/weewx-user/e67461ea-3e02-4979-afd2-7191a4cfc043n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>> .
>>>>>>>
>>>>>> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "weewx-user" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/weewx-user/PohR3wcR1UM/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> [email protected].
>>>
>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/11d088ca-4d0d-4979-9558-9dbdab25bf7dn%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/11d088ca-4d0d-4979-9558-9dbdab25bf7dn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e056c312-c7d8-47b4-a27b-c5683849403bn%40googlegroups.com.

Reply via email to