X3D decoding attempt

For heating/cooling related questions in Domoticz

Moderator: leecollings

Post Reply
MrSven
Posts: 4
Joined: Monday 31 July 2023 8:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

X3D decoding attempt

Post 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
Last edited by MrSven on Tuesday 05 December 2023 8:28, edited 2 times in total.
MrSven
Posts: 4
Joined: Monday 31 July 2023 8:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: X3D decoding attempt

Post 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.
MrSven
Posts: 4
Joined: Monday 31 July 2023 8:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: X3D decoding attempt

Post 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.
MrSven
Posts: 4
Joined: Monday 31 July 2023 8:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: X3D decoding attempt

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests