Qolsys IQ Panel 2 and 3rd party integration

Weird, I just noticed my motion detector works but nothing else does.

Restarting my HASS host fixed it. Everything works!

Does anyone know how to hide Night arming when bridging this into HomeKit? It doesn’t do anything when pressed.

1 Like

Just edit the Alarm Panel card to remove the Night arming option.

That removes it from the HASS UI but the options are still passed into HomeKit, unless I’m misunderstanding something?

Wouldn’t it be better to remove night mode from this integration, since it’s not a feature of Qolsys panels?

The appdaemon app isn’t “exposing” night mode. If someone knows how to suppress night mode, happy to look into it.

Maybe you could exclude it from homekit somehow: HomeKit - Home Assistant

I see, but night mode shows up under “available states” in HASS, is that just how the alarm panel card works? There doesn’t appear to be a way to exclude states. Could this be accomplished with an alarm template? Sorry if this is a trivial question, I’m still learning the HASS way of things.

I think that’s just how the alarm panel card works … I suppressed night mode on my card. I didn’t expose to homekit.

I also suppressed night mode on my card too, but unfortunately I can’t seem to exclude it in HomeKit. Would it be possible to configure night mode so it just sends a stay command? Or maybe i can exclude night mode with a template

@ifeign Try 1.8.1. Mapped night mode to stay.

It works perfectly, thank you!

hi folks, great to see this thread and tried to make use of my IQ panel. however, complete noob here and running into issues.
my setup: docker HA, docker appdaemon, docker mqtt servers running on Ubuntu OS.
my setup only difference is that everything is docker except for add ons on hass. can someone please help me in identifying whats missing on my end?

021-08-12 21:50:13.600277 DEBUG qolsys_panel: qolsys_host: 192.168.4.44, qolsys_port: 12345, qolsys_token: xxx, qolsys_timeout: 86400, request_topic: qolsys/requests,
2021-08-12 21:50:13.607589 INFO qolsys_panel: Creating qolsys_socket,
2021-08-12 21:50:13.620569 INFO qolsys_panel: wrapping socket,
2021-08-12 21:50:13.636815 INFO qolsys_panel: connecting to socket,
2021-08-12 21:50:14.006219 INFO qolsys_panel: Connected wrappedSocket: <ssl.SSLSocket fd=12, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('172.17.0.5', 48094), raddr=('192.168.4.44', 12345)>,
2021-08-12 21:50:14.010766 INFO qolsys_panel: Starting listener thread,
2021-08-12 21:50:14.032203 INFO qolsys_panel: Previous message repeated 1 times,
2021-08-12 21:50:14.041279 INFO qolsys_panel: Previous message repeated 1 times,
2021-08-12 21:50:14.042424 INFO qolsys_panel: started listener thread,
2021-08-12 21:50:14.044066 INFO qolsys_panel: starting listen,
2021-08-12 21:50:14.057783 INFO qolsys_panel: started listener,
2021-08-12 21:50:14.066080 INFO qolsys_panel: QolSys Socket Created,
2021-08-12 21:50:14.073122 INFO qolsys_panel: listener for requests topic: qolsys/requests,
2021-08-12 21:50:14.084340 DEBUG qolsys_panel: call_service: mqtt/subscribe, {'namespace': 'mqtt', 'topic': 'qolsys/requests'},
2021-08-12 21:50:14.101005 DEBUG qolsys_panel: Calling listen_event for qolsys_panel,
2021-08-12 21:50:14.112969 INFO qolsys_panel: listener for info topic: qolsys/panel/info,
2021-08-12 21:50:14.118482 DEBUG qolsys_panel: call_service: mqtt/subscribe, {'namespace': 'mqtt', 'topic': 'qolsys/panel/info'},
2021-08-12 21:50:14.139438 DEBUG qolsys_panel: Calling listen_event for qolsys_panel,
2021-08-12 21:50:14.151881 INFO qolsys_panel: listener for zone event topic: qolsys/panel/zone_event,
2021-08-12 21:50:14.155952 DEBUG qolsys_panel: call_service: mqtt/subscribe, {'namespace': 'mqtt', 'topic': 'qolsys/panel/zone_event'},
2021-08-12 21:50:14.164108 DEBUG qolsys_panel: Calling listen_event for qolsys_panel,
2021-08-12 21:50:14.169427 INFO qolsys_panel: listener for zone update topic: qolsys/panel/zone_update,
2021-08-12 21:50:14.172316 DEBUG qolsys_panel: call_service: mqtt/subscribe, {'namespace': 'mqtt', 'topic': 'qolsys/panel/zone_update'},
2021-08-12 21:50:14.177952 DEBUG qolsys_panel: Calling listen_event for qolsys_panel,
2021-08-12 21:50:14.183937 INFO qolsys_panel: listener for arming topic: qolsys/panel/alarming,
2021-08-12 21:50:14.186724 DEBUG qolsys_panel: call_service: mqtt/subscribe, {'namespace': 'mqtt', 'topic': 'qolsys/panel/alarming'},
2021-08-12 21:50:14.192820 DEBUG qolsys_panel: Calling listen_event for qolsys_panel,
2021-08-12 21:50:14.201062 INFO qolsys_panel: listner for triggered (ALARM) topic: qolsys/alarm/triggered,
2021-08-12 21:50:14.204791 DEBUG qolsys_panel: call_service: mqtt/subscribe, {'namespace': 'mqtt', 'topic': 'qolsys/alarm/triggered'},
2021-08-12 21:50:14.210654 DEBUG qolsys_panel: Calling listen_event for qolsys_panel,
2021-08-12 21:50:14.214158 DEBUG qolsys_panel: call_service: mqtt/publish, {'namespace': 'mqtt', 'topic': 'qolsys/requests', 'payload': '{"event": "INFO", "token": "xxx"}'},
2021-08-12 21:50:14.232801 INFO AppDaemon: App initialization complete,
2021-08-12 21:50:14.257519 DEBUG qolsys_panel: event_name: MQTT_MESSAGE,
2021-08-12 21:50:14.266230 DEBUG qolsys_panel: kwargs: {'topic': 'qolsys/requests', '__thread_id': 'thread-0'},
2021-08-12 21:50:14.278672 DEBUG qolsys_panel: data: {'topic': 'qolsys/requests', 'wildcard': '#', 'payload': '{"event": "INFO", "token": "xxx"}'},
2021-08-12 21:50:14.290759 DEBUG qolsys_panel: payload: {"event": "INFO", "token": "xxx"},
2021-08-12 21:50:14.300097 DEBUG qolsys_panel: payload_json: {'event': 'INFO', 'token': 'xxx'},
2021-08-12 21:50:14.304609 INFO qolsys_panel: event: INFO,
2021-08-12 21:50:14.310087 INFO qolsys_panel: event: INFO, usercode: None, partition_id: None, arm_type: None, instant: False,
2021-08-12 21:50:14.409768 DEBUG qolsys_panel: data received from qolsys panel: ACK,
 len(data): 4,
