aficustree / homebridge-alarmdecoder-platform

Homebridge plugin for the AlarmDecoder interface for Honeywell and DSC Alarm Systems. Exposes the security system and all zones (via Contact Sensors and Motion Sensors) to Apple's Homekit. Control your alarm through Siri.
Apache License 2.0
18 stars 11 forks source link

Errors detected with interlogix integration #32

Open farberm opened 3 years ago

farberm commented 3 years ago

Thanks for the plugin.Great work, It is working but I get the following errors in the log file. Any fixes/help would be appreciated.

[11/7/2021, 6:42:43 AM] [Alarm System] found 3 FRONT DOOR,from cache, skipping [11/7/2021, 6:42:43 AM] [Alarm System] found 4 LIVING R.WINDOW,from cache, skipping [11/7/2021, 6:42:43 AM] [Alarm System] found 5 MOTION DETECTOR,from cache, skipping [11/7/2021, 6:42:43 AM] [Alarm System] found 6 KIT. NOOK WINDOW,from cache, skipping [11/7/2021, 6:42:43 AM] [Alarm System] found 7 KIT. NOOK DOOR,from cache, skipping [11/7/2021, 6:42:43 AM] [Alarm System] found 8 SMOKE DETECTOR,from cache, skipping [11/7/2021, 6:42:43 AM] [Alarm System] found switch away from cache, skipping [11/7/2021, 6:42:43 AM] [Alarm System] found switch stay from cache, skipping [11/7/2021, 6:42:43 AM] [Alarm System] found switch night from cache, skipping [11/7/2021, 6:42:43 AM] [homebridge-alarmdecoder-platform] This plugin generated a warning from the characteristic 'Motion Detected': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://git.io/JtMGR for more info.

Second issue/Error: [11/7/2021, 7:00:58 AM] [Alarm System] TypeError: Cannot set property 'faulted' of undefined at /usr/lib/node_modules/homebridge-alarmdecoder-platform/alarmsystems/interlogix.js:25:84 at Array.forEach () at Interlogix.getAlarmState (/usr/lib/node_modules/homebridge-alarmdecoder-platform/alarmsystems/interlogix.js:24:21) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:95:5) at AlarmdecoderPlatform._getStateFromAlarm (/usr/lib/node_modules/homebridge-alarmdecoder-platform/index.js:242:13) at AlarmdecoderPlatform.getSwitchState (/usr/lib/node_modules/homebridge-alarmdecoder-platform/index.js:355:9)

farberm commented 3 years ago

I am getting one additional warning.

[11/13/2021, 9:58:23 AM] [homebridge-alarmdecoder-platform] This plugin generated a warning from the characteristic 'Motion Detected': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://git.io/JtMGR for more info.