Installing HADashboard

Hi

Im now to HA, and have it running on a dedicated Ubuntu 16 virtual machine

i really want the tablet dashboard like i had in OpenHAB and i have seen the following
https://home-assistant.io/docs/ecosystem/hadashboard/installation/

i dont use docker on this VM however, can i just install it on the same VM as HA?

1 Like

You probably want to use the newer version of HAdashboard which uses appdaemon:

Installation:

(yes the first example you see of the new HAdashboard v2 is THAT garish. I don’t know why. There are better examples.)

I believe the latest version is Beta 3:

thanks, can i just install on my HA vm or do i need to build out docker and install it seperate?

Is there any video tutorial for installing HADashboard?

If you have hassbian installed there is hassbian_config show command which shows the list of installable components. Here is also appdaemon. You can install it simply by run this command:

sudo hassbian_config install appdaemon

Now I investigate how to set and run HADASHBOARD. Seems like there is no easy manual nowhere. Shame.

are the original docs not easy enough?

http://appdaemon.readthedocs.io/en/latest/

No it is not easy. It is written for docker or hass.io. Not for hassbian. Could you help describe how to run appdaemon in hassbian?

for hassbian follow the steps

Install Using pip3

@ReneTode yes, you are right - pip3 scenario works. Thanks.

Can we add to the docs that the following needs to be done under the dashboards dir…

sudo mkdir compiled
cd compiled
sudo mkdir css
sudo mkdir javascript

I got some problems, I can’t see the dashboard in my browser.
Installed on a AIO with pip3.
Have maked the directories css and javascript in compiled directory.

I got rw-r–r-- as homeassistant on all files under conf/

This is my error:

2017-11-28 19:52:38.239633 INFO AppDaemon Version 2.1.12 starting
2017-11-28 19:52:38.240614 INFO Configuration read from: /home/homeassistant/.homeassistant/conf/appdaemon.yaml
2017-11-28 19:52:38.479894 INFO Starting Apps
2017-11-28 19:52:38.673285 INFO Got initial state
2017-11-28 19:52:38.675155 INFO App initialization complete
2017-11-28 19:52:38.676529 INFO Starting dashboard
2017-11-28 19:52:38.692793 WARNING ------------------------------------------------------------
2017-11-28 19:52:38.693531 WARNING Unexpected error in dashboard thread
2017-11-28 19:52:38.694230 WARNING ------------------------------------------------------------
2017-11-28 19:52:38.700055 WARNING Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_urldispatcher.py", line 401, in __init__
raise ValueError('Not a directory')
ValueError: Not a directory

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/appdaemon/rundash.py", line 319, in run_dash
setup_routes(conf.dashboard_obj)
  File "/usr/local/lib/python3.6/site-packages/appdaemon/rundash.py", line 289, in setup_routes
app.router.add_static('/compiled_javascript', dashboard.compiled_javascript_dir)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_urldispatcher.py", line 845, in add_static
follow_symlinks=follow_symlinks)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_urldispatcher.py", line 404, in __init__
"No directory exists at '{}'".format(directory)) from error
ValueError: No directory exists at '/home/homeassistant/.homeassistant/conf/compiled/javascript'

2017-11-28 19:52:38.700934 WARNING ------------------------------------------------------------
2017-11-28 19:52:38.701645 INFO API is disabled
2017-11-28 19:52:38.799291 INFO Connected to Home Assistant 0.58.1

I have mine set as 755 rwxr-xr-x created by root

That doesn’t work for me either…

ls -l /home/homeassistant/.homeassistant/conf/compiled

What does the above give?

ls -l /home/homeassistant/.homeassistant/conf/compiled

gives me:
ls: can not access ‘/home/homeassistant/.homeassistant/conf/compiled’: The file or directory doesn’t exist

I had the compiled directory under dashboards/… That’s why! Thank you for the help! :slight_smile:

1 Like

Thanks @keithh666 I thought I had missed a step to install something but it turns out what I missed was manually creating those directories. I too created “compiled” in the dashboards directory; once I moved it up one level I was in business.

nope they suck and are misleading

easy enough they are random bunched together nothing is complete from start to finish of a particular install of appdeamon and HADashboard looked like it was hastily thrown out there from the feedback I been getting is install docker because it is easier following those instructions I doubt I hurt anybody’s feeling as very little care went into those instructions so whoever made it does not care what I have to say about it

well then instead whining and crying about how your feelings got hurt and instead provide a link to the "Official install instructions that is for Venv install that works if it is different then what I came across on their site and actually works I will post a apology on here

this is the crappy instructions I came across https://appdaemon.readthedocs.io/en/stable/DASHBOARD_INSTALL.html

one example is where is this file located
You just need to add a directive to the appdaemon.yaml file - dash_url

here is another example from my count I see at least 5 different methods of installing on different platforms all ran together on one page don’t know where one leaves off and another starts but according to the page title it suggests that all it applies to Venv install which I am not convinced on
https://appdaemon.readthedocs.io/en/stable/INSTALL.html#install-using-pip3