Howdy folks - have my ad2usb setup as a 'common' keypad across two partitions on a Vista 20P; wondering if there's an easy way to handle events generated by the individual partitions?
The event handlers in the AlarmDecoder library seem to get confused by the common ad2usb keypad 'seeing' events from both partitions (in this case, partition one is ARMED AWAY ZONE BYPASSED, and partition 2 is DISARMED, READY TO ARM):
Apr 21 14:12:52 *** ARMED *** (device.on_arm)
Apr 21 14:12:52 *** DISARMED *** (device.on_disarm)
Apr 21 14:12:53 [1000000100010000----],008,[f70000020008005c08020000000000],"****DISARMED**** Ready to Arm "
Apr 21 14:12:56 *** ARMED *** (device.on_arm)
Apr 21 14:12:56 [0100001100010000----],008,[f70000091008004c1c020000000000],"ARMED ***AWAY*** ZONE BYPASSED "
Apr 21 14:12:56 *** DISARMED *** (device.on_disarm)
Apr 21 14:12:56 [1000000100010000----],008,[f70000040008005c08020000000000],"****DISARMED**** Ready to Arm "
Apr 21 14:13:00 *** ARMED *** (device.on_arm)
Apr 21 14:13:00 *** DISARMED *** (device.on_disarm)
Apr 21 14:13:01 [1000000100010000----],008,[f70000020008005c08020000000000],"****DISARMED**** Ready to Arm "
Apr 21 14:13:04 *** ARMED *** (device.on_arm)
Apr 21 14:13:04 [0100001100010000----],008,[f70000091008004c1c020000000000],"ARMED ***AWAY*** ZONE BYPASSED "
Apr 21 14:13:04 *** DISARMED *** (device.on_disarm)
Apr 21 14:13:04 [1000000100010000----],008,[f70000040008005c08020000000000],"****DISARMED**** Ready to Arm "
Apr 21 14:13:07 *** ARMED ***
Apr 21 14:13:08 *** DISARMED ***
Apr 21 14:13:08 [1000000100010000----],008,[f70000020008005c08020000000000],"****DISARMED**** Ready to Arm "
Apr 21 14:13:11 *** ARMED ***
Apr 21 14:13:11 [0100001100010000----],008,[f70000091008004c1c020000000000],"ARMED ***AWAY*** ZONE BYPASSED "
Apr 21 14:13:12 *** DISARMED ***
Apr 21 14:13:12 [1000000100010000----],008,[f70000040008005c08020000000000],"****DISARMED**** Ready to Arm "
Could probably parse out the raw message field - f7000002... looks like partition 2, f7000009 looks like partition 1?
Robert