Custom Notification Error - HOOBS
Posted: Wed Dec 02, 2020 4:02 pm
Just integrated Alarmdecoder with HOOBS and homekit - and so far it seems to work well. However, setting up custom notifications to see when doors/windows have been opened/closed has been a challenge. I have set the custom notification up, and I can get the alarm state and button states, however when a sensor state changes, it puts out an error in the app log as follows in red:
2020-12-02 12:25:21,271 INFO: Background notification function CustomNotification._do_post() starting. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:149]
2020-12-02 12:25:21,396 INFO: Event: 0590299:0:0:1:0:0:0 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:25:24,038 INFO: Event: 1024384:1:1:0:1:1:0 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:25:24,156 INFO: Event: 126600000000606c02456cf5ec0101010000 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:25:24,336 INFO: Event: Ready status has changed to True [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:25:24,380 INFO: Background notification function CustomNotification._do_post() starting. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:149]
2020-12-02 12:25:24,483 INFO: Event: 1666000000006163024543f531fb456cf5ec03010101 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:25:25,544 INFO: Background notification functions running 2. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:438]
2020-12-02 12:25:25,546 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-12-02 12:25:25,547 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-12-02 12:26:00,329 INFO: Event: 0921330:0:0:1:0:0:0 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:26:00,451 INFO: Event: 126600000000626c02456cf5ec0101010000 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:26:00,633 INFO: Event: Ready status has changed to False [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:26:00,673 INFO: Background notification function CustomNotification._do_post() starting. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:149]
2020-12-02 12:26:00,743 INFO: Event: 1666000000006363024543f531fb456cf5ec03020106 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:26:03,630 INFO: Event: 0921330:0:0:0:0:0:0 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:26:03,751 INFO: Event: 126600000000646c02456cf5ec0101010000 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:26:03,867 INFO: Event: 1666000000006563024543f531fb456cf5ec03010101 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:26:04,126 INFO: Event: Ready status has changed to True [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:26:04,163 INFO: Background notification function CustomNotification._do_post() starting. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:149]
2020-12-02 12:26:05,554 INFO: Background notification functions running 2. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:438]
2020-12-02 12:26:05,556 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-12-02 12:26:05,558 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]
I have the notification set up url to the Homebridge device (HOOBS) IP, including the port. So unsure where I am going sideways.
Cheers
2020-12-02 12:25:21,271 INFO: Background notification function CustomNotification._do_post() starting. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:149]
2020-12-02 12:25:21,396 INFO: Event: 0590299:0:0:1:0:0:0 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:25:24,038 INFO: Event: 1024384:1:1:0:1:1:0 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:25:24,156 INFO: Event: 126600000000606c02456cf5ec0101010000 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:25:24,336 INFO: Event: Ready status has changed to True [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:25:24,380 INFO: Background notification function CustomNotification._do_post() starting. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:149]
2020-12-02 12:25:24,483 INFO: Event: 1666000000006163024543f531fb456cf5ec03010101 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:25:25,544 INFO: Background notification functions running 2. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:438]
2020-12-02 12:25:25,546 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-12-02 12:25:25,547 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-12-02 12:26:00,329 INFO: Event: 0921330:0:0:1:0:0:0 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:26:00,451 INFO: Event: 126600000000626c02456cf5ec0101010000 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:26:00,633 INFO: Event: Ready status has changed to False [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:26:00,673 INFO: Background notification function CustomNotification._do_post() starting. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:149]
2020-12-02 12:26:00,743 INFO: Event: 1666000000006363024543f531fb456cf5ec03020106 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:26:03,630 INFO: Event: 0921330:0:0:0:0:0:0 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:26:03,751 INFO: Event: 126600000000646c02456cf5ec0101010000 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:26:03,867 INFO: Event: 1666000000006563024543f531fb456cf5ec03010101 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:26:04,126 INFO: Event: Ready status has changed to True [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:521]
2020-12-02 12:26:04,163 INFO: Background notification function CustomNotification._do_post() starting. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:149]
2020-12-02 12:26:05,554 INFO: Background notification functions running 2. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:438]
2020-12-02 12:26:05,556 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-12-02 12:26:05,558 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]
I have the notification set up url to the Homebridge device (HOOBS) IP, including the port. So unsure where I am going sideways.
Cheers