nielsfaber / alarmo

Easy to use alarm system integration for Home Assistant
1.39k stars 120 forks source link

skip_delay not working #211

Closed andrew-jacob closed 3 years ago

andrew-jacob commented 3 years ago

I am using Node-RED to sync Alarmo and an Xfinity XHK1-UE Keypad.

Using a call service node in Node-RED, I am able to arm Alarm changing to from 'disarmed' to 'armed_home' however the exit delay is being skipped despite inclusion of the "skip_delay":"false" setting.

How do I send a command to Alarmo to arm the system but NOT skip the exit delay? Is there more examples of yaml or JSON that I can have a look at to make this work with an exit delay. Thanks for any assistance.

Here is an example of my code in Node-RED:

[{"id":"d6806870.af4e58","type":"api-call-service","z":"41ae7e4.987888","name":"Alarmo: armed_home","server":"7888ef36.da41c","version":3,"debugenabled":false,"service_domain":"alarmo","service":"arm","entityId":"alarm_control_panel.alarmo","data":"{\"mode\":\"home\",\"code\":\"2516\",\"skip_delay\":\"false\"}","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":600,"y":460,"wires":[[]]},{"id":"7888ef36.da41c","type":"server","name":"Home Assistant","version":1,"legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]

andrew-jacob commented 3 years ago

I should have been using 'armed_away'; problem solved.