Yes, this is what I am doing exactly.
Here are the answers to your questions:
I have a few questions to clarify your setup. Is it one Mac or two? If it is only 1 Mac, is it one instance of Indigo and two instances of the Plugin running on the single instance of Indigo?
One mac, one instance of Indigo, 2 instances of the plugin.
If so, how is that setup (it's not obvious to me how that could be configured)?
Exactly what I have done, as suggested by FlyingDiver:
... duplicate the plugin with different names, and also edit the info.plist to give each a different name and pluginID.
What version of Indigo and what firmware version of AlarmDecoder are you running?
Indigo 2023.1 and both Alarm Decoders are: V2.2a.6
These are the devices for the first plugin instance. These devices are showing correctly, but not the status;
- Screenshot 2023-12-24 at 6.42.29 PM.png (124.7 KiB) Viewed 1259 times
Note that one of the devices is showing its status correctly. I think this is because someone tripped the motion detector.
And these are the devices for the second plugin instance which is showing the same problem.
- Screenshot 2023-12-24 at 6.42.42 PM.png (201.95 KiB) Viewed 1259 times
So it seems that the plugin is reading the state (at least for the one motion sensor).
Any ideas as to what might be causing this? Many thanks.
Here is part of the verbose debug log when the first instance is set to Verbose:
- Code: Select all
AD2USB Alarm Interface House Updated configuration values:
OTPConfigPath:
ad2usbAddress:
ad2usbCommType: USB
ad2usbKeyPadAddress: 18
ad2usbPort:
ad2usbSerialPort: /dev/cu.usbserial-A101A523
alarmCodeVariable:
codeLocation: inVariable
enableCode: False
enableOTP: False
hkArmMethod: quickArm
indigoLoggingLevel: DEBUG
isAdvanced: False
isCodeMaskingEnabled: True
isHomeKitEnabled: False
isPanelLoggingEnabled: False
logArmingEvents: False
logUnknownDevices: False
logUnknownLRRMessages: True
panelPartitionCount: 1
pluginLoggingLevel: DEBUG
restartClear: False
AD2USB Alarm Interface House Indigo logging level set to:DEBUG (10)
AD2USB Alarm Interface House Plugin logging level set to:DEBUG (10)
AD2USB Alarm Interface House Plugin preferences have been updated
AD2USB Alarm Interface House Debug completed
AD2USB Alarm Interface House Debug read from AlarmDecoder (Python 3) bytes:b''
AD2USB Alarm Interface House Debug read from AlarmDecoder (Python 3):
AD2USB Alarm Interface House Debug read null message or timeout reached
AD2USB Alarm Interface House Debug AlarmDecoder comm has successfully started, will attempt to read message...
AD2USB Alarm Interface House Debug called
AD2USB Alarm Interface House Debug call with isAdvanced:False
AD2USB Alarm Interface House Debug called
AD2USB Alarm Interface House Debug attempting to read from the AlarmDecoder
AD2USB Alarm Interface House Debug read from AlarmDecoder (Python 3) bytes:b'[1000000100000000----],008,[f70000071008001c08020000000000],"****DISARMED**** Ready to Arm "\r\n'
AD2USB Alarm Interface House Debug read from AlarmDecoder (Python 3):[1000000100000000----],008,[f70000071008001c08020000000000],"****DISARMED**** Ready to Arm "
AD2USB Alarm Interface House Debug Read ad2usb message:'[1000000100000000----],008,[f70000071008001c08020000000000],"****DISARMED**** Ready to Arm "\r\n'
AD2USB Alarm Interface House Debug received message:[1000000100000000----],008,[f70000071008001c08020000000000],"****DISARMED**** Ready to Arm "
AD2USB Alarm Interface House Debug read KPM message type - starting parsing
AD2USB Alarm Interface House Debug keypad bitmask is:00000710
AD2USB Alarm Interface House Debug KPM message parsed:{'isValidNumericCode': True, 'panelState': 'ready', 'homeKitState': 'disarmed', 'isBypassZone': False, 'isPressForFaultMessage': False, 'isAlarmTripped': False, 'isCountdown': False, 'isFault': False, 'isCheck': False, 'doesMessageContainZoneNumber': False, 'doesMessageZoneMatchNumericCode': False, 'bitField': '[1000000100000000----]', 'numericCode': '008', 'rawData': '[f70000071008001c08020000000000]', 'alphanumericKeypadMessage': '"****DISARMED**** Ready to Arm "', 'keypadFlags': {'READY': 1, 'ARMED_AWAY': 0, 'ARMED_HOME': 0, 'BACKLIGHT': 0, 'PGM_MODE': 0, 'BEEPS': 0, 'ZONES_BYPASSED': 0, 'AC_ON': 1, 'CHIME_MODE': 0, 'ALARM_OCCURRED': 0, 'ALARM_BELL_ON': 0, 'BATTERY_LOW': 0, 'ARMED_INSTANT': 0, 'FIRE': 0, 'CHECK_ZONE': 0, 'ARMED_STAY_NIGHT': 0, 'ERROR_REPORT': '-', 'ADEMCO_OR_DSC': '-'}, 'zoneNumberAsInt': 8, 'isSystemMessage': False, 'keypadDestinations': [16, 17, 18, 28]}
AD2USB Alarm Interface House Debug called
AD2USB Alarm Interface House Debug called
AD2USB Alarm Interface House Debug Updating lastADMessage on Keypad Device:House Alarm Panel with new lastADMessage:2023-12-25 07:42:33
AD2USB Alarm Interface House Debug KPM message seen:<AlarmDecoder.Message object at 0x10a257490>
AD2USB Alarm Interface House Debug raw zone type is:[100
AD2USB Alarm Interface House Debug Panel Message: Before:
AD2USB Alarm Interface House Debug Panel Message: Current:[1000000100000000----],008,[f70000071008001c08020000000000],"****DISARMED**** Ready to Arm "
AD2USB Alarm Interface House Debug Panel message:[1000000100000000----],
AD2USB Alarm Interface House Debug valid keypad address:18
AD2USB Alarm Interface House Debug called
AD2USB Alarm Interface House Debug found keypad match for address (as int):18
AD2USB Alarm Interface House Debug Found dev:House Alarm Panel, id:125277209
AD2USB Alarm Interface House Debug called with name:House Alarm Panel, id:125277209, new state:ready
AD2USB Alarm Interface House Debug msgKey is:****D, msgTxt is:"****DISARMED**** Ready to Arm "
, msgBitMap:1000000100000000----, msgZoneNum:8, bMsgZoneNum:0, validBypassZone:False
AD2USB Alarm Interface House Debug number of zones bypassed - current:0, last:0
AD2USB Alarm Interface House Debug calling basic
AD2USB Alarm Interface House Debug Zone:8, Key:****D
AD2USB Alarm Interface House Debug ready to call basic msg handler
AD2USB Alarm Interface House Debug called with rawData:[1000000100000000----],008,[f70000071008001c08020000000000],"****DISARMED**** Ready to Arm "
, msgBitMap:1000000100000000----, msgZoneNum:8, msgText:"****DISARMED**** Ready to Arm "
, msgKey:****D
AD2USB Alarm Interface House Debug Ready:True, Fault:False
AD2USB Alarm Interface House Debug number of zones cleared:0, list was:[]
AD2USB Alarm Interface House Debug Ready:True, Fault:False, Zone:8
AD2USB Alarm Interface House Debug The List:[]
AD2USB Alarm Interface House Debug completed
AD2USB Alarm Interface House Debug panelMsgRead End
AD2USB Alarm Interface House Debug completed
AD2USB Alarm Interface House Debug AlarmDecoder comm has successfully started, will attempt to read message...
AD2USB Alarm Interface House Debug called
AD2USB Alarm Interface House Debug call with isAdvanced:False
AD2USB Alarm Interface House Debug called
AD2USB Alarm Interface House Debug attempting to read from the AlarmDecoder
AD2USB Alarm Interface House Debug read from AlarmDecoder (Python 3) bytes:b''
AD2USB Alarm Interface House Debug read from AlarmDecoder (Python 3):
AD2USB Alarm Interface House Debug read null message or timeout reached
AD2USB Alarm Interface House Debug AlarmDecoder comm has successfully started, will attempt to read message...
AD2USB Alarm Interface House Debug called
AD2USB Alarm Interface House Debug call with isAdvanced:False
AD2USB Alarm Interface House Debug called
AD2USB Alarm Interface House Debug attempting to read from the AlarmDecoder
AD2USB Alarm Interface House Debug read from AlarmDecoder (Python 3) bytes:b'[1000000100000000----],008,[f70000071008001c08020000000000],"****DISARMED**** Ready to Arm "\r\n'
AD2USB Alarm Interface House Debug read from AlarmDecoder (Python 3):[1000000100000000----],008,[f70000071008001c08020000000000],"****DISARMED**** Ready to Arm "
AD2USB Alarm Interface House Debug Read ad2usb message:'[1000000100000000----],008,[f70000071008001c08020000000000],"****DISARMED**** Ready to Arm "\r\n'
AD2USB Alarm Interface House Debug received message:[1000000100000000----],008,[f70000071008001c08020000000000],"****DISARMED**** Ready to Arm "
AD2USB Alarm Interface House Debug read KPM message type - starting parsing
AD2USB Alarm Interface House Debug keypad bitmask is:00000710
AD2USB Alarm Interface House Debug KPM message parsed:{'isValidNumericCode': True, 'panelState': 'ready', 'homeKitState': 'disarmed', 'isBypassZone': False, 'isPressForFaultMessage': False, 'isAlarmTripped': False, 'isCountdown': False, 'isFault': False, 'isCheck': False, 'doesMessageContainZoneNumber': False, 'doesMessageZoneMatchNumericCode': False, 'bitField': '[1000000100000000----]', 'numericCode': '008', 'rawData': '[f70000071008001c08020000000000]', 'alphanumericKeypadMessage': '"****DISARMED**** Ready to Arm "', 'keypadFlags': {'READY': 1, 'ARMED_AWAY': 0, 'ARMED_HOME': 0, 'BACKLIGHT': 0, 'PGM_MODE': 0, 'BEEPS': 0, 'ZONES_BYPASSED': 0, 'AC_ON': 1, 'CHIME_MODE': 0, 'ALARM_OCCURRED': 0, 'ALARM_BELL_ON': 0, 'BATTERY_LOW': 0, 'ARMED_INSTANT': 0, 'FIRE': 0, 'CHECK_ZONE': 0, 'ARMED_STAY_NIGHT': 0, 'ERROR_REPORT': '-', 'ADEMCO_OR_DSC': '-'}, 'zoneNumberAsInt': 8, 'isSystemMessage': False, 'keypadDestinations': [16, 17, 18, 28]}
AD2USB Alarm Interface House Debug called
AD2USB Alarm Interface House Debug called
AD2USB Alarm Interface House Debug Updating lastADMessage on Keypad Device:House Alarm Panel with new lastADMessage:2023-12-25 07:42:42
AD2USB Alarm Interface House Debug KPM message seen:<AlarmDecoder.Message object at 0x10a2567a0>
AD2USB Alarm Interface House Debug raw zone type is:[100
AD2USB Alarm Interface House Debug Panel Message: Before:
AD2USB Alarm Interface House Debug Panel Message: Current:[1000000100000000----],008,[f70000071008001c08020000000000],"****DISARMED**** Ready to Arm "