baycom / tfrec

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

Unknown sensor type 12: TFA 30.5043.01 (Cosy Radar) #10

Closed uschindler closed 5 years ago

uschindler commented 5 years ago

Hi, I have 3 weatherhub sensors, one of those is the Cosy Radar (TFA 30.5043.01, see https://www.tfa-dostmann.de/produkt/digitales-thermo-hygrometer-cosy-radar-30-5043/). It provides temperature and humidity, but also records the average over the last 3 hrs, 24 hrs, 7 days and 30 days. tfrec recognizes the packets from this sensor but cannot decode them.

As requested I have some sample packets (extracted with -DD):

#006 1547019619 L=36  4b 2d d4 2b 1d 12 4a 42 a3 d8 e3 04 e8 32 35 33 80 00 d6 33 c8 00 d5 32 c7 00 d5 33 c8 16 c7 b4 54 c0 10 79  RSSI 58 WHB: Probably unsupported sensor type 12! Please report
WHB BAD 1 RSSI 58 (SANITY)
#007 1547019619 L=36  4b 2d d4 2b 1d 12 4a 42 a3 d8 e3 04 e8 32 35 33 80 00 d6 33 c8 00 d5 32 c7 00 d5 33 c8 16 c7 b4 54 e0 10 3b  RSSI 59 WHB: Probably unsupported sensor type 12! Please report
WHB BAD 2 RSSI 59 (SANITY)
#016 1547020219 L=36  4b 2d d4 2b 1d 12 4a 42 a3 d8 e3 04 e9 32 35 33 80 00 d7 33 c7 00 d6 33 c8 00 d5 32 c7 3b f6 88 b6 e0 24 00  RSSI 60 WHB: Probably unsupported sensor type 12! Please report
WHB BAD 3 RSSI 60 (SANITY)
#017 1547020219 L=36  4b 2d d4 2b 1d 12 4a 42 a3 d8 e3 04 e9 32 35 33 80 00 d7 33 c7 00 d6 33 c8 00 d5 32 c7 3b f6 88 b6 e0 24 00  RSSI 60 WHB: Probably unsupported sensor type 12! Please report
WHB BAD 4 RSSI 60 (SANITY)
#028 1547020818 L=36  4b 2d d4 2b 1d 12 4a 42 a3 d8 e3 04 ea 32 35 33 80 00 d7 35 c7 00 d7 33 c7 00 d6 33 c8 10 c1 f1 31 c0 c7 3e  RSSI 64 WHB: Probably unsupported sensor type 12! Please report
WHB BAD 5 RSSI 64 (SANITY)
#029 1547020818 L=36  4b 2d d4 2b 1d 12 4a 42 a3 d8 e3 04 ea 32 35 33 80 00 d7 35 c7 00 d7 33 c7 00 d6 33 c8 10 c1 f1 31 c0 c7 3e  RSSI 64 WHB: Probably unsupported sensor type 12! Please report
WHB BAD 6 RSSI 64 (SANITY)
#014 1547021418 L=36  4b 2d d4 2b 1d 12 4a 42 a3 d8 e3 04 eb 32 35 33 80 00 d8 34 c8 00 d7 35 c7 00 d7 33 c7 8b c0 f2 d9 40 60 65  RSSI 67 WHB: Probably unsupported sensor type 12! Please report
WHB BAD 1 RSSI 67 (SANITY)
#015 1547021418 L=36  4b 2d d4 2b 1d 12 4a 42 a3 d8 e3 04 eb 32 35 33 80 00 d8 34 c8 00 d7 35 c7 00 d7 33 c7 8b c0 f2 d9 60 60 27  RSSI 67 WHB: Probably unsupported sensor type 12! Please report
WHB BAD 2 RSSI 67 (SANITY)
#028 1547022018 L=36  4b 2d d4 2b 1d 12 4a 42 a3 d8 e3 04 ec 32 35 33 80 00 d9 34 c7 00 d8 34 c8 00 d7 35 c7 93 3e 6c 27 c0 72 59  RSSI 63 WHB: Probably unsupported sensor type 12! Please report
WHB BAD 3 RSSI 63 (SANITY)
#029 1547022018 L=36  4b 2d d4 2b 1d 12 4a 42 a3 d8 e3 04 ec 32 35 33 80 00 d9 34 c7 00 d8 34 c8 00 d7 35 c7 93 3e 6c 27 e0 72 1b  RSSI 62 WHB: Probably unsupported sensor type 12! Please report
WHB BAD 4 RSSI 62 (SANITY)
#040 1547022617 L=36  4b 2d d4 2b 1d 12 4a 42 a3 d8 e3 04 ed 33 35 33 80 00 d8 33 c7 00 d9 34 c7 00 d8 34 c8 c8 83 39 8d 40 bd 58  RSSI 61 WHB: Probably unsupported sensor type 12! Please report
WHB BAD 5 RSSI 61 (SANITY)
#041 1547022617 L=36  4b 2d d4 2b 1d 12 4a 42 a3 d8 e3 04 ed 33 35 33 80 00 d8 33 c7 00 d9 34 c7 00 d8 34 c8 c8 83 39 8d 60 bd 1a  RSSI 61 WHB: Probably unsupported sensor type 12! Please report
WHB BAD 6 RSSI 61 (SANITY)
#050 1547023219 L=36  4b 2d d4 2b 1d 12 4a 42 a3 d8 e3 04 ee 33 35 33 80 00 d7 33 c8 00 d8 33 c7 00 d9 34 c7 a8 cb 9d d1 00 a5 37  RSSI 59 WHB: Probably unsupported sensor type 12! Please report
WHB BAD 7 RSSI 59 (SANITY)
#051 1547023219 L=36  4b 2d d4 2b 1d 12 4a 42 a3 d8 e3 04 ee 33 35 33 80 00 d7 33 c8 00 d8 33 c7 00 d9 34 c7 a8 cb 9d d1 00 a5 37  RSSI 59 WHB: Probably unsupported sensor type 12! Please report
WHB BAD 8 RSSI 59 (SANITY)

For the last two packets I also have the actual values:

#062 1547023818 L=36  4b 2d d4 2b 1d 12 4a 42 a3 d8 e3 04 ef 33 35 33 80 00 d7 34 c7 00 d7 33 c8 00 d8 33 c7 7f 2a 04 c0 60 cf 13  RSSI 58 WHB: Probably unsupported sensor type 12! Please report
WHB BAD 9 RSSI 58 (SANITY)
#063 1547023818 L=36  4b 2d d4 2b 1d 12 4a 42 a3 d8 e3 04 ef 33 35 33 80 00 d7 34 c7 00 d7 33 c8 00 d8 33 c7 7f 2a 04 c0 60 cf 13  RSSI 58 WHB: Probably unsupported sensor type 12! Please report
WHB BAD 10 RSSI 58 (SANITY)

Those are the same (the sensor always sends 2 packets with almost equal contents every 10 minutes), the values here are:

20190109_095108

I am not sure where the "Taupunkt" comes from (it's not shown on sensor, looks like it is calculated from the data somehow). So it could be that it's part of the packet.

If you need anything more to enable this sensor or give some guidance to work on chaning the parser, I'd be happy.

devZer0 commented 5 years ago

Taupunkt ( dew point) can be calculated from temperature and relative humidity - see https://rechneronline.de/barometer/taupunkt.php and http://www.dpcalc.org/

baycom commented 5 years ago

Should be supported now, please check.

uschindler commented 5 years ago

Hi, seems to work! Default log output and /bin/echo as application to write values (./tfrec -T 20 -e /bin/echo):

WHB12 124a42a3d8e3 TEMP 21.7 HUM 49 HUM3h 50 HUM24h 51 HUM7d 50 HUM30d 48
124a42a3d8e30 +21.7 49 10825 0 70 0 1552639249
124a42a3d8e31 +0.0 50 10825 0 70 0 1552639249
124a42a3d8e3c +0.0 51 10825 0 70 0 1552639249
124a42a3d8e3d +0.0 50 10825 0 70 0 1552639249
124a42a3d8e3e +0.0 48 10825 0 70 0 1552639249
WHB12 124a42a3d8e3 TEMP 21.7 HUM 49 HUM3h 50 HUM24h 51 HUM7d 50 HUM30d 48

Values correspond with Weatherhub application.

uschindler commented 5 years ago

Thanks, I think we can close this. Great work!