Use Homey to control WiFi devices which connect trough the Xiaomi Mi Home app. You can also use this app to control Xiaomi / Aqara Zigbee devices which are connected to a Xiaomi gateway. There are no restrictions to the number of connected Zigbee devices, since you can have multiple Mi Gateway devices and distribute all Zigbee devices between them. If you want to control ZigBee devices directly from Homey please use the Xiaomi Zigbee app available in the Homey app store.
Xiaomi does not officially support controlling devices from outside the Mi Home app. Additional steps are required for pairing these devices with Homey that require some technical knowledge. It also means not all available devices are supported. Also be aware that Xiaomi can make changes to it’s eco system at any time resulting in Homey not being able to control these devices anymore.
Pairing miIO devices
For Homey to be able to communicate with devices over the miIO protocol a unique device token needs to be obtained. In some cases technical knowledge is needed for retrieving these tokens. See the instructions here on retrieving device tokens.
Adding support for devices
As mentioned not all available devices are supported. Here is a list of currently supported devices. Unsupported devices can be added but require at least one of the following:
Some other library that already integrated the device which shows it’s parameters. I would need the device model ID to make sure which looks something like this brand.type.id, for instance zhimi.airpurifier.mc1.
The user that requests the integration supplies me with the parameters of the device, usually by sniffing network communication of the device. How this is done is described here.
Access to the physical device (users would need to send me a device)
If neither of these can be fulfilled then integration is not possible.
You can request support for a device here on Github. When requesting a device please post the exact name of the device and the device model (for instance roborock.vacuum.a15).
I enjoy creating apps for Homey and try to support them as best as I can. If you enjoy using my apps a donation in return for the time I put into this is much appreciated.
I have an issue where homey looses contact to the vacuum. Each time you’ve published an update, the vacuum has started to report status changes etc again for a few days, then it suddenly stops and I cannot neither retrieve status changes nor control it. I will from now on try to restart homey / xiaomi mi home app to see if it solves the problem or not.
Well, there is an issiue with the miio library that causes time outs when sending commands. This might be related. When you think it has lost connection, have you tried sending the same command like 8 - 10 times in a row to see if one of them eventually gets through.
Since I’m in love with my Yeelights I bought an Homey to connect them.
Unfortunately the Ceiling light is not working properly. It’s missing some fine tuning.
When I try to set Night mode in a flow the lowest setting is way higher then the lowest setting in the Yeelight app. For example in the Yeelight app the light can be set like real moonlight, bright enough not to bounce your head on a door and dark enough to fall asleep easily.
My light is the Yeelight LED Ceiling Light, modell number YLXD01YL.
I would be grateful if you could help me/us with this issue.
Hello Geurti, I have looked at the code but did not find anything that could cause this. I did not write the code for the night mode myself though. I’ll ask the author of the code if he is able to explain this and will let you know.