I’m currently working on integrating a 433MHz dimmer controller into my Homey setup. After analyzing the protocol with a logic analyzer, I noticed that the Manchester coding used by my dimmer has specific timing requirements. Here’s what I’ve discovered and how I’m approaching the solution:
-
Protocol Breakdown: The 433MHz signal consists of a preamble, sync, UID/data, and stop sections. Each bit is represented by a 400µs high or low pulse, following Manchester encoding rules. For example, a ‘0’ is represented by a low-to-high transition, while a ‘1’ is high-to-low.
-
Current Configuration: I’ve set up the signal definition file with the following parameters:
sof: 6000µssync: 14 pulses of 400µs eacheof: 200µs low followed by 1000µs highbitlength: 8 bitsbaudrate: 1200sensitivity: 0.5
-
Challenges Faced: Despite these settings, I’m encountering a
word_interval_out_of_boundserror. This suggests that the intervals between word transmissions are either too short or too long for Homey to process correctly. -
Next Steps: To resolve this, I’ll:
- Double-check the timing measurements from the logic analyzer to ensure accuracy.
- Adjust the
word_intervalin the signal definition to match the observed intervals between words in the captured signal. - Verify that the
ManchesterUnitis correctly set to 400µs, as this is crucial for proper decoding.
-
Community Support: If you’ve successfully integrated similar 433MHz devices, I’d greatly appreciate any insights or tips you might have. Your experiences could help me refine the configuration and avoid common pitfalls.
I’m hopeful that with some fine-tuning, I’ll be able to get this working smoothly and expand my Homey ecosystem with this dimmer controller.