marvinroger / node-lumi-aqara

Control your Xiaomi Smart Home devices with this Lumi Aqara library
GNU General Public License v3.0
46 stars 27 forks source link

[Question] Whats the difference between this 2 libs? #14

Closed tetreum closed 6 years ago

tetreum commented 6 years ago

What's the difference between your lib and this one? https://github.com/aholstenson/miio

marvinroger commented 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.

tetreum commented 6 years ago

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?

marvinroger commented 6 years ago

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. 😉