I have a question, that I actually talked about at least a year ago I think But today, I made another test (OH2 and nightly release since a couple of days ago).
My question is how I could separate and figure out when the alarm is actually triggering an alarm. From what I can see, in state of Entry Delay, the âPowermax_partition_alarmâ is set to ON (binding config: powermax=âpartition_alarmâ) just as it does when the alarm is actually triggering (for real). I first tried to get this working by using the âpartition_arm_modeâ state which are set to for example âDisarmâ, âArmedâ, âEntryDelayâ - however, this state is set after the partition_alarm is set to ON. It does not feel good to add a delay timer just to âwaitâ for an eventually update of âpartition_arm_modeâ.
Below I have tested two scenarios:
First - EntryDelay is used - I enter the building and disarms the alarm via a keypad.
18:32:04.254 [INFO ] [marthome.event.ItemStateChangedEvent] - Powermax_partition_status changed from Away Exit Delay, Ready, Last 10 seconds to Armed Away, Ready, Status changed
18:32:04.265 [INFO ] [marthome.event.ItemStateChangedEvent] - Powermax_partition_armed changed from OFF to ON
18:32:19.237 [INFO ] [marthome.event.ItemStateChangedEvent] - Powermax_zone1_status2 changed from CLOSED to OPEN
18:32:19.248 [INFO ] [marthome.event.ItemStateChangedEvent] - Powermax_partition_status changed from Armed Away, Ready, Status changed to Entry Delay, Not ready, Open in Zone 1, Status changed, Alarm event
18:32:19.340 [INFO ] [marthome.event.ItemStateChangedEvent] - Powermax_partition_ready changed from ON to OFF
18:32:19.348 [INFO ] [marthome.event.ItemStateChangedEvent] - Powermax_partition_arm_mode changed from Armed to EntryDelay
18:32:32.357 [INFO ] [marthome.event.ItemStateChangedEvent] - Powermax_partition_status changed from Entry Delay, Not ready, Open in Zone 1, Status changed, Alarm event to Disarmed, Not ready, Status changed
18:32:32.369 [INFO ] [marthome.event.ItemStateChangedEvent] - Powermax_partition_alarm changed from ON to OFF
18:32:32.380 [INFO ] [marthome.event.ItemStateChangedEvent] - Powermax_partition_armed changed from ON to OFF
18:32:32.388 [INFO ] [marthome.event.ItemStateChangedEvent] - Powermax_partition_arm_mode changed from EntryDelay to Disarmed
And this is when I trigger an alarm
18:34:45.942 [INFO ] [marthome.event.ItemStateChangedEvent] - Powermax_zone5_status2 changed from CLOSED to OPEN
18:34:45.981 [INFO ] [marthome.event.ItemStateChangedEvent] - Powermax_partition_alarm changed from OFF to ON
18:34:45.991 [INFO ] [marthome.event.ItemStateChangedEvent] - Powermax_zone5_last_trip changed from 2016-12-06T16:58:34.000+0100 to 2016-12-06T18:34:45.000+0100
18:34:46.299 [INFO ] [marthome.event.ItemStateChangedEvent] - Powermax_partition_status changed from Armed Away, Not ready, Open in Zone 5, Alarm event to Armed Away, Not ready, Alert in memory
18:34:46.313 [INFO ] [marthome.event.ItemStateChangedEvent] - Powermax_panel_alert_in_mem changed from OFF to ON
18:34:46.327 [INFO ] [marthome.event.ItemStateChangedEvent] - Powermax_partition_alarm changed from ON to OFF
18:34:48.059 [INFO ] [marthome.event.ItemStateChangedEvent] - Powermax_zone5_status changed from ON to OFF
18:34:48.096 [INFO ] [marthome.event.ItemStateChangedEvent] - Powermax_partition_status changed from Armed Away, Not ready, Alert in memory to Armed Away, Ready, Alert in memory, Closed in Zone 5
18:34:48.106 [INFO ] [marthome.event.ItemStateChangedEvent] - Powermax_partition_ready changed from OFF to ON
18:34:59.756 [INFO ] [marthome.event.ItemStateChangedEvent] - Powermax_partition_status changed from Armed Away, Ready, Alert in memory, Closed in Zone 5 to Disarmed, Ready, Alert in memory, Status changed
18:34:59.766 [INFO ] [marthome.event.ItemStateChangedEvent] - Powermax_partition_armed changed from ON to OFF
Anyone that can point me into right direction here?
Best regards,
Patrik