This project is an attempt to make Python plugins for Xiaomi devices in Domoticz, using the python-miio library.
| Plugin | Device compatibility |
|---|---|
| MiioAirPurifier | Xiaomi Mi Air Purifier |
| MiioAirPurifierMiot | Xiaomi Mi Air Purifier 3H and 3C |
| MiioChuangmiPlug | |
| MiioPhilipsBulb | |
| MiioPowerStrip |
Raspberry Pi/Ubuntu installation:
curl -L https://github.com/xiaoyao9184/DomoticzXiaomiPlugins/raw/master/install.sh | bash
NOTE: must updated domoticz to version 4.10 (now is beta version)
- Domoticz : https://github.com/domoticz/domoticz
- python-miio : https://github.com/rytilahti/python-miio
- Device[X].Update() crash domoticz if called whith implicit parameters. See domoticz/domoticz#2092
- Calling python-miio seems to freeze domoticz's plugin system. Don't know why but similar project faced the same issue. See https://github.com/mrin/domoticz-mirobot-plugin
- Data Push with
statusType likeSelector Switch / Dimmerdevice cant pushLevel,Selector Switch / Dimmerhas 3 status for commandOnis 1,Offis 0,Set Levelis 2. If it have sharedOnandOfffor multipleSelector Switch / Dimmerdevices, will cause confusion. LikeMiioPhilipsBulb
- Domoticz device types : https://github.com/domoticz/domoticz/blob/development/hardware/hardwaretypes.h