XaF / qolsysgw

Qolsys IQ Panel 2+ gateway to an Home Assistant Alarm Control Panel
MIT License
115 stars 11 forks source link

AppDeamon Warnings when starting qolsysgw in Home Assistant #136

Closed shivamchoudhary closed 7 months ago

shivamchoudhary commented 7 months ago

I have installed Qolsys Gateway with HACS.

Location of Install is /homeassistant/appdaemon/apps/qolsysgw and my apps.yaml file is below

qolsys_panel:
  module: gateway
  class: QolsysGateway
  panel_host: ip
  panel_token: token

But when AppDeamon starts I get following warnings, can you please let me know if I am missing a configuration or two ?

023-12-12 06:13:50.391936 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/gateway.py - ignoring 2023-12-12 06:13:50.393177 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/qolsys/utils.py - ignoring 2023-12-12 06:13:50.394080 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/qolsys/exceptions.py - ignoring 2023-12-12 06:13:50.395149 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/qolsys/control.py - ignoring 2023-12-12 06:13:50.396352 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/qolsys/sensors.py - ignoring 2023-12-12 06:13:50.397533 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/qolsys/events.py - ignoring 2023-12-12 06:13:50.399021 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/qolsys/observable.py - ignoring 2023-12-12 06:13:50.399795 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/qolsys/partition.py - ignoring 2023-12-12 06:13:50.401171 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/qolsys/config.py - ignoring 2023-12-12 06:13:50.402107 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/qolsys/state.py - ignoring 2023-12-12 06:13:50.403181 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/qolsys/socket.py - ignoring 2023-12-12 06:13:50.404291 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/qolsys/actions.py - ignoring 2023-12-12 06:13:50.405361 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/mqtt/utils.py - ignoring 2023-12-12 06:13:50.406112 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/mqtt/exceptions.py - ignoring 2023-12-12 06:13:50.407320 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/mqtt/updater.py - ignoring 2023-12-12 06:13:50.408183 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/mqtt/listener.py - ignoring

XaF commented 7 months ago

Hello!

This one shouldn't appear as a warning:

023-12-12 06:13:50.391936 WARNING AppDaemon: No app description found for: /config/apps/qolsysgw/gateway.py - ignoring

As it is being loaded as module:

qolsys_panel:
  module: gateway

So this is surprising. The others are expected as they are files that are used by the application, but AppDaemon expects 1 app = 1 file, which I did not want to do for obvious reasons of code organization.

shivamchoudhary commented 7 months ago

Oh I see - yeah strange that AppDeamon did not even load gateway.py in that case. Would you know of a workaround ?

XaF commented 7 months ago

Is your apps.yaml located at /homeassistant/appdaemon/apps.yaml ?

shivamchoudhary commented 7 months ago

Sorry for my late reply - yeah I managed to fix it - new AppDeamon apps.yaml location was the problem.