baycom / tfrec

SDR tool for receiving wireless sensor data (TFA IT+ KlimaLogg Pro, LaCrosse, WeatherHub)
GNU General Public License v2.0
68 stars 19 forks source link

whb-type 09 added #25

Closed patrikhall closed 2 years ago

patrikhall commented 2 years ago

I found the crc init value for Weatherhub 09 sensors and added support for them. This should close issue 14.

GeorgA commented 2 years ago

Thanks, but what me curious was the extended temperature range fo -50 to +110°C. This cannot be encoded in the 11bits (-102.4 to +102.4), so I bought the sensor. It actually uses 12bits, the sign is now bit #11. AFAIR no other sensors had this scheme, so it's also not safe to simply adapt cvt_temp. I have added now an "extended"-flag to cvt_temp and made the old decode_06 call able to handle types 06 and 09. BTW: If the temperature is >109.9 the sensors transmits 153.5.