dchesterton / texecom2mqtt-hassio

Home Assistant add-on. Connect to Texecom Premier Elite alarm panels and publish updates to MQTT. Supports arming/disarming as well as zone updates and alarm events.
https://hub.docker.com/r/dchesterton/texecom2mqtt
MIT License
52 stars 9 forks source link

Add-on crashes shortly after Panel returned NAK response when getting power #73

Open stever29 opened 2 years ago

stever29 commented 2 years ago

Describe the bug

The add-on works temporarily, then fails with: WARNING: Panel returned NAK response when getting power INFO: Panel disconnected, exiting now

This seems to happy on reloading zone and area data. Before this, all the zones etc. work perfectly fine

Application version texecom2mqtt v1.2.3

Texecom alarm type

Premier Elite 64 (V6.02.02LS1)

Home Assistant version

Home Assistant 2022.9.7 Supervisor 2022.09.1 Operating System 9.0 Frontend 20220907.2 - latest

Debug log

2022-10-09 18:47:07 - INFO: Starting texecom2mqtt v1.2.3 (Node v16.13.0)... 2022-10-09 18:47:07 - INFO: Connected to alarm, sleeping for 2 seconds... 2022-10-09 18:47:09 - INFO: Connection ready 2022-10-09 18:47:09 - INFO: Logging in to panel 2022-10-09 18:47:10 - INFO: Successfully logged in to panel 2022-10-09 18:47:10 - INFO: Connected to MQTT broker: core-mosquitto:1883 (retain: true, clean: true, client_id: texecom2mqtt, qos: 0) 2022-10-09 18:47:10 - INFO: Serial number: XXXXXXX 2022-10-09 18:47:10 - INFO: Panel: Premier Elite 64 (V6.02.02LS1) 2022-10-09 18:47:11 - INFO: Fetched Area A: Area A 2022-10-09 18:47:11 - INFO: Fetched Area B: Area B 2022-10-09 18:47:11 - INFO: Fetched Area C: Area C 2022-10-09 18:47:11 - INFO: Fetched Area D: Area D 2022-10-09 18:47:14 - INFO: Fetched Zone 10: Keypad (Type: Guard Access; Areas: A) 2022-10-09 18:47:15 - INFO: Fetched Zone 15: Kitchen (Type: Guard; Areas: A) 2022-10-09 18:47:16 - INFO: Fetched Zone 16: Utility (Type: Guard; Areas: A) 2022-10-09 18:47:16 - INFO: Fetched Zone 17: Nursery (Type: Guard; Areas: A) 2022-10-09 18:47:16 - INFO: Fetched Zone 18: Hallway (Type: Guard; Areas: A) 2022-10-09 18:47:17 - INFO: Fetched Zone 19: Study (Type: Guard; Areas: A) 2022-10-09 18:47:17 - INFO: Fetched Zone 20: Dressing (Type: Guard; Areas: A) 2022-10-09 18:47:31 - INFO: Updating all zone states... 2022-10-09 18:47:32 - INFO: Updating all area states... 2022-10-09 18:47:32 - INFO: Application ready 2022-10-09 18:50:29 - INFO: Re-loading zone and area data 2022-10-09 18:50:30 - INFO: Fetched Area A: Area A 2022-10-09 18:50:30 - INFO: Fetched Area B: Area B 2022-10-09 18:50:30 - INFO: Fetched Area C: Area C 2022-10-09 18:50:30 - INFO: Fetched Area D: Area D 2022-10-09 18:50:36 - INFO: Fetched Zone 10: Keypad (Type: Guard Access; Areas: A) 2022-10-09 18:50:38 - INFO: Fetched Zone 15: Kitchen (Type: Guard; Areas: A) 2022-10-09 18:50:38 - INFO: Fetched Zone 16: Utility (Type: Guard; Areas: A) 2022-10-09 18:50:39 - INFO: Fetched Zone 17: Nursery (Type: Guard; Areas: A) 2022-10-09 18:50:39 - INFO: Fetched Zone 18: Hallway (Type: Guard; Areas: A) 2022-10-09 18:50:39 - INFO: Fetched Zone 19: Study (Type: Guard; Areas: A) 2022-10-09 18:50:40 - INFO: Fetched Zone 20: Dressing (Type: Guard; Areas: A) 2022-10-09 18:50:53 - INFO: Updating all zone states... 2022-10-09 18:50:54 - INFO: Updating all area states... 2022-10-09 18:52:54 - WARNING: Panel returned NAK response when getting power 2022-10-09 18:52:54 - INFO: Panel disconnected, exiting now