Wall Mounted Dashboard (now known as HADashboard)

That’s just sudo again - says you don;t have perms to do the install.

How do i add more news feeds?
Like this:
“News” => “news1”, “news 2”, “news3” ?

No, each one needs a complete line like the two already in there:

“news 1” => “Feed path 1”,
“news 2” => “Feed path 2”,
“news 3” => “Feed path 3”,

Then you need to reference “news 1”, "news 2 etc. from the widget you want to display them.

So I’m now running the full version of linux raspian. I got the git command to work, and then went into the hadashboard folder. From there I did the gem install dashing command. Had to put sudo in front of it, but this is the output:

(homeassistant_venv) pi@raspberrypi:~/hadashboard $ sudo gem install dashing
Fetching: sass-3.2.19.gem (100%)
Successfully installed sass-3.2.19
Fetching: coffee-script-source-1.11.1.gem (100%)
Successfully installed coffee-script-source-1.11.1
Fetching: execjs-2.0.2.gem (100%)
Successfully installed execjs-2.0.2
Fetching: coffee-script-2.2.0.gem (100%)
Successfully installed coffee-script-2.2.0
Fetching: rack-1.5.5.gem (100%)
Successfully installed rack-1.5.5
Fetching: rack-protection-1.5.3.gem (100%)
Successfully installed rack-protection-1.5.3
Fetching: tilt-1.4.1.gem (100%)
Successfully installed tilt-1.4.1
Fetching: sinatra-1.4.7.gem (100%)
Successfully installed sinatra-1.4.7
Fetching: multi_json-1.12.1.gem (100%)
Successfully installed multi_json-1.12.1
Fetching: rack-test-0.6.3.gem (100%)
Successfully installed rack-test-0.6.3
Fetching: backports-3.6.8.gem (100%)
Successfully installed backports-3.6.8
Fetching: sinatra-contrib-1.4.7.gem (100%)
Successfully installed sinatra-contrib-1.4.7
Fetching: daemons-1.2.4.gem (100%)
Successfully installed daemons-1.2.4
Fetching: eventmachine-1.2.1.gem (100%)
Building native extensions. This could take a while…
ERROR: Error installing dashing:
ERROR: Failed to build gem native extension.

/usr/bin/ruby2.1 extconf.rb

mkmf.rb can’t find header files for ruby at /usr/lib/ruby/include/ruby.h

extconf failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.1.0/gems/eventmachine-1.2.1 for inspection.
Results logged to /var/lib/gems/2.1.0/extensions/arm-linux/2.1.0/eventmachine-1.2.1/gem_make.out
(homeassistant_venv) pi@raspberrypi:~/hadashboard $
mkmf.rb can’t find header files for ruby at /usr/lib/ruby/include/ruby.h

extconf failed, exit code 1

(homeassistant_venv) pi@raspberrypi:~/hadashboard $ /usr/bin/ruby2.1 extconf.rb
/usr/bin/ruby2.1: No such file or directory – extconf.rb (LoadError)
(homeassistant_venv) pi@raspberrypi:~/hadashboard $ mkmf.rb can’t find header files for ruby at /usr/lib/ruby/include/ruby.h

extconf failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.1.0/gems/eventmachine-1.2.1 for inspection.
Results logged to /var/lib/gems/2.1.0/extensions/arm-linux/2.1.0/eventmachine-1.2.1/gem_make.out
(homeassistant_venv) pi@raspberrypi:~/hadashboard $

Seems like I’m still getting an error and not sure why.

EDIT; Seems I might have figured things out. I went ahead in the directions and just starting installing things that needed to be installed. Finally got to this list:

ruby-dev - sudo apt-get install ruby-dev
node-js - sudo apt-get install nodejs
execjs gem - gem install execjs

And that seemed to help.

I’m leaving my last post to hopefully help some people, but I’m up against a new issue. I’m attempting to do the bundle command, and it seems to work, until the end. Here is the result of doing the bundle command:

