Control Xiaomi Wi-Fi devices
App Store Page: Xiaomi Mi Home App for Homey | Homey
IMPORTANT
Support for Yeelights has been removed from the Xiaomi Mi Home app. When the Xiaomi Mi Home App was first developed communication with Yeelights followed the same protocol as the Xiaomi Mi/MiJia WiFi devices. This is a reversed engineered protocol and is not very user friendly and stable. At some point a better method to control the Yeelights became available and I implemented support for that. Now the Yeelights and the Xiaomi devices have nothing in common anymore and I have decided to split off the Yeelights into their own Yeelight app.
This means the current Yeelight functionality within the Xiaomi Mi Home app will not be developed and supported anymore. I’m aware of the hassle it will be but you are asked to un-pair your Yeelights from the Xiaomi Mi Home app and re-pair them again in the new Yeelight app which is available in the app store.
It will not be possible anymore to pair Yeelights in the Xiaomi Mi Home app and the Homey app will actually tell you your device will not be supported anymore in the future.
Description
Use Homey to control Xiaomi Mi Home devices (the Mi Home Ecosystem is also branded as MiJia). Xiaomi does not officialy support controlling most of it’s devices from outside the Mi Home app. To add these devices to Homey require some additional steps are needed that require technical knowledge setting up. These steps are described here but Xiaomi can make changes to it’s eco system at any time resulting in Homey not being able to control these devices anymore.
Adding miIO devices
This app uses an unofficial library called the miIO Device Library for communication with miIO / MiJia devices which lack official support for controlling externally, credits go out to the author of this library. This Homey app only adds support for the devices that can be controlled directly through Wi-Fi (there is another app for directly controlling Xiaomi ZigBee sensors).
For Homey to be able to communicate with devices over the miIO protocol a unique device token needs to be obtained. Technical knowledge is needed for retrieving these tokens. If your are not to tech-savvy using this app might be challenging. See the instructions here on retrieving device tokens.
Using Target and Zone Cleanup for Xiaomi Mi Robot
Xiaomi has released an update for the vacuum cleaners that enables zone cleaning and goto function. Using the action cards that utilize these functions are a bit challenging. If you want to use these cards please read the instructions here.
Supported devices
Below is a list of supported devices and devices. Since the miIO library is no longer maintained the changes are small a new device will be added to this list. For devices not yet supported you need technical knowledge to discover the device properties yourself as described here. With these details it might be possible to add the device. Just post it in this support topic. Supported devices are:
- Xiaomi Philips Light Bulbs
- Philips Eyecare Light
- Xiaomi Robot Vacuum Cleaner V1 and V2/S50, S6
- Xiaomi Air Purifiers 2, 2S and Pro
- Xiamomi Humidifier v1 & v2
- Xiaomi Mi Fan (ZhiMi and Dmaker models)
- Xiaomi Single Power Plug and Power Strip WiFi version
- Xiaomi PM2.5 Air Monitor
- Xiaomi Gateway Light & Alarm - subdevices are supported directly with the Xiaomi ZigBee app
Donations
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.