Hi all,
I’ve recently setup an RF bridge and flashed it with Tasmota. I have a button that I can press and Tasmota recognizes this:
17:35:33 MQT: tele/sonoff/RESULT = {“RfReceived”:{“Sync”:10760,“Low”:360,“High”:1080,“Data”:“392904”,“RfKey”:“None”}}
My goal is for Home assistant to toggle a light status when it receives this signal.
I’ve installed Mosquitto and linked it to Home assistant via discovery. However I am struggling with how to setup Home Assistant to listen for this, so that I can have it turn my light on.
Any help would be brilliant. Thanks in advance!
gumbo
September 10, 2019, 5:28pm
2
Take a look at the following thread for some ways to accomplish what you want to do:
Here are two strategies for receiving payloads published by a Sonoff RF Bridge (flashed with Tasmota firmware).
Strategy 1: value_template
In this strategy, all sensors are subscribed to the same topic published by the RF Bridge. The topic's structure depends on how you defined it when you configured *your* RF Bridge. This example will use `tele/RF_Bridge/RESULT`. Change that to whatever you have set for your Bridge.
Because all sensors are subscribed to the same topic, a sensor will receive pa…
Thanks for the reply. I managed to get it working; I was just misunderstanding how MQTT works!