Wall Mounted Dashboard (now known as HADashboard)

OK, the code in question is:

$ha_api = $ha_url + "/api/"

So if I had to guess I would say that you haven’t got a value for $ha_url in lib/ha_conf.rb

The errors are just because you don’t have forecast.io installed. As for the blank screen, I am unsure. One other user reported this and we never got to the bottom of it.

What platform are you running on?

2 Likes

platform is pi2 jessie lite. is strange looks to be working the server is serving something, even alters the root url to add /main to it. just nothing on the screen, no widgets… just black.

Hmm, Pi3 here, Jesse full not light but I don;t think that makes a difference. What browser?

Huge help! I did have it filled out correctly, but erroneously copied it to hadashboard – Not hadashboard/lib

Thank you for your quick and accurate help!

1 Like

browser is chrome on android.

They are totally new widgets so the end user can choose to use either. I’ll get a clean version and perform the edits and request a push.

I’m a bit interested in you temp and humidity meters.
I would like to take part of that widget :slight_smile:

Are you able to try it on a desktop browser and enable the JavaScript console to look for errors? As you say, it kind of looks like Dashing is doing it’s thing but something else is going wrong. Also, can you try with a clean version of the main.erb if you aren’t already - that can break things if you have an error in the XML.

Should be available in the main codebase shortly - thanks @chanders

1 Like

aha… your javascript reference tipped me off…

I did this to solve it…

pi@raspberrypi:~$ gem install execjs
pi@raspberrypi:~$ sudo apt-get install nodejs

thanks.

Excellent! I will make sure that makes it to the next version docs. I had already installed nodejs for the mqttbridge so didn’t know this was needed - thanks!

1 Like

What command do I run to merge changes back to the repository?

Roughly speaking you need to push your changes to a remote repository on the internet e.g. GItHub, then issue a Pull Request from my repository - I am on my iPad at he moment but can help you with more detailed steps if you have trouble figuring out, when I am back in front of my PC.

Let me know if you saw the request

I don’t see it - I believe you have to mark my repository as an upstream repository of your GitHub repository first so they are linked - forgot to mention that piece sorry. I am trying not to be too vague but I have only done this once or twice myself a while ago!

Anyone help me change the background colour of a widget?

I tried this in the dashboard code

style=“background-color: #ffa500;”

but he widget remains the original colour.

It is set per widget type in the widgets .scss file in the widgets/<widget name> directory, you are looking for the background-color style.

ok got it - thanks !

I finally got to installing hapush and encountered some errors I thought I would share. I’m running this on a standalone Raspberry Pi with Home-Assistant on a secondary Pi, which is probably why I’m seeing it. (I’m assuming maybe most people are installing on same system as Home-Assistant?)

Traceback (most recent call last):
  File "./hapush.py", line 8, in <module>
    from configobj import ConfigObj
ImportError: No module named 'configobj'

Fixed with: pip3 install configobj

Traceback (most recent call last):
  File "./hapush.py", line 21, in <module>
    from requests.packages.urllib3.exceptions import InsecureRequestWarning
ImportError: cannot import name 'InsecureRequestWarning'

Fixed with: pip3 install requests==2.6.0

Hope this helps someone down the road.