DonKracho / Arduino--GT-WT-02-Decoder

ESP8266 decoder for a 433MHz GT-WT-02 weather station transmitter
GNU General Public License v3.0
5 stars 3 forks source link

New Device Support GT-WT-03 #8

Open vslinuxdotnet opened 3 years ago

vslinuxdotnet commented 3 years ago

Hello, Did you like to support also the GT-WT-03 device ?

GT-WT-03 https://github.com/merbanan/rtl_433/blob/master/src/devices/gt_wt_03.c

GT-WT-02 https://github.com/merbanan/rtl_433/blob/master/src/devices/gt_wt_02.c

I try to change some values of the RF433mhz timings in yours original C includes but no luck.

Thank You.

DonKracho commented 3 years ago

Hi Vasco, I do not own a GT_WT-03 and the timing is not given. Therefore I will not investigate into a GT-WT-03. I adapted the code do decode DIGOO transmitters (36 bit without checksum https://www.amazon.de/gp/product/B07DPFJ4RC/) in between and made it more robust if several transmitters are in reach. But these DIGOO transmitters are rare, I did never publish this code.

The main difference of a GT-WT-03 may be that the telegram is 40 bit long instead of 37 and the method of extracting the values and checksum must be updated.

The code lenght is checked after a sync is detected in line 101 if ((code>>37) == 1ull) must be changed to if ((code>>40) == 1ull)

Hope this points it the right direction.