Qolsys_panel integration problems

Hi Everyone!

I’m trying to get the QolsysGateway working, but im getting errors everywhere.

A whole mess of these.
2024-09-07 16:19:28.180923 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/mqtt/exceptions.py - ignoring
2024-09-07 16:19:28.182412 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/mqtt/updater.py - ignoring

This seems bad.
2024-09-07 16:19:28.239903 ERROR qolsys_panel: Task exception was never retrieved

and a lot of these.
uture: <Task finished name=‘Task-336’ coro=<ADAPI.call_service() done, defined at /usr/lib/python3.11/site-packages/appdaemon/adapi.py:1691> exception=ServiceException(‘Unknown service (mqtt/mqtt/subscribe) in call_service from qolsys_panel’)>
Traceback (most recent call last):
File “/usr/lib/python3.11/site-packages/appdaemon/adapi.py”, line 1762, in call_service
return await self.AD.services.call_service(namespace, d, s, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/lib/python3.11/site-packages/appdaemon/services.py”, line 169, in call_service
raise ServiceException(f"Unknown service ({namespace}/{domain}/{service}) in call_service from {name}")
ServiceException: Unknown service (mqtt/mqtt/subscribe) in call_service from qolsys_panel
2024-09-07 16:19:28.240284 DEBUG qolsys_panel: Calling listen_event for qolsys_panel
2024-09-07 16:19:28.241933 ERROR qolsys_panel: Task exception was never retrieved
future: <Task finished name=‘Task-338’ coro=<ADAPI.call_service() done, defined at /usr/lib/python3.11/site-packages/appdaemon/adapi.py:1691> exception=ServiceException(‘Unknown service (mqtt/mqtt/subscribe) in call_service from qolsys_panel’)>
Traceback (most recent call last):
File “/usr/lib/python3.11/site-packages/appdaemon/adapi.py”, line 1762, in call_service
return await self.AD.services.call_service(namespace, d, s, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/lib/python3.11/site-packages/appdaemon/services.py”, line 169, in call_service
raise ServiceException(f"Unknown service ({namespace}/{domain}/{service}) in call_service from {name}")
ServiceException: Unknown service (mqtt/mqtt/subscribe) in call_service from qolsys_panel
2024-09-07 16:19:28.242311 DEBUG qolsys_panel: Calling listen_event for qolsys_panel

There is nothing in the MQTT Logs

2024-09-07 16:19:28.427386 DEBUG qolsys_panel: call_service: mqtt/publish, {‘namespace’: ‘mqtt’, ‘retain’: True, ‘topic’: ‘homeassistant/sensor/qolsys_panel_last_error/config’, ‘payload’: ‘{“name”: “Last Error”, “device_class”: “timestamp”, “state_topic”: “homeassistant/sensor/qolsys_panel_last_error/state”, “availability_mode”: “all”, “availability”: [{“topic”: “homeassistant/alarm_control_panel/qolsys_panel/availability”, “payload_available”: “online”, “payload_not_available”: “offline”}, {“topic”: null, “payload_available”: null, “payload_not_available”: null}], “json_attributes_topic”: “homeassistant/sensor/qolsys_panel_last_error/attributes”, “unique_id”: “qolsys_panel_last_error”, “device”: {“name”: “Qolsys Panel”, “identifiers”: [“qolsys_panel”], “manufacturer”: “Qolsys”, “model”: “IQ Panel 2+”}}’}
2024-09-07 16:19:28.427568 DEBUG qolsys_panel: call_service: mqtt/publish, {‘namespace’: ‘mqtt’, ‘retain’: True, ‘topic’: ‘homeassistant/alarm_control_panel/qolsys_panel/availability’, ‘payload’: ‘online’}
2024-09-07 16:19:28.427639 DEBUG qolsys_panel: call_service: mqtt/publish, {‘namespace’: ‘mqtt’, ‘retain’: True, ‘topic’: ‘homeassistant/sensor/qolsys_panel_last_error/state’, ‘payload’: None}
2024-09-07 16:19:28.427699 DEBUG qolsys_panel: call_service: mqtt/publish, {‘namespace’: ‘mqtt’, ‘retain’: True, ‘topic’: ‘homeassistant/sensor/qolsys_panel_last_error/attributes’, ‘payload’: ‘{“type”: null, “desc”: null}’}
2024-09-07 16:19:28.434305 DEBUG qolsys_panel: Data received (len: 3): ACK
2024-09-07 16:19:28.435881 DEBUG qolsys_panel: ACK - ignoring.
2024-09-07 16:19:28.446411 WARNING MQTT: Error calling Home Assistant service mqtt/mqtt/publish
2024-09-07 16:19:28.452647 DEBUG qolsys_panel: Encoding detection: ascii is most likely the one.
2024-09-07 16:19:28.453258 WARNING MQTT: Code: 400, error: 400: Bad Request
2024-09-07 16:19:28.497320 INFO qolsys_panel: Previous message repeated 1 times
2024-09-07 16:19:28.497555 DEBUG qolsys_panel: Data received (len: 7440):

apps.yaml

---
hello_world:
  module: hello
  class: HelloWorld

qolsys_panel:
  module: gateway
  class: QolsysGateway
  panel_host: 192.168.1.XXX
  panel_token: XXXXX
  panel_user_code: XXXXX
  mqtt_namespace: mqtt
  request_topic: qolsys/requests # Optional
  qolsys_info_topic: qolsys/panel/info # Optional
  qolsys_zone_update_topic: qolsys/panel/zone_update # Optional
  qolsys_zone_event_topic: qolsys/panel/zone_event # Optional
  qolsys_alarming_event_topic: qolsys/panel/alarming # Optional
  qolsys_disarming_event_topic: qolsys/panel/disarm # Optional
  qolsys_confirm_arm_code: False # Optional
  qolsys_confirm_disarm_code: False # Optional
  qolsys_arm_away_always_instant: False # Optional
  homeassistant_mqtt_discovery_topic: homeassistant/  
  log_level: DEBUG

appdaemon.yaml

---
appdaemon:
  latitude: 
  longitude: 
  elevation: 2
  time_zone: America/New_York
  plugins:
    HASS:
      type: hass
    MQTT:
      type: hass
      namespace: mqtt
      client_host: 'core-mosquitto'
      client_port: 1883
      client_id: my-appdaemon     
      verbose: true
      client_user: xxxxx
      client_password: xxxxxxxx
http:
  url: http://127.0.0.1:5050
admin:
api:
hadashboard:

Did you get this figured out? I have a similar issue. The integration seems to be working so far as the messages come through indicating that the panel is online. But it seems like there are errors with sensor discovery? It’s hard to know whether I’m running an incompatible version of Qolsys panel software (2.7.2-ADCS 9.7.6) or whether I still have configuration gremlins in one of these yaml files somewhere.

i am not sure if i sitll have that error, but it is working just fine for me.