Control any RF device with Homebridge using Sonoff RF Bridge 433 with TasmOTA firmware.
- Install homebridge-mqttswitch
- Configure the plugin in config.json with the following parameters
"topics": {
"statusGet": "stat/sonoff_rf/POWER",
"statusSet": "cmnd/soonff_rf/RfCode"
}
"onValue": "#D0EC33",
"offValue": "#D0EC44",
- StatusGet will not work with one way RF device. As you can switch manually the RF device Homekit will not show the exact status of the device
- Insert any unique RF code for onValue and offValue 1..8388607 or hex #1..#7FFFFF
- Start Homebridge
- As the new switch is in Homekit do remote control pairing by turning on and off the switch in Homekit. Long press the RF device button, 2 beeps: turn Homekit switch on, 3 beeps: turn homekit swtich off.
Use homebridge-mqtt-sonoffrf-receiver to read RF sensors in Homebridge. If you have already defined RF codes in Sonoff RF Bridge then use RfKey command instead of RfCode.