Impossible to start Appdaemon 4

Hi,
I’m struggling to start Appdaemon 4.
I’ve installed Hass.io via docker using this git script: https://github.com/home-assistant/hassio-installer
Because I have Eurotronic Zwave thermostatic valve, i saw that there is a Appdaemon script https://github.com/jmarsik/ad-eurotronic-trv-valvepos so i need to install Appdaemon.

I have installed it via plugin manager, first i had a problem of file missing (appdaemon.yaml) in appdaemon folder.

But now i have another problem which i can’t figure to sort. Here is the log extract:

[13:20:37] INFO: Starting AppDaemon...
Traceback (most recent call last):
  File "/usr/bin/appdaemon", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python3.8/site-packages/appdaemon/__main__.py", line 384, in main
    admain.main()
  File "/usr/lib/python3.8/site-packages/appdaemon/__main__.py", line 216, in main
    if "secrets" in config:
TypeError: argument of type 'NoneType' is not iterable

Is there anything i can do to start Appdaemon ?

Thanks

Can you please show your appdaemon.yaml file? I think I could be that you defined some secrets in appdaemon.yaml but don’t have a secrets.yaml that stores the actual secrets.

1 Like

I just created appdaemon.yaml by using touch on the Pi. There is nothing inside.

Well, there must be something according to the instruction. Here is mine which works:

secrets: /config/secrets.yaml

appdaemon:
  latitude: XX.XXXXXX
  longitude: XX.XXXXXX
  elevation: 43
  time_zone: Europe/Warsaw
  plugins:
    HASS:
      type: hass
http:
  url: http://127.0.0.1:5050      
hadashboard:
admin:
api:
1 Like

Try to add @pniewiadowski suggestion to the appdaemon.yaml file and see if it works. Otherwise, I suggest uninstalling the add-on, removing all folders related to appdaemon and install the add-on again.

Work perfectly ! Thanks very much !!