[Python plugin] Xiaomi Pedestrial Fan ZA4
Posted: Monday 29 June 2020 8:45
Hi, i started working on a plugin for interact with the xiaomi fan, model ZA4 (currently avaiable).
Here the github page, is WIP and is based on the awesome work done by "mnir" for the xiaomi vacuum.
https://github.com/Condorello/Domoticz-Xiaomi-Fan-ZA4
Currently i successfully retrive the status of the fan (on-off), can set the rotating angle and the fan speed plus retrive the status of the same parameters. I've just some trouble to change the rotating angle device states when it's off but i expect to fix that soon.
Step after is to manage the direct and natural fan parameter, this is not so simple because the API does't provides a simple toggle command.
Here the github page, is WIP and is based on the awesome work done by "mnir" for the xiaomi vacuum.
https://github.com/Condorello/Domoticz-Xiaomi-Fan-ZA4
Currently i successfully retrive the status of the fan (on-off), can set the rotating angle and the fan speed plus retrive the status of the same parameters. I've just some trouble to change the rotating angle device states when it's off but i expect to fix that soon.
Step after is to manage the direct and natural fan parameter, this is not so simple because the API does't provides a simple toggle command.