sonoff rf bridge with openmqttgateway how to connect a 4 button remote in ha?
i got the motion sensors and door sensors working, but i also want to use a remote to use for some functions but cant seem te finf what to fill in in homeassistant file
a motion sensor is set up like this:
platform: mqtt
name: “Kitchen Motion”
state_topic: “home/OpenMQTTGateway/SRFBtoMQTT”
payload_on: “16064766”
payload_off: “16064766off”
device_class: Motion
qos: 1
a door sensor like this:
platform: mqtt
name: “Kitchen Door”
state_topic: “home/OpenMQTTGateway/SRFBtoMQTT”
payload_on: “8161705”
payload_off: “8161705off”
device_class: Door
qos: 1
i created this for a remote, shoult this work why does it not show as an entity in ha zo i can program the buttons?
platform: mqtt
name: “Remote Button A”
state_topic: “home/OpenMQTTGateway/SRFBtoMQTT”
payload_on: “6668484”
payload_off: “6668484off”
qos: 1
hope someone had a answer for this
greets Reinier
Hi,
Here is the good example that will be published with the new release :
# Integrate Home Assistant
## Auto discovery
So as to enable HASS auto discovery with MQTT you have to uncomment [ZmqttDiscovery](https://github.com/1technophile/OpenMQTTGateway/blob/0180a0dbd55ed8e0799e30ee84f68070a6f478fa/User_config.h#L99) in User_config.h. Note that Home Assistant discovery is enabled by default on all binaries and platformio configurations except for UNO.
Once done, enable discovery on your MQTT integration definition in HASS.
So as to create the MQTT username and password, you have to create a new user(recommended) into Home Assistant->Configuration->Users (available in admin mode) or use an existing username/pwd combination (not recommended). This user doesn't need to be an administrator.

::: warning Note
The max size of the username is 30 and 60 for the password.
:::
OMG will use the auto discovery functionality of home assistant to create sensors and gateways into your HASS instance automaticaly.
The gateway device will be available into Configuration->Devices section of Home Assistant.

This file has been truncated. show original
hi a Happy new year for you!, thnx for the info but…
i just downloaded the latest release for mqtt (rfbridge-firmware.bin) is this the correct file for the sonoff rf bridge? when i flashed it it show a wifi network tp link? and your_password did not work to connect to it…
Greets reinier
i use binay file to flash the one you created for drzz, with file can i use as latest version?
Happy new year, for the sonoff rf bridge we found a bug on v0.9.5, you should better download v0.9.4