Announcement: HADashboard v2 Beta!

I have it working on the Raspberry Pi via Docker, not much different. Quick steps

  • Create a folder and clone the git, cd into appdaemon folder

  • Modify Dockerfile, replacing
    FROM python:3.4
    with
    FROM resin/raspberrypi-python:3.4
    so you’re getting an ARM base image

  • Modify appdaemon/appdash.py and change the create_server line under run_dash to:
    f = loop.create_server(handler, "0.0.0.0", int(conf.dash_port))

  • Setup an appropriate appdaemon.cfg file in the conf folder:

    [AppDaemon]
    ha_url = HASS_URL_HERE!
    ha_key = HASS_API_KEY_HERE!
    logfile = STDOUT
    errorfile = STDERR
    dash_url = http://LAN_IP_OF_DOCKER_HOST_HERE:5050
    disable_apps = 1

  • Same build/create/start stuff as before:

    docker build -t appdaemon_dashboard .
    docker create --name appdaemon_dashboard --restart always -p 5050:5050 -v /etc/localtime:/etc/localtime:ro -v FULL_PATH_TO_CONF:/conf appdaemon_dashboard
    docker start appdaemon_dashboard
    docker logs -f appdaemon_dashboard

  • Profit!

Build time and startup/runtime performance are notably better than v1 :slight_smile:

3 Likes