ptz0n / homebridge-verisure

 Platform plugin for Homebridge allowing to manage and control Verisure devices.
https://www.npmjs.com/package/homebridge-verisure
MIT License
66 stars 15 forks source link

Alarm changes state by itself #50

Closed ZEEN0j closed 5 years ago

ZEEN0j commented 5 years ago

With latest release I'm getting a weird issue. When setting the alarm to night mode, it switches correctly and the Verisure app shows the same thing. 10 seconds later it switches to home mode in the home app and my devices get notifications of the change. When checking the verisure app it still says that it's on night mode correct behavior. Somehow the home app gets confused of the actual state

ptz0n commented 5 years ago

Verisure does not actually have an arm state that represents "Night". Currently this arm state is mapped to the same as "Home". This is the root cause of the unintuitive flow you describe above.

Therefore I think it would be more intuitive to remove support for this arm state altogether.

ZEEN0j commented 5 years ago

If it does nothing imo I would remove it. I had my automations set to home but I had to reinstall Homebridge for another issue and when doing the setup I forgot and set them all to night. All is working again with them set to home.

Removing it would make it more clear for new users

ptz0n commented 5 years ago

Setting arm state should now look like this:

screenshot 2019-02-04 at 07 43 00
ZEEN0j commented 5 years ago

That looks great