I have added an issue to make the decimal places configurable. Your dashboard entry is correct and your darksky config looks fine. You dodn;t say if you were getting any kind of errors in the log or on the command line - can you double check please?
I need help. Here is what I have:
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:7: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.7/lib/dashing/app.rb:171:in `block in require_glob'
/var/lib/gems/2.1.0/gems/dashing-1.3.7/lib/dashing/app.rb:170:in `each'
/var/lib/gems/2.1.0/gems/dashing-1.3.7/lib/dashing/app.rb:170:in `require_glob'
/var/lib/gems/2.1.0/gems/dashing-1.3.7/lib/dashing/app.rb:181:in `<top (required)>'
/var/lib/gems/2.1.0/gems/dashing-1.3.7/lib/dashing.rb:3:in `require'
/var/lib/gems/2.1.0/gems/dashing-1.3.7/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)>'
Iâm trying to get this up and running on the Hassbian disk image for a raspberry PI3. Iâve installed all these extra things:
sudo apt-get install git ruby ruby-dev nodejs libsqlite3-dev rubygems thin
gem install execjs bundler bcrypt-ruby thin
Anyone think they know what Iâm missing. I know thin is installed.
Thanks
Looks like you donât have your URL set correctly in ha_conf.rb.
I will give that a try later tonight.
Thanks for the feedback.
I have install Hadashboard on just about every machine(Unraid,Pi,Mac) and moved it around with my different HA installs now I have it installed on a Ubuntu box and I ran into an issue with Nokogiri install. I was missing some of the developer files so to get it working I used this command
sudo apt-get install ruby-dev zlib1g-dev liblzma-dev
Even though I had ruby dev installed I still need some more file so If you are stuck at the bundle installation with Nokogiri being the hold up maybe this will help. The error had something to do with libxml2.
The issue was I forgot the money signs. My Bad. Thanks for the help.
Does anyone have good step by step instructions on how to install hadashboard on a Mac running Sierra? I got it to work at one point manually then my drive died now I have to start over and I have tried for hours to get it working in docker and I just donât think itâs going to happen. I would be forever greatful if someone gave me step by step for a manual mac installation.
Hi @aimc, Sorry for the delayed reply, I am surprised that I was not notified after the response! Anyway, during the initial startup I didnât see any error but now the dashing is auto starting, I canât figure out where to check the logs? Sorry for the lame question⌠I didnât find anything in /var/log directory. Thanks again for your kind helpâŚ
The log I am interested in is âthin.logâ - it should be where you downloaded HADashboard to, in a subdirectory called âlogâ.
Got that one. And I donât know why but itâs working now apparently!!! As it was not working, so I just disabled that tab and configured some sensor there. Now as I had re configured again, itâs working good. By this time, the only thing I changed on the YAML file is to include all the parameters under dark sky component.
I am sooo happy now. Thanks a lot @aimc⌠you rock manâŚ
Cool! Very glad you got it working!
Sorry guys/girls, I run into sooooo many problems installing the dash, I love it from what I see but whatever I try I end up in ZILLIONS of errors isthere not a working way, I am a newbie and maybe braindead but when I do what everybody is doing I end up installing 10 extra depositories, libs and none is working, write permission errors so chmodding my whole raspberry open for everybody to enter, ruby always the wrong version, but where is the right version.
Wait I give you a few examples of what I get.
O I find many solutions but they all run ashore somewhere. Not to mention all the ruby errors, above is really just a few.
root@raspberrypi:/home/pi# dashing start
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in gem_original_require': no such file to load -- json (LoadError) from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
requireâ
from /var/lib/gems/1.8/gems/dashing-1.3.7/lib/dashing/downloader.rb:3
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in gem_original_require' from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
requireâ
from /var/lib/gems/1.8/gems/dashing-1.3.7/bin/dashing:7
from /usr/local/bin/dashing:23:in `loadâ
from /usr/local/bin/dashing:23
docker error:
docker run --name=âhadashboardâ -d -v //home/pi/hadashboard/dashboards:/app/dashboards -v //home/pi/hadashboard/lib/ha_conf.rb:/app/lib/ha_conf.rb -v //home/pi/hadashboard/hapush:/app/hapush --net=host hadashboard
Unable to find image âhadashboard:latestâ locally
docker: Error response from daemon: repository hadashboard not found: does not exist or no pull access.
See âdocker run --helpâ.
docker build dashboard error:
docker build -t hadashboard .
Sending build context to Docker daemon 1.71 MB
Step 1/9 : FROM ruby:2.2.5
â> 61a32740d637
Step 2/9 : MAINTAINER Marijn Giesen [email protected]
â> Using cache
â> 5fc3e48cc44f
Step 3/9 : RUN apt-get update && apt-get install -y sqlite nodejs libpq-dev libssl-dev libsqlite3-dev ruby-dev python3 python3-pip && mkdir /app && rm -rf /var/lib/apt/lists/*
â> Running in c100aa0a66ef
standard_init_linux.go:178: exec user process caused âexec format errorâ
The command â/bin/sh -c apt-get update && apt-get install -y sqlite nodejs libpq-dev libssl-dev libsqlite3-dev ruby-dev python3 python3-pip && mkdir /app && rm -rf /var/lib/apt/lists/*â returned a non-zero code: 1
Just a few of my errors, please can anybody make a fool proof install, for fools like me?
go away from the docker install and you probably wont have so much trouble.
i had 1 or 2 problems installing the first time, but thats the problem with dependencies. some will install themselve right and some will give an error.
nothing is foolproof on Linux (i still think i am a fool for using it lots of times )
~How so I read everywhere that docker is needed and docker is about the only thing working from the whole setup.
i have seen a few more here who had problems installing with docker. docker is absolutely not needed.
and i know some of those people did a normal (manual) install (also in the documents) and had no (or less) problems.
by the way i never read anywhere that docker is needed. i dont understand why people think that.
Tried the manual install too, allas to no avail. I guess I am stuck to the normal HASS view.
But see I thought Docker was needed, and as said that runs.
you give a few examples from errors.
it would be easier if you told which steps you took and where you get an error and which. then solve that error and try to go on.
i would advice to uninstall everything and start installing from the documents, and give here the error you get and on which point in the install.
then someone can tell you what to do.
Well Ruby was a pain, did every install script I am running Ruby 2.1.5 but no it needs Ruby 1.9.
And it hangs on a directory ruby 1.8 gives many errors
But iin essence I did what was in the install manual. Followed those steps.
And tried to solve many errors doing so untill it ran but in the end, I have loose sand nothing seems to start. Apart from docker, haha.
what could be a problem is that you start dashing from the pi dir.
i Always go to the hadashboard dir first.
did you get everything installed without errors at the end? as long as you get errors while installing you need to solve those problems first before you can try to run dashing.
Where did you see that? Not at all correct âŚwe have a lot of successful manual installs. In fact the docker install was contributed by users of HADashboard and was not even part of the original setup.