I am trying to figure out how to use HA Dashboard on AppDaemon - but I can’t get the bootstrap hello to show up in the browser.
I am following the instructions on http://appdaemon.readthedocs.io/en/latest/DOCKER_TUTORIAL.html, and have started my appdaemon container with the following (running on same docker host as my HA install):
docker run --name=appdaemon -d -p 5050:5050 \
--env HA_URL="http://$HOSTNAME:8123" \
--env HA_KEY="<<redacted>>" \
--env DASH_URL="http://$HOSTNAME:5050" \
--volume /home/jamie/had-conf:/conf \
acockburn/appdaemon:latest
When it starts up I never see the HADashboard Started entry stated in the docs:
2017-04-01 14:26:48.348260 INFO HADashboard Started
2017-04-01 14:26:48.349135 INFO Listening on ('0.0.0.0', 5050)
and trying to connect to the port 5050 with the browser doesn’t work, confirmed by installing netstat on the container to see that no listeners are running.
Are the docs out of date, or am I missing something?
I notice in the container logs that the API and dashboards are disabled, but cannot find any docs that show how to enable them:
2018-06-03 17:43:21.982312 INFO Dashboards are disabled
2018-06-03 17:43:21.982374 INFO API is disabled
Any ideas? Thanks
Full container logs:
2018-06-03 17:43:21.973732 INFO AppDaemon Version 3.0.1 starting
2018-06-03 17:43:21.973846 INFO Configuration read from: /conf/appdaemon.yaml
2018-06-03 17:43:21.974618 INFO AppDaemon: Starting Apps
2018-06-03 17:43:21.975989 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2018-06-03 17:43:21.981972 INFO AppDaemon: HASS: HASS Plugin Initializing
2018-06-03 17:43:21.982175 INFO AppDaemon: HASS: HASS Plugin initialization complete
2018-06-03 17:43:21.982312 INFO Dashboards are disabled
2018-06-03 17:43:21.982374 INFO API is disabled
2018-06-03 17:43:21.986128 INFO AppDaemon: HASS: Connected to Home Assistant 0.64.3
2018-06-03 17:43:22.015468 INFO AppDaemon: Got initial state from namespace default
2018-06-03 17:43:24.022507 INFO AppDaemon: Reading config
2018-06-03 17:43:24.023458 INFO AppDaemon: /conf/apps/apps.yaml added or modified
2018-06-03 17:43:24.023535 INFO AppDaemon: /conf/apps/apps.yaml added or modified
2018-06-03 17:43:24.023632 INFO AppDaemon: App 'hello_world' added
2018-06-03 17:43:24.023745 INFO AppDaemon: Adding /conf/apps to module import path
2018-06-03 17:43:24.023912 INFO AppDaemon: Loading App Module: /conf/apps/hello.py
2018-06-03 17:43:24.027890 INFO AppDaemon: Initializing app hello_world using class HelloWorld from module hello
2018-06-03 17:43:24.062249 INFO hello_world: Hello from AppDaemon
2018-06-03 17:43:24.063095 INFO hello_world: You are now ready to run Apps!
2018-06-03 17:43:24.063542 INFO AppDaemon: App initialization complete