2021-08-12 21:50:14.412706 DEBUG qolsys_panel: non json data: ACK,
,
2021-08-12 21:50:14.415980 DEBUG qolsys_panel: data received from qolsys panel: ACK,
 len(data): 4,
2021-08-12 21:50:14.418921 DEBUG qolsys_panel: non json data: ACK,
,
2021-08-12 21:50:14.422049 ERROR qolsys_panel: No data received.  Bad token?  Detatching.,
2021-08-12 21:50:14.426813 WARNING qolsys_panel: Detatching from wrapped socket,
2021-08-12 21:50:14.430675 WARNING qolsys_panel: Closing socket,
2021-08-12 21:50:16.436227 INFO qolsys_panel: Recreating socket,
2021-08-12 21:50:16.442029 INFO qolsys_panel: wrapping socket,
2021-08-12 21:50:16.447118 INFO qolsys_panel: connecting to socket,
2021-08-12 21:50:16.880621 INFO qolsys_panel: Connected wrappedSocket: <ssl.SSLSocket fd=13, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('172.17.0.5', 48112), raddr=('192.168.4.44', 12345)>,
2021-08-12 21:50:16.887578 INFO qolsys_panel: Starting listener thread,

Edit:
Looks like I have started receiving response but it’s delayed by 15 minutes. Is it normal? Working on getting entities added to dashboard now.

2021-08-12 22:06:54.383073 DEBUG qolsys_panel: data received from qolsys panel: {"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Closed","zone_id":4},"requestID":"e417767e-a4e6-4574-8a94-79da2cd71e09"},
 len(data): 157,
2021-08-12 22:06:54.388960 INFO qolsys_panel: publishing ZONE_EVENT event to: qolsys/panel/zone_event,

Are you sure you’re using the right token?

Sorry, I edited the post before checking your reply.

There’s no good reason for a 15 minute delay. How many devices and partitions do you have?