(homeassistant_venv) pi@raspberrypi:~/hadashboard $ bundle
Fetching gem metadata from https://rubygems.org/
Fetching version metadata from https://rubygems.org/
Fetching dependency metadata from https://rubygems.org/.
Resolving dependencies…
Using addressable 2.3.8
Using backports 3.6.8
Using bcrypt 3.1.11
Using coffee-script-source 1.11.1
Using execjs 2.0.2
Using daemons 1.2.4
Using rack 1.5.5
Using thread_safe 0.3.5
Using sass 3.2.19
Using tilt 1.4.1
Using multi_json 1.12.1
Using hike 1.2.3
Using eventmachine 1.2.1
Using thor 0.19.4
Using fastercsv 1.5.5
Using json 1.8.3
Using json_pure 1.8.3
Using stringex 1.5.1
Using uuidtools 2.1.5
Using htmlentities 4.3.4
Using mime-types 1.25.1
Using mini_portile2 2.1.0
Using bundler 1.13.6
Using dm-core 1.2.1
Using data_objects 0.10.17
Using bcrypt-ruby 3.1.5
Using coffee-script 2.2.0
Using rack-protection 1.5.3
Using rack-test 0.6.3
Using tzinfo 1.2.2
Using sprockets 2.10.2
Using thin 1.6.4
Using rest-client 1.6.9
Using nokogiri 1.6.8.1
Using dm-aggregates 1.2.0
Using dm-constraints 1.2.0
Using dm-migrations 1.2.0
Using dm-serializer 1.2.2
Using dm-timestamps 1.2.0
Using dm-transactions 1.2.0
Using dm-validations 1.2.0
Using dm-do-adapter 1.2.0
Installing do_sqlite3 0.10.17 with native extensions
Using dm-types 1.2.2
Using sinatra 1.4.7
Using rufus-scheduler 2.0.24
Using unirest 1.1.2
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

/usr/bin/ruby2.1 extconf.rb

checking for sqlite3.h… no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.

Provided configuration options:
–with-opt-dir
–without-opt-dir
–with-opt-include
–without-opt-include=${opt-dir}/include
–with-opt-lib
–without-opt-lib=${opt-dir}/lib
–with-make-prog
–without-make-prog
–srcdir=.
–curdir
–ruby=/usr/bin/ruby2.1
–with-sqlite3-dir
–without-sqlite3-dir
–with-sqlite3-include
–without-sqlite3-include=${sqlite3-dir}/include
–with-sqlite3-lib
–without-sqlite3-lib=${sqlite3-dir}/lib

extconf failed, exit code 1

Gem files will remain installed in
/tmp/bundler20161207-22136-oswmxmdo_sqlite3-0.10.17/gems/do_sqlite3-0.10.17 for
inspection.
Results logged to
/tmp/bundler20161207-22136-oswmxmdo_sqlite3-0.10.17/extensions/arm-linux/2.1.0/do_sqlite3-0.10.17/gem_make.out

An error occurred while installing do_sqlite3 (0.10.17), and Bundler
cannot continue.
Make sure that gem install do_sqlite3 -v '0.10.17' succeeds before
bundling.

Any help would be appreciated.

EDIT: Just did a sudo apt-get install libsqlite3-dev and then retried bundle and it went through.

Thanks for the answer.
I’m also have difficulties finding the autostart script in the hadashboard/init folder, what is it called? Proberbly just me looking in a wrong folder or something

So I have figured it all out! Now I just need to learn how to edit the file to use my own information and such, but I’ll save that for another night. Thanks for all the help here. I feel like I cluttered the thread for a bit, but I hope that my experiences will be helpful to others.

Thanks!! That’s the bit I was missing :slight_smile:

So I am really liking this project. I was able to add a component and everything, which is pretty good for me, given that a lot of this is brand new.

Now though, I’m having trouble with News and RSS feeds. For the life of me, I can’t figure out what I’m doing wrong.
Any help would be appreciated. Whatever I do, all I get are two widgets, one that says CNN and one that says technology.

Edit: turns out I just had to close down the terminal running the dashboard and restart it and that made the news feeds work

Also one other quick question I set it up using the manual instructions on my Raspberry Pi so I think that means I do not have Docker setup for Docker widget is that something that I should get set up anyway? Or will I still be able to use docker widgets without having to setting up?

