Troubleshooting 433MHz Signal Configuration

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:

  1. 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.

  2. Current Configuration: I’ve set up the signal definition file with the following parameters:

    • sof: 6000µs
    • sync: 14 pulses of 400µs each
    • eof: 200µs low followed by 1000µs high
    • bitlength: 8 bits
    • baudrate: 1200
    • sensitivity: 0.5
  3. Challenges Faced: Despite these settings, I’m encountering a word_interval_out_of_bounds error. This suggests that the intervals between word transmissions are either too short or too long for Homey to process correctly.

  4. Next Steps: To resolve this, I’ll:

    • Double-check the timing measurements from the logic analyzer to ensure accuracy.
    • Adjust the word_interval in the signal definition to match the observed intervals between words in the captured signal.
    • Verify that the ManchesterUnit is correctly set to 400µs, as this is crucial for proper decoding.
  5. 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.