I guess what triggered the response is when I turned A/C on via the panel. I have 2 door sensors, 1 door lock, 1 A/C, 1 light, 1 motion sensor and iirc: only one partition. I see these messages on appdaemon now but don’t see any entities yet:

2021-08-13 07:14:44.710669 DEBUG qolsys_panel: data received from qolsys panel: {"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Closed","zone_id":4},"requestID":"ff7ed9bf-31f2-4890-b628-12ff49e78352"},
 len(data): 157,
2021-08-13 07:14:44.714540 INFO qolsys_panel: publishing ZONE_EVENT event to: qolsys/panel/zone_event,
2021-08-13 07:14:44.718053 DEBUG qolsys_panel: data being published: {"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Closed","zone_id":4},"requestID":"ff7ed9bf-31f2-4890-b628-12ff49e78352"},
,
2021-08-13 07:14:44.721484 DEBUG qolsys_panel: call_service: mqtt/publish, {'namespace': 'mqtt', 'topic': 'qolsys/panel/zone_event', 'payload': '{"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Closed","zone_id":4},"requestID":"ff7ed9bf-31f2-4890-b628-12ff49e78352"}\n'},
2021-08-13 07:14:44.932423 DEBUG qolsys_panel: Got zone event: {'topic': 'qolsys/panel/zone_event', 'wildcard': '#', 'payload': '{"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Closed","zone_id":4},"requestID":"ff7ed9bf-31f2-4890-b628-12ff49e78352"}\n'},
2021-08-13 07:14:44.940598 DEBUG qolsys_panel: Got zone Update event: {'topic': 'qolsys/panel/zone_event', 'wildcard': '#', 'payload': '{"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Closed","zone_id":4},"requestID":"ff7ed9bf-31f2-4890-b628-12ff49e78352"}\n'},
2021-08-13 07:14:44.951596 DEBUG qolsys_panel: event_name: MQTT_MESSAGE,
2021-08-13 07:14:44.958284 DEBUG qolsys_panel: data: {'topic': 'qolsys/panel/zone_event', 'wildcard': '#', 'payload': '{"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Closed","zone_id":4},"requestID":"ff7ed9bf-31f2-4890-b628-12ff49e78352"}\n'},
2021-08-13 07:14:44.962116 DEBUG qolsys_panel: kwargs: {'topic': 'qolsys/panel/zone_event', '__thread_id': 'thread-0'},
2021-08-13 07:14:44.966223 DEBUG qolsys_panel: data: {'topic': 'qolsys/panel/zone_event', 'wildcard': '#', 'payload': '{"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Closed","zone_id":4},"requestID":"ff7ed9bf-31f2-4890-b628-12ff49e78352"}\n'},
2021-08-13 07:14:44.970505 DEBUG qolsys_panel: payload: {"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Closed","zone_id":4},"requestID":"ff7ed9bf-31f2-4890-b628-12ff49e78352"},
,
2021-08-13 07:14:44.974342 DEBUG qolsys_panel: payload_json: {'event': 'ZONE_EVENT', 'zone_event_type': 'ZONE_ACTIVE', 'version': 1, 'zone': {'status': 'Closed', 'zone_id': 4}, 'requestID': 'ff7ed9bf-31f2-4890-b628-12ff49e78352'},
2021-08-13 07:14:44.977619 DEBUG qolsys_panel: Zones: {},
2021-08-13 07:14:44.978454 WARNING qolsys_panel: ------------------------------------------------------------,
2021-08-13 07:14:44.979899 WARNING qolsys_panel: Unexpected error in worker for App qolsys_panel:,
2021-08-13 07:14:44.982261 WARNING qolsys_panel: Worker Ags: {'id': '51ecfce8fbdd421ba754244c4849b5da', 'name': 'qolsys_panel', 'objectid': 'd663bb7ea8bf46538a1557cb6029bb3d', 'type': 'event', 'event': 'MQTT_MESSAGE', 'function': <bound method MQTTSubscriber.mqtt_zone_event_event_received of <qolsys_requests.MQTTSubscriber object at 0x7f69626e9f70>>, 'data': {'topic': 'qolsys/panel/zone_event', 'wildcard': '#', 'payload': '{"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Closed","zone_id":4},"requestID":"ff7ed9bf-31f2-4890-b628-12ff49e78352"}\n'}, 'pin_app': True, 'pin_thread': 0, 'kwargs': {'topic': 'qolsys/panel/zone_event', '__thread_id': 'thread-0'}},
2021-08-13 07:14:44.984695 WARNING qolsys_panel: ------------------------------------------------------------,
2021-08-13 07:14:44.987528 WARNING qolsys_panel: Traceback (most recent call last):,
  File "/usr/local/lib/python3.8/site-packages/appdaemon/threading.py", line 936, in worker,
    funcref(args["event"], data, self.AD.events.sanitize_event_kwargs(app, args["kwargs"])),
  File "/conf/apps/ad-qolsys/qolsys_requests.py", line 73, in mqtt_zone_event_event_received,
    self.mqtt_zone_update_event_received(event_name, data, kwargs),
  File "/conf/apps/ad-qolsys/qolsys_requests.py", line 33, in mqtt_zone_update_event_received,
    this_zone = self.app.zones[zoneid],
