Fine Offset WH24 weatherstation via RTL_433 only shows temp./humidity

Moderator: leecollings

kfeelders
Posts: 25
Joined: Tuesday 23 April 2019 21:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Fine Offset WH24 weatherstation via RTL_433 only shows temp./humidity

Post by kfeelders »

Hi, i have installed latest beta Domoticz (10.618) on Raspberry pi latest level (3B+) and installed both RTL-SDR and RTL_433 latest levels.
I have a RTL-SDR dongle running now and it receives a Fine Offset WH24 weatherstation.

A native RTL_433 (so without Domoticz) shows all kind of data from this station (temp. humidity, rain, wind dir. wind speed UV, UVI etc.)

But under Domoticz, i only receive the WH24 temp and hum. sensor data.
Why does it miss the other sensor data?

When adding the -F json parameter under HARDWARE it shows in the log this extra data, so it is received (as Unhandled senser), see:

2019-04-23 21:45:38.343 Status: Rtl433: Worker stopped...
2019-04-23 21:45:39.356 Status: Rtl433: Worker started... (Extra Arguments: -s 1200000 -f 868300000 -f 433920000 -H 60 -F json -G)
2019-04-23 21:45:54.281 (rtl dongle) Temp + Humidity (Fine Offset WH24)
2019-04-23 21:45:54.376 Status: Rtl433: Unhandled sensor reading, please report: (time,msg,codes,model,button,id,channel,battery,temperature_C,mic,subtype,rid,humidity,state,status,brand,rain_rate,rain_rate_mm_h,rain_rate_in_h,rain_total,rain_mm,rain_in,gust,average,direction,wind_max_m_s,wind_avg_m_s,wind_dir_deg,pressure_hPa,uv,power_W,energy_kWh,unit,group_call,command,dim,dim_value,wind_speed,wind_gust,wind_direction,wind_avg_km_h,wind_max_km_h,dipswitch,rbutton,device,temperature_F,battery_ok,setpoint_C,switch,cmd,cmd_id,tristate,direction_deg,speed,rain,msg_type,signal,radio_clock,sensor_code,uv_status,uv_index,lux,wm,seq,rainfall_mm,wind_speed_ms,gust_speed_ms,current,interval,learn,sensor_id,battery_low,sequence_num,message_type,wind_speed_mph,wind_speed_kph,wind_avg_mi_h,rain_inch,rc,gust_speed_mph,wind_max_mi_h,wind_approach,flags,maybetemp,binding_countdown,depth,depth_cm,dev_id,power0,power1,power2,node,ct1,ct2,ct3,ct4,Vrms/batt,batt_Vrms,temp1_C,temp2_C,temp3_C,temp4_C,temp5_C,temp6_C,pulse,address,button1,button2,button3,button4,data,sid,group,transmit,moisture,type,pressure_PSI,battery_mV,pressure_kPa,pulses,energy,len,to,from,payload,event,heartbeat,temperature1_C,temperature2_C,temperature_1_C,temperature_2_C,test,probe,water,ptemperature_C,phumidity,newbattery,heating,heating_temp,uvi,light_lux,counter,code,alarm,repeat,maybe_battery,device_type,raw_message,switch1,switch2,switch3,switch4,switch5,extradata,house_id,module_id,sensor_type,sensor_count,alarms,sensor_value,battery_voltage,failed,class,alert,secret_knock,relay,wind_dev_deg,exposure_mins,transmit_s
2019-04-23 21:45:54.376 |{"time" : "2019-04-23 21:45:54", "model" : "Fine Offset WH24", "id" : 81, "temperature_C" : 16.200, "humidity" : 66, "wind_dir_deg" : 161, "wind_speed_ms" : 3.080, "gust_speed_ms" : 4.480, "rainfall_mm" : 901.500, "uv" : 0, "uvi" : 0, "light_lux" : 0.000, "battery" : "OK", "mic" : "CRC"}
2019-04-23 21:45:54.376 )
2019-04-23 21:46:10.200 (rtl dongle) Temp + Humidity (Fine Offset WH24)

As far as i understand, the Fine Offset WH24 station is supported as it shows in rtl_433/src/devices/fineoffset.c

Please help to understand why i only see the WH24 temp. and hum. sensor only.

