Wall Mounted Dashboard (now known as HADashboard)

All the same as my system - are you running raspian?

Also I see you are running as root - that’s unusual but shouldn’t be an issue.

Any errors when you did the dashing install? AFAIK, thin should have been installed then.

Nvm that last part, I see you pasted the output.

Can you give me the entire output of the dashing start?

yes i am running raspbian.

here is the complete error:

root@rackpanel:/tmp/hadashboard# dashing start
bundler: failed to load command: thin (/usr/local/bin/thin)
ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes.
/var/lib/gems/2.1.0/gems/execjs-2.0.2/lib/execjs/runtimes.rb:51:in autodetect' /var/lib/gems/2.1.0/gems/execjs-2.0.2/lib/execjs.rb:5:in module:ExecJS
/var/lib/gems/2.1.0/gems/execjs-2.0.2/lib/execjs.rb:4:in <top (required)>' /var/lib/gems/2.1.0/gems/backports-3.6.8/lib/backports/std_lib.rb:9:in require’
/var/lib/gems/2.1.0/gems/backports-3.6.8/lib/backports/std_lib.rb:9:in require_with_backports' /var/lib/gems/2.1.0/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in <top (required)>’
/var/lib/gems/2.1.0/gems/backports-3.6.8/lib/backports/std_lib.rb:9:in require' /var/lib/gems/2.1.0/gems/backports-3.6.8/lib/backports/std_lib.rb:9:in require_with_backports’
/var/lib/gems/2.1.0/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in <top (required)>' /var/lib/gems/2.1.0/gems/backports-3.6.8/lib/backports/std_lib.rb:9:in require’
/var/lib/gems/2.1.0/gems/backports-3.6.8/lib/backports/std_lib.rb:9:in require_with_backports' /var/lib/gems/2.1.0/gems/dashing-1.3.6/lib/dashing/app.rb:5:in <top (required)>’
/var/lib/gems/2.1.0/gems/dashing-1.3.6/lib/dashing.rb:3:in require' /var/lib/gems/2.1.0/gems/dashing-1.3.6/lib/dashing.rb:3:in <top (required)>’
config.ru:1:in require' config.ru:1:in block in ’
/var/lib/gems/2.1.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in instance_eval' /var/lib/gems/2.1.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in initialize’
config.ru:1:in new' config.ru:1:in
/var/lib/gems/2.1.0/gems/thin-1.6.4/lib/rack/adapter/loader.rb:33:in eval' /var/lib/gems/2.1.0/gems/thin-1.6.4/lib/rack/adapter/loader.rb:33:in load’
/var/lib/gems/2.1.0/gems/thin-1.6.4/lib/thin/controllers/controller.rb:182:in load_rackup_config' /var/lib/gems/2.1.0/gems/thin-1.6.4/lib/thin/controllers/controller.rb:72:in start’
/var/lib/gems/2.1.0/gems/thin-1.6.4/lib/thin/runner.rb:200:in run_command' /var/lib/gems/2.1.0/gems/thin-1.6.4/lib/thin/runner.rb:156:in run!’
/var/lib/gems/2.1.0/gems/thin-1.6.4/bin/thin:6:in <top (required)>' /usr/local/bin/thin:23:in load’
/usr/local/bin/thin:23:in `<top (required)>’

Try installing node:

$ sudo apt-get install node

yes! after this now is running! but i dont see anything in the dashboard / ip:3030 , only grey background , this is normal?

Yo might need to give it some time - it takes a while to load the first time.

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:
can’t convert nil into Float
/home/pi/hadashboard/jobs/homeassistant.rb:199:in Float' /home/pi/hadashboard/jobs/homeassistant.rb:199: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’

192.168.5.102 - - [21/Jun/2016 22:05:23] “GET /main HTTP/1.1” 200 41981 0.4718

and still nothing , only grey background…

Ok, the error is kind of a red herring, it just means you don’t have the weather piece set up correctly (you need forecast.io). The blank screen is most likely caused by an error in your dashboard file. Start with the default supplied dash and see if you get the dashboard, then make simple changes until you get more confident.

can you let me know how to start it with the default dashboard?

Did you make any changes to main.erb in the dashboards directory?

no - i dont change anything

What URL are you using for the dashboard?

192.168.5.61:3030

is loading , and i see only the dark/grey background , no icons or something…

Any more errors from dashing?

no errors…

What browser are you using?

I just updated to the newest verion with

git fetch origin

yet I am still getting the SSL error

glenn@zeus:~/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:
SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol
/usr/lib/ruby/2.1.0/net/http.rb:920:in `connect'
/usr/lib/ruby/2.1.0/net/http.rb:920:in `block in connect'
/usr/lib/ruby/2.1.0/timeout.rb:76:in `timeout'
/usr/lib/ruby/2.1.0/net/http.rb:920:in `connect'
/usr/lib/ruby/2.1.0/net/http.rb:863:in `do_start'
/usr/lib/ruby/2.1.0/net/http.rb:852:in `start'
/usr/lib/ruby/2.1.0/net/http.rb:1369:in `request'
/home/glenn/hadashboard/jobs/homeassistant.rb:20:in `ha_api'
/home/glenn/hadashboard/jobs/homeassistant.rb:173: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'

What url did you use to connect?

I have HASS and Dashing running on my Linux server @ 192.168.0.90. When I connect to the Dashboard, I point my browser at that same IP:3030.

Edit: Dashboard appears, but of course nothing is working because I haven’t setup sensors, etc.

I installed node and am still getting the same error.

pi@raspberrypi:~/hadashboard $ dashing start
bundler: failed to load command: thin (/usr/local/bin/thin)
NoMethodError: undefined method `+' for nil:NilClass
  /home/pi/hadashboard/jobs/homeassistant.rb:6:in `<top (required)>'
  /var/lib/gems/2.1.0/gems/backports-3.6.8/lib/backports/std_lib.rb:9:in `requir                                                                                        e'
  /var/lib/gems/2.1.0/gems/backports-3.6.8/lib/backports/std_lib.rb:9:in `requir                                                                                        e_with_backports'
  /var/lib/gems/2.1.0/gems/dashing-1.3.6/lib/dashing/app.rb:171:in `block in req                                                                                        uire_glob'
  /var/lib/gems/2.1.0/gems/dashing-1.3.6/lib/dashing/app.rb:170:in `each'
  /var/lib/gems/2.1.0/gems/dashing-1.3.6/lib/dashing/app.rb:170:in `require_glob                                                                                        '
  /var/lib/gems/2.1.0/gems/dashing-1.3.6/lib/dashing/app.rb:181:in `<top (requir                                                                                        ed)>'
  /var/lib/gems/2.1.0/gems/dashing-1.3.6/lib/dashing.rb:3:in `require'
  /var/lib/gems/2.1.0/gems/dashing-1.3.6/lib/dashing.rb:3:in `<top (required)>'
  config.ru:1:in `require'
  config.ru:1:in `block in <main>'
  /var/lib/gems/2.1.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in `instance_eval'
  /var/lib/gems/2.1.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in `initialize'
  config.ru:1:in `new'
  config.ru:1:in `<main>'
  /var/lib/gems/2.1.0/gems/thin-1.6.4/lib/rack/adapter/loader.rb:33:in `eval'
  /var/lib/gems/2.1.0/gems/thin-1.6.4/lib/rack/adapter/loader.rb:33:in `load'
  /var/lib/gems/2.1.0/gems/thin-1.6.4/lib/thin/controllers/controller.rb:182:in                                                                                         `load_rackup_config'
  /var/lib/gems/2.1.0/gems/thin-1.6.4/lib/thin/controllers/controller.rb:72:in `                                                                                        start'
  /var/lib/gems/2.1.0/gems/thin-1.6.4/lib/thin/runner.rb:200:in `run_command'
  /var/lib/gems/2.1.0/gems/thin-1.6.4/lib/thin/runner.rb:156:in `run!'
  /var/lib/gems/2.1.0/gems/thin-1.6.4/bin/thin:6:in `<top (required)>'
  /usr/local/bin/thin:23:in `load'
  /usr/local/bin/thin:23:in `<top (required)>'