I am attempting to get a number of door / window sensors setup in Home Assistant using an RF gateway built on a D1 Mini. using OpenMQTTGateway I have the gateway working and receive the following payloads when the door is opened or closed:
See the following post for more information. It discusses two strategies for receiving data from a Sonoff RF Bridge but it is applicable to any RF receiver that uses just one MQTT topic to publish data received from multiple devices.
Thank you! Only change I had to make to your config example to get it working was removing the ’ from around the numbers of the payload! Much appreciated!
Update to this. I am now running Tasmota on the d1 mini as OMG was not stable and would crash and require reflashing to get it working again. Tasmota has been rock solid and running for 14 days with zero issues.