a quote i picked up somewhere:

If you’re not already familiar with Docker, it’s a method of packaging software to include not only your code, but also other components such as a full file system, system tools, services, and libraries

so if everything is like it should, there should not be other widgets in the docker files then in the manual installations.

I get this message on a raspberry pi 2:

pi@raspberrypi:~/hadashboard $ bundle
Fetching gem metadata from https://rubygems.org/
Fetching version metadata from https://rubygems.org/
Fetching dependency metadata from https://rubygems.org/
Resolving dependencies…
Rubygems 1.8.24 is not threadsafe, so your gems will be installed one at a time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.
Installing addressable 2.3.8
Using backports 3.6.8
Installing bcrypt 3.1.11 with native extensions
Using coffee-script-source 1.11.1
Using execjs 2.0.2
Using daemons 1.2.4
Using rack 1.5.5
Using thread_safe 0.3.5
Using sass 3.2.19
Using tilt 1.4.1
Using multi_json 1.12.1
Using hike 1.2.3
Using eventmachine 1.2.1
Using thor 0.19.4
Installing fastercsv 1.5.5
Installing json 1.8.3 with native extensions
Installing json_pure 1.8.3
Installing stringex 1.5.1
Installing uuidtools 2.1.5
Installing htmlentities 4.3.4
Installing mime-types 1.25.1
Installing mini_portile2 2.1.0
Using bundler 1.13.6
Installing dm-core 1.2.1
Installing data_objects 0.10.17
Installing bcrypt-ruby 3.1.5
Using coffee-script 2.2.0
Using rack-protection 1.5.3
Using rack-test 0.6.3
Using tzinfo 1.2.2
Using sprockets 2.10.2
Using thin 1.6.4
Installing rest-client 1.6.9
Gem::InstallError: mini_portile2 requires Ruby version >= 1.9.2.
An error occurred while installing mini_portile2 (2.1.0), and Bundler cannot continue.
Make sure that gem install mini_portile2 -v '2.1.0' succeeds before bundling.
pi@raspberrypi:~/hadashboard $ ^C
pi@raspberrypi:~/hadashboard $

I’ve installed the latest Ruby

I had errors left and right as well, but I went through and installed all these. Then it worked. Not sure if that will help out even if you still need to install them but it’s worth a try.

the error shows that you have rubygems 1.8.24 installed and that there is al least a version 2.1.0

so when you installed ruby it probably wasnt the latest.
upgrading ruby could solve your problem.

I installed this first:
pi@raspberrypi:~/hadashboard $ sudo apt-get install ruby
Pakketlijsten worden ingelezen… Klaar
Boom van vereisten wordt opgebouwd
De statusinformatie wordt gelezen… Klaar
De volgende extra pakketten zullen geïnstalleerd worden:
ruby2.1 rubygems-integration
Voorgestelde pakketten:
ri bundler
De volgende NIEUWE pakketten zullen geïnstalleerd worden:
ruby ruby2.1 rubygems-integration
0 opgewaardeerd, 3 nieuw geïnstalleerd, 0 te verwijderen en 1 niet opgewaardeerd.
Er moeten 290 kB aan archieven opgehaald worden.

I also checked:
pi@raspberrypi:~/hadashboard $ sudo apt-get install rubygems
Pakketlijsten worden ingelezen… Klaar
Boom van vereisten wordt opgebouwd
De statusinformatie wordt gelezen… Klaar
rubygems is reeds de nieuwste versie.

and still the same outcome

Thanks, I did this series again with no success on Bundle

did you get the same error?

Yes the same
pi@raspberrypi:~/hadashboard $ bundle
Fetching gem metadata from https://rubygems.org/
Fetching version metadata from https://rubygems.org/
Fetching dependency metadata from https://rubygems.org/.
Resolving dependencies…
mini_portile2-2.1.0 requires ruby version >= 1.9.2, which is incompatible with the current version, ruby 1.8.7p358
pi@raspberrypi:~/hadashboard $

:grin:

so it really seems that you dont have the latest ruby version installed.

Shoot. Sorry I can’t help more. Good luck!