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

Notification issue #18

Closed davidw963 closed 3 years ago

davidw963 commented 3 years ago

Just installed the HOOBS plugin, the sensors and alarm all seem to integrate properly in Home. Alarm will arm, disarm, etc - however the sensors/contacts will not show change of state (ie: open the front door, no change on the home app).

The logs seem to point towards an error - though my programming skills are sketchy at best.

2020-11-30 13:06:48,822 INFO: Event: Ready status has changed to True [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521] 2020-11-30 13:06:49,217 INFO: Background notification function CustomNotification._do_post() starting. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:149] 2020-11-30 13:06:49,224 INFO: Event: The alarm system has been disarmed. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521] 2020-11-30 13:06:49,273 INFO: Event: 1666000000006663024543f531fb456cf5ec03010101 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521] 2020-11-30 13:06:49,821 INFO: Background notification functions running 1. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:438] 2020-11-30 13:06:49,823 INFO: Background notification function CustomNotification._do_post() finished with gaierror(-2, 'Name or service not known') line 1137. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:454] 2020-11-30 13:07:26,012 INFO: Event: 126600000000676c02456cf5ec0101010000 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521] 2020-11-30 13:07:26,192 INFO: Event: Ready status has changed to False [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521] 2020-11-30 13:07:26,734 INFO: Background notification function CustomNotification._do_post() starting. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:149] 2020-11-30 13:07:26,740 INFO: Event: The alarm system has been armed STAY. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521] 2020-11-30 13:07:26,790 INFO: Event: 1766000000006063024543f531fb456cf5ec020101022c [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521] 2020-11-30 13:07:29,834 INFO: Background notification functions running 1. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:438] 2020-11-30 13:07:29,835 INFO: Background notification function CustomNotification._do_post() finished with gaierror(-2, 'Name or service not known') line 1137. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:454] 2020-11-30 13:07:46,360 INFO: Event: 0226050:0:1:0:0:1:0 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521] 2020-11-30 13:07:55,598 INFO: Event: 1028341:0:1:0:0:0:0 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521] 2020-11-30 13:08:10,179 INFO: Event: 126600000000616c02456cf5ec0101010000 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521] 2020-11-30 13:08:10,297 INFO: Event: 1666000000006263024543f531fb456cf5ec02010101 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521] 2020-11-30 13:08:10,477 INFO: Event: Ready status has changed to False [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521] 2020-11-30 13:08:19,305 INFO: Event: 126600000000636c02456cf5ec0101010000 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521] 2020-11-30 13:08:19,496 INFO: Event: 1666000000006463024543f531fb456cf5ec03010101 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521] 2020-11-30 13:08:19,674 INFO: Event: Ready status has changed to True [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521] 2020-11-30 13:08:20,225 INFO: Background notification function CustomNotification._do_post() starting. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:149] 2020-11-30 13:08:20,231 INFO: Event: The alarm system has been disarmed. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521] 2020-11-30 13:08:24,846 INFO: Background notification functions running 1. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:438] 2020-11-30 13:08:24,847 INFO: Background notification function CustomNotification._do_post() finished with gaierror(-2, 'Name or service not known') line 1137. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:454]

davidw963 commented 3 years ago

Update - I seemed to have figured out the do_post gaierror by removing the http:// from the alarmdecoder notification URL and just placing the IP and port number as outlined in the instructions. However, it is returning a 404 error now. Thanks in advance for any help.

davidw963 commented 3 years ago

Issues has been solved. Turned out to be a port issue that was addressed within HOOBS,