HADashboard - Dashboards disabled

Hi, I’m a newbie with Home Assistant but have some computer and programming skills.
I’ve installed Home Assistant using Hassbian.
Now I’ve installed HADashboard using Hassbian script

sudo hassbian-config install appdaemon

This is my appdaemon.yaml file
log:
accessfile: /home/homeassistant/appdaemon/logs/access.log
errorfile: /home/homeassistant/appdaemon/logs/error.log
logfile: /home/homeassistant/appdaemon/logs/appdaemon.log
log_generations: 3
log_size: 1000000
appdaemon:
disbale_apps: 1
threads: 10
api_key: ****
plugins:
HASS:
type: hass
ha_url: http://hassbian.local.mak:8123
ha_key: ****
HADashboard:
dash_url: http://hassbian.local.mak:5050
dash_dir: /home/homeassistant/.homeassitant/dashboards

and this is the resulting log file
2018-10-25 09:20:18.102340 INFO AppDaemon Version 3.0.1 starting

2018-10-25 09:20:18.103039 INFO Configuration read from: /home/homeassistant/appdaemon/appdaemon.yaml

2018-10-25 09:20:18.107703 INFO AppDaemon: Starting Apps

2018-10-25 09:20:18.109191 WARNING config_dir: /home exists, but is not writeable, owner: root

2018-10-25 09:20:18.116298 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin

2018-10-25 09:20:18.158606 INFO AppDaemon: HASS: HASS Plugin Initializing

2018-10-25 09:20:18.159708 INFO AppDaemon: HASS: HASS Plugin initialization complete

2018-10-25 09:20:18.160649 INFO Dashboards are disabled

2018-10-25 09:20:18.161050 INFO API is disabled

2018-10-25 09:20:18.200748 INFO AppDaemon: HASS: Connected to Home Assistant 0.80.3

2018-10-25 09:20:18.355008 INFO AppDaemon: Got initial state from namespace default

2018-10-25 09:20:20.414834 INFO AppDaemon: Adding /home/homeassistant/appdaemon/apps to module import path

2018-10-25 09:20:20.417256 INFO AppDaemon: App initialization complete

the problem is that I cannot access dashboard at /myip:5050
I think the problem is on
Dashboards are disabled
and
API is disabled

Can someone help me to found the issue?

first of all it is hard to read your yaml if you dont present it as codeblock.
but i see you use HADashboard and not hadashboard in your config, so you probably did use some old instructions from somewhere.

the official docs are here:
https://appdaemon.readthedocs.io/en/latest/INSTALL.html

if you have api key set in HA and indention is right, i think your only problem is the capitals.
dont worry about the disabled api, you dont want to use that.

Thakyou very much Rene. I tought to have formatted the log file but I didn’t.
My first appdaemon.yaml used “hadashboard”, then I tried with “HADashboard” but nothing changed.
Now I’ve tried to use again “hadashboard” but log remains

2018-10-25 10:54:06.565791 INFO AppDaemon Version 3.0.1 starting
2018-10-25 10:54:06.567312 INFO Configuration read from: /home/homeassistant/appdaemon/appdaemon.yaml
2018-10-25 10:54:06.573880 INFO AppDaemon: Starting Apps
2018-10-25 10:54:06.576608 WARNING config_dir: /home exists, but is not writeable, owner: root
2018-10-25 10:54:06.586024 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2018-10-25 10:54:06.630549 INFO AppDaemon: HASS: HASS Plugin Initializing
2018-10-25 10:54:06.633115 INFO AppDaemon: HASS: HASS Plugin initialization complete
2018-10-25 10:54:06.635572 INFO Dashboards are disabled
2018-10-25 10:54:06.636858 INFO API is disabled
2018-10-25 10:54:06.679100 INFO AppDaemon: HASS: Connected to Home Assistant 0.80.3
2018-10-25 10:54:06.837265 INFO AppDaemon: Got initial state from namespace default
2018-10-25 10:54:08.911997 INFO AppDaemon: Adding /home/homeassistant/appdaemon/apps to module import path
2018-10-25 10:54:08.916316 INFO AppDaemon: App initialization complete

please share your yaml file as code block

log:
  accessfile: /home/homeassistant/appdaemon/logs/access.log
  errorfile: /home/homeassistant/appdaemon/logs/error.log
  logfile: /home/homeassistant/appdaemon/logs/appdaemon.log
  log_generations: 3
  log_size: 1000000
appdaemon:
  disbale_apps: 1
  threads: 10
  api_key: *****
  plugins:
    HASS:
      type: hass
      ha_url: http://hassbian.local.mak:8123
      ha_key: *****
  hadashboard:
    dash_url: http://hassbian.local.mak:5050
    dash_dir: /home/homeassistant/.homeassitant/dashboards

i see. thats why its important to show yaml as codeblock :wink:

hadashboard shouldnt be a sub from appdaemon.
so remove the spaces before hadashboard.

2 more other things:

  1. you dont use appdaemon api, so you dont need to set api_key. for connection to HA you set the HA api key as ha_key
  2. its not disbale_apps but disable_apps

:scream:
How foolish of me. Stupid issues are sometimes worst issues!
Tankyou very much, now I have a connection and Dashboards are enabled.
I can see just a blank page…but …one step at a time.
Enjoy your day, Rene!

1 Like

enjoy playing around :wink: