Hey everyone, I wanted to share my experience with integrating Xiaomi Aqara devices into my Home Assistant setup. It’s been a journey of discovery, both in terms of functionality and troubleshooting. I recently came across a challenge where my Xiaomi Aqara gateway wasn’t detecting new Zigbee sub-devices added through the Mijia app. This was a bit frustrating because it meant I had to manually remove and re-add the integration, which disrupted my automations and entity IDs.
After some research, I stumbled upon a potential solution: adding a new service called discover_sub_devices. This service sends a discovery command via unicast to the gateway’s UDP 9898 port. The gateway then responds with a list of all sub-devices, making it easier to add new ones without disrupting the entire setup. I decided to give this a try, and it worked like a charm!
This experience taught me the importance of exploring community solutions and not being afraid to dive into the technical aspects of smart home integration. It also highlighted how a small tweak can make a big difference in maintaining a seamless smart home ecosystem.
If anyone else has encountered similar issues or has tips for optimizing Zigbee device discovery, I’d love to hear about your experiences! Let’s keep the knowledge flowing and help each other create the best possible smart home setups. ![]()