Regards Kees
kfeelders
Posts: 25
Joined: Tuesday 23 April 2019 21:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Fine Offset WH24 weatherstation via RTL_433 only shows temp./humidity

Post by kfeelders »

I ugraded Domoticz to latest beta V4.10619 (went from V3.**** to V4.970 to V4.10608 to V4.10618) but still no extra sensors seen.

Kees
kfeelders
Posts: 25
Joined: Tuesday 23 April 2019 21:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Fine Offset WH24 weatherstation via RTL_433 only shows temp./humidity

Post by kfeelders »

No one from the Domoticz camp who knows why the data presented by RTL_433 is not accepted/recognized/handled by Domoticz?

Kees
kfeelders
Posts: 25
Joined: Tuesday 23 April 2019 21:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Fine Offset WH24 weatherstation via RTL_433 only shows temp./humidity

Post by kfeelders »

Upgrade to V4.10683 beta, and found some new entries from the WH24 station in the log:

2019-05-04 12:25:37.753 )
2019-05-04 12:32:31.036 Status: Rtl433: Unhandled sensor reading, please report: (time,msg,codes,model,button,id,channel,battery,temperature_C,mic,subtype,rid,humidity,state,status,brand,rain_rate,rain_rate_mm_h,rain_rate_in_h,rain_total,rain_mm,rain_in,gust,average,direction,wind_max_m_s,wind_avg_m_s,wind_dir_deg,pressure_hPa,uv,power_W,energy_kWh,unit,group_call,command,dim,dim_value,wind_speed,wind_gust,wind_direction,wind_avg_km_h,wind_max_km_h,dipswitch,rbutton,device,temperature_F,battery_ok,setpoint_C,switch,cmd,cmd_id,tristate,direction_deg,speed,rain,msg_type,signal,radio_clock,sensor_code,uv_status,uv_index,lux,wm,seq,rainfall_mm,wind_speed_ms,gust_speed_ms,current,interval,learn,sensor_id,battery_low,sequence_num,message_type,wind_speed_mph,wind_speed_kph,wind_avg_mi_h,rain_inch,rc,gust_speed_mph,wind_max_mi_h,wind_approach,flags,maybetemp,binding_countdown,depth,depth_cm,dev_id,power0,power1,power2,node,ct1,ct2,ct3,ct4,Vrms/batt,batt_Vrms,temp1_C,temp2_C,temp3_C,temp4_C,temp5_C,temp6_C,pulse,address,button1,button2,button3,button4,data,sid,group,transmit,moisture,type,pressure_PSI,battery_mV,pressure_kPa,pulses,energy,len,to,from,payload,event,heartbeat,temperature1_C,temperature2_C,temperature_1_C,temperature_2_C,test,probe,water,ptemperature_C,phumidity,newbattery,heating,heating_temp,uvi,light_lux,counter,code,alarm,repeat,maybe_battery,device_type,raw_message,switch1,switch2,switch3,switch4,switch5,extradata,house_id,module_id,sensor_type,sensor_count,alarms,sensor_value,battery_voltage,failed,class,alert,secret_knock,relay,wind_dev_deg,exposure_mins,transmit_s
2019-05-04 12:32:31.036 |2019-05-04 12:32:30,,,Fine Offset WH24,,81,,OK,7.900,CRC,,,64,,,,,,,,,,,,,,,220,,2734,,,,,,)
2019-05-04 12:32:31.136 Status: Rtl433: Unhandled sensor reading, please report: (time,msg,codes,model,button,id,channel,battery,temperature_C,mic,subtype,rid,humidity,state,status,brand,rain_rate,rain_rate_mm_h,rain_rate_in_h,rain_total,rain_mm,rain_in,gust,average,direction,wind_max_m_s,wind_avg_m_s,wind_dir_deg,pressure_hPa,uv,power_W,energy_kWh,unit,group_call,command,dim,dim_value,wind_speed,wind_gust,wind_direction,wind_avg_km_h,wind_max_km_h,dipswitch,rbutton,device,temperature_F,battery_ok,setpoint_C,switch,cmd,cmd_id,tristate,direction_deg,speed,rain,msg_type,signal,radio_clock,sensor_code,uv_status,uv_index,lux,wm,seq,rainfall_mm,wind_speed_ms,gust_speed_ms,current,interval,learn,sensor_id,battery_low,sequence_num,message_type,wind_speed_mph,wind_speed_kph,wind_avg_mi_h,rain_inch,rc,gust_speed_mph,wind_max_mi_h,wind_approach,flags,maybetemp,binding_countdown,depth,depth_cm,dev_id,power0,power1,power2,node,ct1,ct2,ct3,ct4,Vrms/batt,batt_Vrms,temp1_C,temp2_C,temp3_C,temp4_C,temp5_C,temp6_C,pulse,address,button1,button2,button3,button4,data,sid,group,transmit,moisture,type,pressure_PSI,battery_mV,pressure_kPa,pulses,energy,len,to,from,payload,event,heartbeat,temperature1_C,temperature2_C,temperature_1_C,temperature_2_C,test,probe,water,ptemperature_C,phumidity,newbattery,heating,heating_temp,uvi,light_lux,counter,code,alarm,repeat,maybe_battery,device_type,raw_message,switch1,switch2,switch3,switch4,switch5,extradata,house_id,module_id,sensor_type,sensor_count,alarms,sensor_value,battery_voltage,failed,class,alert,secret_knock,relay,wind_dev_deg,exposure_mins,transmit_s
2019-05-04 12:32:31.136 |,,,,,,,,,,,,,,,,,,,,,,,,,,,,,924.000,10.780,13.440,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,6,94751.000,,,,,,,,,,,,,,,,,,,,,,,,,,,,


Could this data be of any help (it states "Please report")

Regards Kees
kfeelders
Posts: 25
Joined: Tuesday 23 April 2019 21:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Fine Offset WH24 weatherstation via RTL_433 only shows temp./humidity

Post by kfeelders »

When i import the above Unhandeled sensor data (csv file output) into excel i get a nice comma seperated overview of this WH24 data, see attached Excel file with the required data nicely ordered.

Kees
Attachments
WH24 data.xlsx
(13.13 KiB) Downloaded 117 times
Jeremob
Posts: 14
Joined: Wednesday 13 February 2019 10:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Fine Offset WH24 weatherstation via RTL_433 only shows temp./humidity

Post by Jeremob »

Hi,

Just for information, I have the same problem with a Bresser 5in1 weather station and rtl433 (domoticz 10717 stable on RPI3)
Everything is good with rtl433 in command line, but only temp and humidity shown on Domoticz ...

viewtopic.php?f=12&t=27847

I hope to found a solution ...
kfeelders
Posts: 25
Joined: Tuesday 23 April 2019 21:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Fine Offset WH24 weatherstation via RTL_433 only shows temp./humidity

Post by kfeelders »

.
Thanks for the info Jeremob.


Running at V4.10724 since today, but still no extra sensors seen.

Hoping for a solution too.

Kees
mpx2
Posts: 70
Joined: Friday 21 September 2018 18:28
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: Fine Offset WH24 weatherstation via RTL_433 only shows temp./humidity

Post by mpx2 »

I have a similar problem. Everything works on command line but Domoticz discards part of the ID value.

viewtopic.php?f=6&t=25452&p=197454#p195727
User avatar
gizmocuz
Posts: 2492
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Fine Offset WH24 weatherstation via RTL_433 only shows temp./humidity

Post by gizmocuz »

Headers currently known by domoticz are:

time,msg,codes,model,button,id,channel,battery,temperature_C,mic,rid,humidity,state,status,brand,rain_rate,rain_total,gust,average,direction,pressure_hPa,uv,power_W,energy_kWh,unit,group_call,command,dim,dim_value,wind_speed,wind_gust,wind_direction,dipswitch,rbutton,device,temperature_F,rc,brandmodelidtemperature_C,setpoint_C,switch,cmd,cmd_id,modelidcmd,tristate,direction_str,direction_deg,speed,rain,msg_type,signal,hours,minutes,seconds,year,month,day,sensor_code,uv_status,uv_index,lux,wm,fc,ws_id,rainfall_mm,wind_speed_ms,gust_speed_ms,current,interval,learn,sensor_id,battery_low,sequence_num,message_type,wind_speed_mph,wind_dir_deg,wind_dir,rainfall_accumulation_inch,raincounter_raw,windstrength,winddirection,flags,maybetemp,binding_countdown,depth,dev_id,power0,power1,power2,node,ct1,ct2,ct3,ct4,Vrms/batt,temp1_C,temp2_C,temp3_C,temp4_C,temp5_C,temp6_C,pulse,address,button1,button2,button3,button4,data,sid,transmit,moisture,type,pressure_PSI,battery_mV,pressure_bar,pulses,energy,device id,code,len,to,from,payload,event,heartbeat,brandmodelidstatus,temperature_C1,temperature_C2,test,probe,water,ptemperature_C,phumidity,newbattery,heating,heating_temp,uvi,light_lux,counter,alarm,depth_cm,repeat,temperature_1_C,temperature_2_C,device_type,raw_message,switch1,switch2,switch3,switch4,switch5,seq,extradata,house_id,module_id,sensor_type,sensor_count,alarms,sensor_value,battery_voltage,failed,pressure_kPa

I see you have a lot more headers... so you are probably using a newer RTL433 version then the author of the RTL433 class in domoticz has tested against.

You can always try to debug this yourself, all code is in RTl433.cpp/h, and it's not so difficult

A PR on github would be great
Quality outlives Quantity!
kfeelders
Posts: 25
Joined: Tuesday 23 April 2019 21:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Fine Offset WH24 weatherstation via RTL_433 only shows temp./humidity

Post by kfeelders »

.
Thanks gizmocuz,

but the headers presented by the Fine Offset WH24 are already known in Domoticz, see picture (below) of the cleaned up
"WH24 data.xlsx" i attached earlier.

I will take a look at RTL433.cpp/h

Kees
Attachments
WH24 Headers.png
WH24 Headers.png (8.25 KiB) Viewed 4178 times
kfeelders
Posts: 25
Joined: Tuesday 23 April 2019 21:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Fine Offset WH24 weatherstation via RTL_433 only shows temp./humidity

Post by kfeelders »

.
I am unable to locate Rtl433.cpp or Rtl433.c on my installation.
Also the Domoticz/Hardware directory is not there, so i wonder if my Domoticz installation is somehow not complete.

I will build a fresh setup on an usb stick to see if it will contain those now missing items.

Kees
kfeelders
Posts: 25
Joined: Tuesday 23 April 2019 21:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Fine Offset WH24 weatherstation via RTL_433 only shows temp./humidity

Post by kfeelders »

.
Did a new installation on an USBstick.

latest Raspberry code, latest Domoticz code, latest RTL-SDR code and latest RTL433 code.
Now i see the domoticz/hardware directory with in it RTL433.cpp etc.

Now to find out how to debug this.....


Kees
mpx2
Posts: 70
Joined: Friday 21 September 2018 18:28
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: Fine Offset WH24 weatherstation via RTL_433 only shows temp./humidity

Post by mpx2 »

kfeelders wrote: Friday 17 May 2019 16:19 .
Did a new installation on an USBstick.

latest Raspberry code, latest Domoticz code, latest RTL-SDR code and latest RTL433 code.
Now i see the domoticz/hardware directory with in it RTL433.cpp etc.

Now to find out how to debug this.....


Kees
If would be really great it you could fix RTL433.cpp. Many sensors doesn't work with RFLink but work with RTL433, but RTL433 doesn't work with Domoticz. RTL433 is open source and gets regular updates. RFLink is closed source and last update was released in 2017.
mpx2
Posts: 70
Joined: Friday 21 September 2018 18:28
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: Fine Offset WH24 weatherstation via RTL_433 only shows temp./humidity

Post by mpx2 »

Maybe a plugin would be better than RTL433.cpp in Domotic'zs source code. If we are lucky it takes a year to get RTL433.cpp fixed and a new release of Domoticz. It seems that nobody want's to touch the source code.
kfeelders
Posts: 25
Joined: Tuesday 23 April 2019 21:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Fine Offset WH24 weatherstation via RTL_433 only shows temp./humidity

Post by kfeelders »

.
.
Looking at rtl433.cpp

(https://github.com/domoticz/domoticz/bl ... Rtl433.cpp) ,

do i understand correctly that presently we "look" for:

time (start line 107),
unit
channel
battery
temperature_C
temperature_F
humidity
pressure_hpa
rain
rain_total
depth_cm
depth
windstrength wind_speed
average
winddirection wind_direction
direction
wind_gust
gust
moisture (stop line 316)

in the CSV header / data files on line 33 etc.?

As can be seen in my post above (10 may 16:56) in the tabel the WH24 presents date under the headers:

time (ok)
model (ok)
id (ok)
battery (ok)
temperature_C (ok)
mic (not included)
humidity (ok)
wind_dir_deg (not included)
uv (not included)
rainfall_mm (not included)
wind_speed_ms (not included)
gust_speed_ms (not included)
uvi (not included)
light_lux (not included)

Does that mean that RTL433.cpp needs to be modified to include also those "not included" headers?

thanks, Kees
kfeelders
Posts: 25
Joined: Tuesday 23 April 2019 21:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Fine Offset WH24 weatherstation via RTL_433 only shows temp./humidity

Post by kfeelders »

.
Hmmmm,

since my update to V4.10821 this morning i don't see the Fine Offset WH24 sensor subtype WTGR800 (temp. nor hum.) anymore.

What was changed to cause this?


Kees
kfeelders
Posts: 25
Joined: Tuesday 23 April 2019 21:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Fine Offset WH24 weatherstation via RTL_433 only shows temp./humidity

Post by kfeelders »

.

Update to V4.10826, the WH24 temp/hum sensor is back.

Not sure though if it was a temporary hickup of the WH24 sensor or a change in the Domoticz code.

Anyway, still figuring out why not more sensors of this WH24 weatherstation (wind / rain / uv) are reporerted.....

Kees
blitt001
Posts: 1
Joined: Tuesday 28 May 2019 22:45
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Fine Offset WH24 weatherstation via RTL_433 only shows temp./humidity

Post by blitt001 »

The problem is that they did a change in the file Rtl433.cpp.

If you take a look at this file, you will see that when a sensor is detected with temperature and huminity, it will return from the function and it will never handle the other sensors of the WH24 (wind etc). So actually this is a bug. THe previous stable version 4.9700 did not have this problem

Take a look in my modified file. Sure that my modification solves the issue.

Good luck in recompiling domoticz
Attachments
Rtl433.cpp
(13.8 KiB) Downloaded 98 times
kfeelders
Posts: 25
Joined: Tuesday 23 April 2019 21:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Fine Offset WH24 weatherstation via RTL_433 only shows temp./humidity

Post by kfeelders »

.
Thanks Blitt,

i am sure i also tried with V4.9700 in the first place, see my 2th post above, but only the temp/hum sensors was seen.
But i will try to use your rtl433.cpp file, thanks a lot.....


Kees
kfeelders
Posts: 25
Joined: Tuesday 23 April 2019 21:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Fine Offset WH24 weatherstation via RTL_433 only shows temp./humidity

Post by kfeelders »

.
I tried to recompile domoticz using the modified Rtl433.cpp, but it fails, see:


Scanning dependencies of target domoticz
[ 20%] Building CXX object CMakeFiles/domoticz.dir/main/domoticz.cpp.o
[ 20%] Building CXX object CMakeFiles/domoticz.dir/hardware/Rtl433.cpp.o
/home/pi/dev-domoticz/hardware/Rtl433.cpp: In member function ‘bool CRtl433::ParseLine(const std::vector<std::__cxx11::basic_string<char> >&, const char*)’:
/home/pi/dev-domoticz/hardware/Rtl433.cpp:107:3: error: ‘bReturn’ was not declared in this scope
bReturn bool;
^~~~~~~
CMakeFiles/domoticz.dir/build.make:1921: recept voor doel 'CMakeFiles/domoticz.dir/hardware/Rtl433.cpp.o' is mislukt
make[2]: *** [CMakeFiles/domoticz.dir/hardware/Rtl433.cpp.o] Fout 1
CMakeFiles/Makefile2:77: recept voor doel 'CMakeFiles/domoticz.dir/all' is mislukt
make[1]: *** [CMakeFiles/domoticz.dir/all] Fout 2
Makefile:151: recept voor doel 'all' is mislukt
make: *** [all] Fout 2
pi@raspberrypi:~/dev-domoticz $



"Doel" means target,
"mislukt" means failed
"fout" means failure.


Thanks, regards Kees
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest