ESP32 based BLE, 433mhz & IR gateway bidirectional with MQTT --> OpenMQTTGateway

I hope you haven’t told her that Bluetooth is also a 2.45 GHz radio protocol, otherwise the SwitchBot Meters will be off during bedtime as well :wink:

Joking aside, depending on where you have Ethernet, you could also install OpenMQTTGateway on a WT32-ETH01.

Don’t get me started on OH MQTT discovery :wink: I just vented my frustration with it in a little rant in the OH5 thread

Any states being set to null should be addressed there, as it doesn’t have anything to do with OpenMQTTGateway and the MQTT messages it publishes.

You’re best off to keep defining your things manually from my experience.

These messages are actually correctly displayed of broadcasts the devices send out, occasionally without their actual properties, for some manufacturers these are pairing messages to make the devices discoverable to proprietary apps or some sending out multiple protocol messages. This should however not affect the existing values displayed in OH.

The user who helped me imp0lement the initial Meter Pro decoder actually found that if the Meters are connected to the own SwitchBot app such ‘empty’ messages are a lot more frequent, while correct value messages were constant once he deleted the Meters from the SwitchBot app. So not sure if oyou also have yours paired with the app or not.

Let us know how you gt on.