Page 1 of 1

X3D decoding attempt

Posted: Monday 31 July 2023 9:00
by MrSven
Hi everyone.
I’m searching for enthusiasts who are interested in decoding and encoding X3D messages. I’m owner of a bunch of thermostats and switch actors. I’ve also done a lot of research and created a PR to the rtl_433 to decode/dump some basic data.
https://github.com/mr-sven/rtl_433/blob ... dore_x3d.c
At the moment I’m working hard on identifying the message structure and find out what all the registers contain. Via second hand I was also able to own a Tydom.
The goal is to build a small ESP device as a Gateway and simulate devices.
Here are the basic protocol settings:
  • Modulation: FSK PCM
  • Frequency: 868,95 MHz
  • FSK Frequency Deviation: 80 kHz
  • 25 µs bit time
  • 40000 baud
  • based on Semtech SX1211
  • manual CRC
  • CCITT Data Whitening
  • Preamble {32} 0xaaaaaaaa
  • Syncword {32} 0x8169967e
  • Length {8}
  • Payload {n}
  • CRC16(Poly=0x1021,Init=0x0000)
I started to document everything in a repository where I also want to setup the ESP Gateway.
https://github.com/mr-sven/x3d-rfm-esp32

Re: X3D decoding attempt

Posted: Monday 07 August 2023 18:12
by MrSven
I'm nearly at 80% of protocol decoding, I think.
I now started to build a C++ library in a subfolder for generating and reading the messages.

Re: X3D decoding attempt

Posted: Tuesday 05 December 2023 8:28
by MrSven
After two weeks of deep digging in a Tydom, I'm now able to communicate with the devices.
The list of registers and other devices still needs some work but in main I added a lot of stuff.

Re: X3D decoding attempt

Posted: Monday 11 March 2024 9:06
by MrSven
I’ve now a working Controller in place with MQTT connection. Currently RF 66xx devices are implemented but the controller can be extended with more device types.