KeyError: 4,
,
2021-08-13 07:14:44.989057 WARNING qolsys_panel: ------------------------------------------------------------,

btw, appreciate your quick replies on this issue!!

@painkiller did your entities show up? If not, I would say set loglevel to debug, restart AppDaemon, and post logs.

Hello guys,
I have been on this for days! trying to get some entities to show up for PIRS and the panel and so far managed to get them logging in AppDaemon as seen below but there’s no movement in the MQTT broker log apart from

"New client connected from 172.30.32.1 as appdaemon_mqtt_client (p2, c1, k60).’’

Any help would be appreciated!!
(Still quite new to this, only installed HA about a week ago)

2021-08-20 01:19:09.468954 DEBUG qolsys_panel: qolsys_host: 192.168.168.9, qolsys_port: 12345, qolsys_token: 91lyek, qolsys_timeout: 86400, request_topic: qolsys/requests
2021-08-20 01:19:09.485931 INFO qolsys_panel: Creating qolsys_socket
2021-08-20 01:19:09.507865 INFO qolsys_panel: wrapping socket
2021-08-20 01:19:09.555610 INFO qolsys_panel: connecting to socket
2021-08-20 01:19:10.018573 INFO qolsys_panel: Connected wrappedSocket: <ssl.SSLSocket fd=13, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('172.30.33.6', 46310), raddr=('192.168.168.9', 12345)>
2021-08-20 01:19:10.040919 INFO qolsys_panel: Starting listener thread
2021-08-20 01:19:10.079899 INFO qolsys_panel: Previous message repeated 1 times
2021-08-20 01:19:10.120021 INFO qolsys_panel: starting listen
2021-08-20 01:19:10.134730 INFO qolsys_panel: started listener thread
2021-08-20 01:19:10.172605 INFO qolsys_panel: started listener
2021-08-20 01:19:10.223109 INFO qolsys_panel: QolSys Socket Created
2021-08-20 01:19:10.256758 INFO qolsys_panel: listener for requests topic: qolsys/requests
2021-08-20 01:19:10.287662 DEBUG qolsys_panel: call_service: mqtt/subscribe, {'namespace': 'mqtt', 'topic': 'qolsys/requests'}
2021-08-20 01:19:10.329302 DEBUG qolsys_panel: Calling listen_event for qolsys_panel
2021-08-20 01:19:10.371811 INFO qolsys_panel: listener for info topic: qolsys/panel/info
2021-08-20 01:19:10.381803 DEBUG qolsys_panel: call_service: mqtt/subscribe, {'namespace': 'mqtt', 'topic': 'qolsys/panel/info'}
2021-08-20 01:19:10.414749 DEBUG qolsys_panel: Calling listen_event for qolsys_panel
2021-08-20 01:19:10.446635 INFO qolsys_panel: listener for zone event topic: qolsys/panel/zone_event
2021-08-20 01:19:10.459543 DEBUG qolsys_panel: call_service: mqtt/subscribe, {'namespace': 'mqtt', 'topic': 'qolsys/panel/zone_event'}
2021-08-20 01:19:10.500029 DEBUG qolsys_panel: Calling listen_event for qolsys_panel
2021-08-20 01:19:10.533092 INFO qolsys_panel: listener for zone update topic: qolsys/panel/zone_update
2021-08-20 01:19:10.548524 DEBUG qolsys_panel: call_service: mqtt/subscribe, {'namespace': 'mqtt', 'topic': 'qolsys/panel/zone_update'}
2021-08-20 01:19:10.583626 DEBUG qolsys_panel: Calling listen_event for qolsys_panel
2021-08-20 01:19:10.612059 INFO qolsys_panel: listener for arming topic: qolsys/panel/alarming
2021-08-20 01:19:10.629851 DEBUG qolsys_panel: call_service: mqtt/subscribe, {'namespace': 'mqtt', 'topic': 'qolsys/panel/alarming'}
2021-08-20 01:19:10.662729 DEBUG qolsys_panel: Calling listen_event for qolsys_panel
2021-08-20 01:19:10.692155 INFO qolsys_panel: listner for triggered (ALARM) topic: qolsys/alarm/triggered
2021-08-20 01:19:10.710758 DEBUG qolsys_panel: call_service: mqtt/subscribe, {'namespace': 'mqtt', 'topic': 'qolsys/alarm/triggered'}
2021-08-20 01:19:10.743262 DEBUG qolsys_panel: Calling listen_event for qolsys_panel
2021-08-20 01:19:10.765639 DEBUG qolsys_panel: call_service: mqtt/publish, {'namespace': 'mqtt', 'topic': 'qolsys/requests', 'payload': '{"event": "INFO", "token": "91loek"}'}
2021-08-20 01:19:10.804442 INFO AppDaemon: App initialization complete
2021-08-20 01:19:36.534338 DEBUG qolsys_panel: data received from qolsys panel: {"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Open","zone_id":1},"requestID":"9c00b439-5daf-473c-b3e7-d15c36bc91a2"}
 len(data): 155
