Closed tetreum closed 6 years ago
miio operates on the MiHome Binary Protocol. It supports all Xiaomi devices that implement this protocol.
This library, on the other hand, uses the specialized API exposed by the Xiaomi Gateway. Looking at this, it seems that the MiHome Binary Protocol is not as featured as the API that we use, for example, you cannot control the light.
Oh, interesting! i thought that the API only exposed some parts of MiHome Binary Protocol. If Xiaomi Cloud/MiCloud service closes/goes down, this lib will remain active without any problem? I mean, is it an alternative for full "offcloud" use?
Yes, it is, with the exception that you cannot upload your custom sounds to the gateway using the API. Other than that, it's fully functional. 😉
What's the difference between your lib and this one? https://github.com/aholstenson/miio