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

Control alarm status? #4

Closed svrooij closed 6 years ago

svrooij commented 6 years ago

Would it also be possible to control the alarm status? The gateway has some nice alarm feature, that makes a hell off a sound if it is armed and a door/window is opened.

But the application to turn it on and off kinda sucks, so I would like to control the armed status some other way.

marvinroger commented 6 years ago

As far as I know, the API does not (yet?) allow to do this. So until Xiaomi updates it's firmware, it won't be possible.

svrooij commented 6 years ago

Do you know if there is some sort of documentation about this gateway? Because if the app can do it, it should also be possible with a direct gateway command.

svrooij commented 6 years ago

api documentation if you're interested (and using google translate).

Only thing possible is to play sounds (not tried yet). Alarm seems to be in the Mihome cloud.

As off now my xiaomi2mqtt is available and depends on this library.