2021-08-20 01:19:36.589971 INFO qolsys_panel: publishing ZONE_EVENT event to: qolsys/panel/zone_event
2021-08-20 01:19:36.645638 DEBUG qolsys_panel: data being published: {"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Open","zone_id":1},"requestID":"9c00b439-5daf-473c-b3e7-d15c36bc91a2"}
2021-08-20 01:19:36.660295 DEBUG qolsys_panel: call_service: mqtt/publish, {'namespace': 'mqtt', 'topic': 'qolsys/panel/zone_event', 'payload': '{"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Open","zone_id":1},"requestID":"9c00b439-5daf-473c-b3e7-d15c36bc91a2"}\n'}
2021-08-20 01:19:37.149789 DEBUG qolsys_panel: data received from qolsys panel: {"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Closed","zone_id":1},"requestID":"8b1de406-cd05-4056-ab20-3c9d14a15fbb"}
 len(data): 157
2021-08-20 01:19:37.164711 INFO qolsys_panel: publishing ZONE_EVENT event to: qolsys/panel/zone_event
2021-08-20 01:19:37.177806 DEBUG qolsys_panel: data being published: {"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Closed","zone_id":1},"requestID":"8b1de406-cd05-4056-ab20-3c9d14a15fbb"}
2021-08-20 01:19:37.185635 DEBUG qolsys_panel: call_service: mqtt/publish, {'namespace': 'mqtt', 'topic': 'qolsys/panel/zone_event', 'payload': '{"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Closed","zone_id":1},"requestID":"8b1de406-cd05-4056-ab20-3c9d14a15fbb"}\n'}
2021-08-20 01:21:19.323098 DEBUG qolsys_panel: data received from qolsys panel: {"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Open","zone_id":19},"requestID":"bbf10baa-f0d4-4f96-a8a4-8eaf284b1781"}
 len(data): 156
2021-08-20 01:21:19.352102 INFO qolsys_panel: publishing ZONE_EVENT event to: qolsys/panel/zone_event
2021-08-20 01:21:19.407845 DEBUG qolsys_panel: data being published: {"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Open","zone_id":19},"requestID":"bbf10baa-f0d4-4f96-a8a4-8eaf284b1781"}
2021-08-20 01:21:19.431522 DEBUG qolsys_panel: call_service: mqtt/publish, {'namespace': 'mqtt', 'topic': 'qolsys/panel/zone_event', 'payload': '{"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Open","zone_id":19},"requestID":"bbf10baa-f0d4-4f96-a8a4-8eaf284b1781"}\n'}
2021-08-20 01:21:19.484353 DEBUG qolsys_panel: data received from qolsys panel: {"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Closed","zone_id":19},"requestID":"65e46dca-e971-4069-86f6-12fb8d0ff732"}
 len(data): 158
