GusMuche / homebridge-zipabox-platform

Homebridge plugin to Link HomeKit and the Zipabox through API request. Implementation in dynamic platform.
MIT License
5 stars 2 forks source link

State of alarm error #21

Closed GusMuche closed 4 years ago

GusMuche commented 4 years ago

ZIPAC] [reconnectAfterError] Found error but not manage : [BOXAPI] [getSecurity Status] Bad return > no status find for this partition. undefined [alarm/Maison-DEV]

Have an error for some alarm. The status inside Zipato API disappear !

Get all correct when arming and disarm alarm form Zipato Deskboard.

Maybe putAlarm status is wrong...

GusMuche commented 4 years ago

[BOXAPI] [putSecuritySystem] Post method error : success false is returned

Seem that the sessionID is no more valid after a time and some refresh...

GusMuche commented 4 years ago

"state": { "timestamp": "2020-05-10T07:19:51Z", "boxTimestamp": "2020-05-10T07:19:50Z" },

And no status inside API

GusMuche commented 4 years ago

Since 1.5.10 the plugin will reconnect the security user before putting a new state. This is made after no put request since 5 minutes

GusMuche commented 4 years ago

Solved in 1.6.0