Wall Mounted Dashboard (now known as HADashboard)

Yes I will mention it is a raspberry pi 3, jessie lite, total updated

And if you search the forum you will find that you probably need a node.js package installed.

its nice to write things down to help others, but dont expect it to be foolproof :wink:
as you can read in this topic here there are many different things that people can run in to.

the only people who would really benifit is thos who exact the same versions installed from all dependencies, and all subdependencies.

even installing raspbian 1 month later can give different errors.
thats why @aimc cant give a foolproof installationscript.

but even a list with your errors could help some people.

1 Like

FWIW, Jessie lite will need a lot more installation work than a regular raspian.

Yes as mentioned under various platforms, but I didnā€™t know my platform needed it.

Yes I know Rene and experienced it too, packages and dependecies differ and change.

My error, strange ~

i had way more problems installing on my RPI the first time then the second time.
and all that was different was that i installed raspbian new a few months later.

You typed ā€œ~Yā€ instead of ā€œYā€ so it aborted the install.

aimc, do I install: gem install execjs in /hadashboard

Yes saw the error.

It doesnā€™t matter where you type it for gem installation.

but you need to be root:

pi@Home_Assistant:~ $ gem install execjs
Fetching: execjs-2.7.0.gem (100%)
ERROR: While executing gem ā€¦ (Gem::FilePermissionError)
You donā€™t have write permissions for the /var/lib/gems/2.1.0 directory.

I stop here, no dash for me:

pi@Home_Assistant:~ $ dashing start
Could not locate Gemfile or .bundle/ directory

Next error, I canā€™t ask more of you I am too dumb

That one is easy :slight_smile: You have to run dashing from within the repository directory as you did before.

started and stopped, Iā€™ll have a look

pi@Home_Assistant:~/hadashboard $ dashing start
Thin web server (v1.6.4 codename Gob Bluth)
Maximum connections set to 1024
Listening on 0.0.0.0:3030, CTRL+C to stop

scheduler caught exception:
undefined method gsub' for nil:NilClass /home/pi/hadashboard/jobs/homeassistant.rb:308:in block in <top (required)>ā€™
/var/lib/gems/2.1.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:230:in call' /var/lib/gems/2.1.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:230:in trigger_blockā€™
/var/lib/gems/2.1.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:204:in block in trigger' /var/lib/gems/2.1.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/scheduler.rb:430:in callā€™
/var/lib/gems/2.1.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/scheduler.rb:430:in `block in trigger_jobā€™

var/lib/gems/2.1.0/gems/dashing-1.3.7/lib/dashing/cli.rb:89:in system': Interrupt from /var/lib/gems/2.1.0/gems/dashing-1.3.7/lib/dashing/cli.rb:89:in run_commandā€™
from /var/lib/gems/2.1.0/gems/dashing-1.3.7/lib/dashing/cli.rb:64:in start' from /var/lib/gems/2.1.0/gems/thor-0.19.4/lib/thor/command.rb:27:in runā€™
from /var/lib/gems/2.1.0/gems/thor-0.19.4/lib/thor/invocation.rb:126:in invoke_command' from /var/lib/gems/2.1.0/gems/thor-0.19.4/lib/thor.rb:369:in dispatchā€™
from /var/lib/gems/2.1.0/gems/thor-0.19.4/lib/thor/base.rb:444:in start' from /var/lib/gems/2.1.0/gems/dashing-1.3.7/bin/dashing:9:in <top (required)>ā€™
from /usr/local/bin/dashing:23:in load' from /usr/local/bin/dashing:23:in ā€™

pi@Home_Assistant:~/hadashboard $ Stopping ā€¦

strange
Have to read it all, what am I reading.

I see something strange I addepted the config file for my installation and on top I see listening on 0.0.0.0:3030

Now you are at this point it is easier for us - you are running my code so I stand a chance of figuring it out :slight_smile:

This error seems to be because you donā€™t have the Dark Sky weather sensors configured in Home Assistant.

1 Like

It is running somehow, it is getting widgets

but strange the 0.0.0.:3030 on top on which the dash is listening

That is correct - it just means it is listening on all interfaces.

Man it should not be in a post I know but I envy you, understanding all this. Unbelievable.

iamc Believe it or not I have a DASH!!! Yes, thanks guys for helping

Now I am going to try and get it started on my real HASS, this was an experiemental one to not kill my original.

One last question, does it start at boot?

The only thing is now I see many widgets but not mine, I have to find out now how to get my own in the dash.

1 Like

It is an example I see!

Howto bind it to my own HASS is the next thing I might bother you with.

And it keeps on running it is not going back to the prompt!?

The idea is you start it up at boot time with the supplied service templates, thhere are a lot of posts on howe to get it working. When it is running it just runs forever in the background.

Next you will need to set up the HAPush component so your dashboard is updated in real time. Also, there are instructions on editing the ā€œerbā€ file to get your own widgets instead of the example.