Xiaomi LYWSD03MMC, through MQTT / TheengsGateway

This is somehow the same setup as this one: Sensor data from Xiaomi LYWSD03MMC, through MQTT / TheengsGateway
but actually I have a different question, I don’t want to hide the original.

So I have an RPi3 with Home Assistant and also mosquitto is running on this host. I have a LYWSD03MMC far away from this RPi, so unreachable via bluetooth. I have installed theengs on an android smartphone, which can perfectly read and display the sensor data. Also the android device can access the mqtt broker and the data is visible there too (checked with mqtt explorer). Also Home Assistant can communicate with this mqtt broker and manage other devices, but this sensor cannot be found.
Now I have no idea what should I do to make it work. Do I need to install a plugin, or change the firmware on the sensor, or just some config/setup is missing?

Hello,

Do you have auto discovery activated in the app Integration ?

Yes, it was switched on, but it does not work. (config is not created) So the auto detection could not work. Manually created yaml file works perfectly.

1 Like