2021-08-20 01:21:19.509576 INFO qolsys_panel: publishing ZONE_EVENT event to: qolsys/panel/zone_event
2021-08-20 01:21:19.547424 DEBUG qolsys_panel: data being published: {"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Closed","zone_id":19},"requestID":"65e46dca-e971-4069-86f6-12fb8d0ff732"}
2021-08-20 01:21:19.562941 DEBUG qolsys_panel: call_service: mqtt/publish, {'namespace': 'mqtt', 'topic': 'qolsys/panel/zone_event', 'payload': '{"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Closed","zone_id":19},"requestID":"65e46dca-e971-4069-86f6-12fb8d0ff732"}\n'}
2021-08-20 01:24:42.819271 DEBUG qolsys_panel: data received from qolsys panel: {"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Open","zone_id":1},"requestID":"5844de8c-1445-4d0a-b72c-942fd2a8a789"}
 len(data): 155
2021-08-20 01:24:42.832700 INFO qolsys_panel: publishing ZONE_EVENT event to: qolsys/panel/zone_event
2021-08-20 01:24:42.848096 DEBUG qolsys_panel: data being published: {"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Open","zone_id":1},"requestID":"5844de8c-1445-4d0a-b72c-942fd2a8a789"}
2021-08-20 01:24:42.857460 DEBUG qolsys_panel: call_service: mqtt/publish, {'namespace': 'mqtt', 'topic': 'qolsys/panel/zone_event', 'payload': '{"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Open","zone_id":1},"requestID":"5844de8c-1445-4d0a-b72c-942fd2a8a789"}\n'}
2021-08-20 01:24:42.924490 DEBUG qolsys_panel: data received from qolsys panel: {"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Closed","zone_id":1},"requestID":"bb30bc6f-c201-4244-802f-300c4f3caace"}
 len(data): 157
2021-08-20 01:24:42.947380 INFO qolsys_panel: publishing ZONE_EVENT event to: qolsys/panel/zone_event
2021-08-20 01:24:42.962763 DEBUG qolsys_panel: data being published: {"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Closed","zone_id":1},"requestID":"bb30bc6f-c201-4244-802f-300c4f3caace"}
2021-08-20 01:24:42.971929 DEBUG qolsys_panel: call_service: mqtt/publish, {'namespace': 'mqtt', 'topic': 'qolsys/panel/zone_event', 'payload': '{"event":"ZONE_EVENT","zone_event_type":"ZONE_ACTIVE","version":1,"zone":{"status":"Closed","zone_id":1},"requestID":"bb30bc6f-c201-4244-802f-300c4f3caace"}\n'}

MQTT:
logins: []
customize:
active: false
folder: mosquitto
certfile: fullchain.pem
keyfile: privkey.pem
require_certificate: false
allow_anonymous: true

@ThomasyTasty and @painkiller - for some reason both of you are not getting entities.

Two requests:

  1. Make sure MQTT Discovery is turned on in HA
  2. Turn on debug and restart AppDaemon

Then post logs back here.

If possible, subscribe to your qolsys info topic (by default qolsys/info) and post that too.

@crazeeeyez Thanks for the reply!

  1. I have ‘“Enabled Discovery”’ within the MQTT integration
  2. I have enabled it in the Qolsys app, is there another way for debug on AppDaemon?

By subscribe do you mean in the MQTT integration where I can enter qolsys/info and click subscribe? If so I tried that and sent a couple of commands to the panel and nothing appeared.

Many Thanks!

MQTT looks like this, could it be the socket error causing it?

[23:05:16] INFO: Successfully send discovery information to Home Assistant.
[23:05:20] INFO: Successfully send service information to the Supervisor.
1629497109: Config loaded from /etc/mosquitto/mosquitto.conf.
1629497109: Loading plugin: /usr/share/mosquitto/auth-plug.so
1629497109:  ├── Username/password checking enabled.
1629497109:  ├── TLS-PSK checking enabled.
1629497109:  └── Extended authentication not enabled.
1629497109: Opening ipv4 listen socket on port 1883.
1629497109: Opening ipv6 listen socket on port 1883.
1629497109: Opening websockets listen socket on port 1884.
1629497109: Warning: Mosquitto should not be run as root/administrator.
1629497109: mosquitto version 1.6.12 running
1629497109: New connection from 127.0.0.1 on port 1883.
1629497109: Socket error on client <unknown>, disconnecting.
1629497217: New connection from 192.168.2.146 on port 1883.
1629497217: New client connected from 192.168.2.146 as 5GH0E0zKgSjjYZm3mAz7g9 (p2, c1, k60).
1629497311: New connection from 172.30.32.1 on port 1883.
1629497311: New client connected from 172.30.32.1 as appdaemon_mqtt_client (p2, c1, k60).