sui77 / rc-switch

Arduino lib to operate 433/315Mhz devices like power outlet sockets.
1.89k stars 651 forks source link

Can't receive data from thermo/hygrometer "TFA Dostmann 30.3249.02" #470

Open ThFischer opened 1 year ago

ThFischer commented 1 year ago

Hello, I try to receive data from a "TFA Dostmann 30.3249.02" (thermo/hygrometer). The payload is similar to the TFA 30.3221.02 protocol which I could validate with a LogicAnalyzer. The problem is: Neither rc-switch's ReceiveDemos nor the ProtocolAnalyzeDemo outputs any data (other transmitters are well recognized).

The captured signal looks like this: sendmode

  1. frame-sequence of either 3 or 4 impulses ~750µs High / 700µs Low
  2. payload (41 bit)
  3. frame sequence of 4 impulses ~750µs High / 700µs Low
  4. payload repeated
  5. ...

The payload is sent 4 times, at the end no frame sequence is sent.

Is there any chance to get this signal recognized by rc-switch?

Thanks in advance Thomas

ThFischer commented 1 year ago

Hi, I added support for 64 bit messages after figuring out that the maximum was 32 bit 🙄

I added also this protocol definition (according to the captured signal see above):

  { 245, {  3,  3 }, {  1,  2 }, {  2,  1 }, false }

and send this message with a second Arduino directly via wire to the receiving Arduino.

The message is still not recognized. If I change the protocol to have longer sync pulses from (735µs high, 735µs low) to (4655µs high, 735µs low) it is at least recognized as protocol 6:

  { 245, {  19,  3 }, {  1,  2 }, {  2,  1 }, false }

With less then a sync pulse length of 19 it is again not recognized.

Does any body know how to change rc-switch to work with shorter sync pulses?

Kobbe1 commented 5 months ago

Did you ever get this working? It does work for me with rtl_433 and also https://github.com/AK-Homberger/Bresser-3CH-433MHz-T-H-Sensor-decoder/tree/main

On rc switch I had some limited success with this fork: https://github.com/Martin-Laclaustra/rc-switch/tree/protocollessreceiver

But so far can't get it recognized as protocol ...

ThFischer commented 5 months ago

Hi @Kobbe1 , yes, it works as expected, see my repo https://github.com/ThFischer/rc-switch-64bit