Wall Mounted Dashboard (now known as HADashboard)

Too simple misstakes haha… I need to got to bed :smiley:

:wink: Hope its working OK now!

Hehe yeah now it works :smiley:

1 Like

This looks sweet!

Yep - thanks to you :slight_smile:

Quick question… I am trying to track down the function that rounds up the dimmer value in 10s. Ie, if I set the dimmer value to 3 it gets rounded up to 10. Similarly 17 up to 20 etc.

Anyone knows what function this is?

jobs/homeassistant.rb, line 93.

Perfect! I am working on another widget for the dimmer and for the life of me couldn’t figure out why the brightness kept being adjusted after I had set it!

1 Like

Can’t wait to see what you come up with - I have never been 100% happy with dimmer widget and don’t use it much.

Just pushed a new version:

Version 1.3.1

  • Scene buttons now light up for a configurable period when activated
1 Like

I like that update :smiley:
Great work!

@aimc, Is there any chance to get this feature on Hascript as well?

1 Like

I’ll take a look - it’s a little more complex because of the integration with the input_select.

Ok, here you go :slight_smile:

Version 1.3.2

  • Script buttons now light up for a configurable period when activated
  • In order to accommodate the above change, functionality to run scripts and track the state of an input_select has been broken out into a new widget called Hamode

Breaking Changes

  • Hascript no longer has the ability to track and display the state of an input_slelect. If you were using this functionality, change the type of your widget to Hamode
1 Like

Using the latest version, bundler successful and I installed all the dependencies mentioned in the read me but still getting this error on start dashing:

bundler: failed to load command: thin (/usr/local/bin/thin)
NoMethodError: undefined method each' for nil:NilClass /home/pi/hadashboard/jobs/news.rb:56: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:171:in block in require_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 (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)>’

I checked the original RSS repo link and realized the one used in your project is missing the example news feeds so I added them in. No luck though, same error, just moved down a few lines. It seems to be having an issue with this line in news.rb:

$news_feeds.each do |widget_id, feed|

Any thoughts? I got this far by going through the thread and correcting the mistakes as I saw others having them, but now I still can’t get started and I’m at the end of the thread! (Which is not as bad as being at the end of your rope, but still annoying!) :smirk:

Hi Rob,

Firstly, I moved the config for the newsfeed to lib/ha_conf.rb so they aren’t missing, just not where they were in the original, so take out the line you added, and let me see the contents of your ha_conf.rb (minus sensitive info of course!)

That was it - I didn’t have the news feeds config in lib/ha_conf.rb! I missed that because it was towards the bottom of the page. I would suggest either including the demo feeds in the example or adding that as a step before running dashing start for clarity.

I have the example dashboard up and running; I’ll take a break and move onto the other steps. Thanks!

Thanks for the feedback - I’ll add a reminder in the ha_conf.rb section to check the news piece - I had also intended to add the feeds to the example but forgot - my bad!

When you have gathered yourself I am looking forward to seeing what your dashboard looks like :slight_smile:

EDIT: Changes to ha_conf.rb and docs are now live.

I just got the news widget setup to show RSS from status.winkapp.com, something I’ve wanted for a while. Even changed the bg color to match Wink’s brand of blue! I’m definitely going to have to come back to this in a bit and get some food in me though as I don’t want to muck it up.

I’m really more concerned with installing hapush in a virtual environment; I understand the concept but I’ve never created a venv and installed anything to it before. The AIO installed did it for me with HA. :open_mouth:

The virtual environment is just a suggestion, it works fine without, thats how I run it.

I have a request for 1 widget.
outdoor temp meter, that shows a blue scale below 0 and red above. range about -30 to +50 degress.

I’ve tried to make it by my self, but i don’t have the skills…

Thanks in advance
Jocke