Xiaomi home automation devices are good!.. Zigbee implementations work fine, their mobile app is comprehensive, and in general is good value for the money.
In my tests with openhab, keeping in mind that all the devices where set via their corresponding apps, this is what I found so far:
3 bindings:
(mihome) Xiaomi MI Smart Home, the gateway acting as a bridge and the ZigBee devices.
(miio) Xiaomi MI IO, All other devices, Wifi.
(yeelight) Yeelight Binding
mihome
Everything work fine at installation, all devices are detected and operable
Low latency and reliable
No way to control the chanels of the gateway, whatever I do can’t get them to respond (light, sounds)
When the gateway changes IP, all devices loose communication. Only soluiton is to remove and reinstall the gateway binding. No way to set a fixed IP at the gateway (naturally, wifi).
miio
Binding missing in the downloadable package and its a nightmare to install teh add-on. Happily on the openhabian, it is included.
Got the mi wifi plugs working, erratically. They loose communication often. But at least can comunicate with them most of the time.
Yeelight lamps, which land on the Inbox was never able to get them working.
yeelight
The binding seems to be redundant with miio?!?!
- I can’t get the bulbs to comunicate with openhab.
- It seems that we need tokens that are not reported by the lamps.
- Tried to used the miiojs tool for and miio discover reports no token,
Device ID: 56221500
Model info: Unknown
Address: 192.168.1.102
Token: ???
Support: Unknown - At the end of the day, it seems that the tokens change regularly, so even if I could find them - which I can’t - and insert them manually, on first change will lost them.
Tried everything and so far, the miio binding seems to be highly unreliable, difficult or impossible to get working.
Any hints?