Can't find addons folder for appdaemon

Hi there,

I’ve installed AppDaemon in Home Assistant but can’t find the folder which is used for configuration. And there’s no folder in the files named ‘addon_configs’

The web GUI (on port 5050) loads fine and although idle it can see the hello world app.

I do though get the following in my log - I’m not sure if that’s having an issue.

Error handling request
Traceback (most recent call last):
File “/usr/lib/python3.11/site-packages/aiohttp/web_protocol.py”, line 332, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “aiohttp/_http_parser.pyx”, line 557, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message:
Invalid method encountered:

b'\x16\x03\x01\x06\xde\x01'
  ^

Many thanks!

Hi,
very similar on my side.

edit
running HAOS,
Core 2024.10.3, Supervisor 2024.10.2, Operating System 13.2, Frontend 20241002.3
appdaemon 0.16.7
Just found: the hostname as shown in HA\appdaemon\information
equals the folder name: a0d7b954_appdaemon
/edit

I eventually found the appdaemon folder here:
/addon_configs/a0d7b954_appdaemon/apps/hello.py
/addon_configs/a0d7b954_appdaemon/appdaemon.yaml

I manipulated hellp.py. This way I could verify that this is the one that is actually being loaded on startup.
But I can’t access these files from within HA, only via ssh.
I tried creating the appdaemon folder and files in /config.
I even tried to make appdaemon scan them by adding the following lines to
/addon_configs/a0d7b954_appdaemon/appdaemon.yaml

apps: /config/appdaemon/apps/apps.yaml
app_dir: /config/appdaemon/apps

But this also did not work. I tried both versions ‘config/’ and ‘homeassistant/’. There was a change recently. Maybe the problem is related to that. While trouble shouting I reinstalled appdaemon. I saw both versions one after the other: ‘confgi/’ and ‘homeassistant/’ …

My appdaemon log shows:
2024-10-21 23:53:14.308015 INFO HASS: Startup condition met: hass state=RUNNING
2024-10-21 23:53:14.308248 INFO HASS: All startup conditions met
2024-10-21 23:53:14.326061 INFO AppDaemon: Processing restart for HASS
2024-10-21 23:53:14.326242 INFO AppDaemon: Terminating hello_world
2024-10-21 23:53:14.326892 INFO AppDaemon: Reloading Module: /config/apps/hello.py
2024-10-21 23:53:14.328182 INFO AppDaemon: Loading app hello_world using class HelloWorld from module hello

Here it refers to the ‘normal’ folder, that is not visible for me. Seems to be some kind of folder shadowing which may went wrong on installation?

BR

Hi again,
ok solved. They really moved the config folder according to:

I solved the “Studio Code Server” access problem by adding a symbolic link via ssh.
sudo ln -s /addon_configs/a0d7b954_appdaemon/ /homeassistant/appdaemon

My “hello world” works fine. Now I’m ready for an HA-appdaemon journey :wink:

BR

Brilliant - that worked! Thank you ever so much.