Open guyluz11 opened 2 years ago
Found the following existing packages to control Xiaomi Miio devices
We will probably add this integration using the python packages (we are running native python code).
We need a python package to get the devices token
https://pypi.org/project/micloud/
And another package to control the devices using this token
Added dart native support for mi_iot_token, waiting for the pr to get accepted.
After it will get support maybe we can implement it alongside miio package in order to make it work under Linux https://github.com/ctrysbita/miio.dart/issues/3. We will take the devices and token from the mi_iot_token package and then communicate with the devices using miio package.
Here is guidance from the mi_iot_token package developer on how to control devices using Xiaomi api https://github.com/i2Echo/mi_iot_token/issues/5#issuecomment-1473533320
Xiaomi Mi is another big company in the smart home system. 9.8% of all Home Assistant users are using it.
Mi Home app have 10M+ downloads in the play store.