nutechsoftware/alarmdecoder

Feature Request: Add armed instant status

HeySideburns opened this issue · 4 comments

I would love to be able to check if my alarm is in instant mode and change my smartthings behavior accordingly. I have pets so I never arm my alarm in away mode unless we are on vacation and have the pets boarded. If we are leaving the house, we arm stay, before we go to bed for the night we arm instant. I'd like to differentiate between those so I can do something like the following.

If the alarm is armed_stay, turn on interior and exterior security cameras. If the alarm is armed_instant, only turn on the external security cameras.

status bits relevant to alarm status that are missing in the rest api.
entry_delay_off
perimeter_only
alarm_event_occurred This bit changes flip/flops not an easy one so not now.

Night Stay will kick out two arm events with the only difference being perimeter_only being set.
Instant and MAX bit is in sync with the armed bit and is not a concern.

ARM NIGHT STAY CODE+33
The first '3' will arm stay the second 3 will set to night mode. This will change bit field 13 for "perimeter_only" after on_armed() event is sent.

[00100011000000000A0-],060,[f702000b1060038018020000000000],"ARMED ***STAY***May Exit Now  60"
[00100011000000000A0-],060,[f70000040060008018020000000000],"ARMED ***STAY***May Exit Now  60"
[00100011000000010A0-],060,[f702000f1060108018020000000000],"***NIGHT-STAY***May Exit Now  60"
[00100011000000010A0-],055,[f702000f1055108018020000000000],"***NIGHT-STAY***May Exit Now  55"

Ok added panel_perimeter_only, panel_entry_delay_off and virtual devices in smartthings project. Still in dev, out out soon.