user@raspberrypi:/home/homeassistant/conf $ sudo appdaemon -c /home/homeassistant/conf
2019-01-13 13:08:09.196505 INFO AppDaemon Version 3.0.2 starting
2019-01-13 13:08:09.197134 INFO Configuration read from: /home/homeassistant/conf/appdaemon.yaml
2019-01-13 13:08:09.201414 INFO AppDaemon: Starting Apps
2019-01-13 13:08:09.209281 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2019-01-13 13:08:09.423501 INFO AppDaemon: HASS: HASS Plugin Initializing
2019-01-13 13:08:09.424509 INFO AppDaemon: HASS: HASS Plugin initialization complete
2019-01-13 13:08:09.425380 INFO Starting Dashboards
2019-01-13 13:08:09.441225 INFO API is disabled
2019-01-13 13:08:09.456470 INFO AppDaemon: HASS: Connected to Home Assistant 0.84.6
2019-01-13 13:08:09.494752 INFO AppDaemon: Got initial state from namespace default
2019-01-13 13:08:11.662408 INFO AppDaemon: Adding /home/homeassistant/conf/apps to module import path
2019-01-13 13:08:11.664762 INFO AppDaemon: App initialization complete
So then I changed the owner and group of all files regarding appdaemon to be homeassistant and then try to run appdaemon as a homeassistant user as well
As for the IP, if on the same machine use localhost…don’t need to worry about IP changes like your original problem!!
EG:
ha_url: http://localhost:8123
hadashboard:
dash_url: http://localhost:5050
thats possible.
allthough i rather prefer to use an ip then something i dont know what it is.
you need to know the ip anyway if you want to browse to the server locally (unless you install a local dns server)
@nomaam indeed you best use 1 user (in this case homeassistant). for sure because you have your AD configuration inside your homeassistant configuration.
it would have been even better if you (besides the HASS venv) also create a seperate venv for appdaemon.
but at least because HASS is in a venv they are not in the same python area.