Hi everyone! I’m thrilled to share my recent experience with the Sonoff RF Bridge. After successfully installing it and following the instructions to hack it with Tasmota firmware, I’ve been able to connect a variety of devices, including PIR sensors, RF switches, and window sensors. The process was smooth, and the bridge has proven to be reliable for these Sonoff-based devices.
However, I encountered a challenge when trying to integrate non-Sonoff RF switches. Initially, I wasn’t sure how to proceed, but I discovered a helpful solution by sniffing the RF data using the rfraw command on the device console. With the provided Python script, I was able to convert the raw data into a B0 code, which worked perfectly when tested on the bridge console.
The next step was integrating these codes into Home Assistant (HA). While the instructions were sparse for HA, I managed to configure the configuration.yaml file with the appropriate MQTT settings. I used the B0 code in the payload_on and payload_off fields, ensuring the correct structure for HA to recognize the commands.
One thing I struggled with was finding the right value_template to extract the RF data. After some research, I realized that setting it to '{{value_json.RfReceived.Data}}' was the key to making it work seamlessly. Now, my non-Sonoff RF switches are fully integrated, and I can control them just like any other smart device in my setup.
This experience taught me the importance of perseverance and the value of community resources. I’m excited to continue expanding my RF setup and perhaps even integrate more devices in the future. If anyone has questions or needs assistance with similar configurations, feel free to reach out—I’d be happy to help!