Hadashboard and hapush

Ok, I have hadashboard up and running. Ive got about as much done with it as I can reasonably do right now until I figure out what I want to do about my time sliders for my alarm clocks. So I’m thinking about the next step according to the documentaiton. In the dashboard documentation it says:

When you have the dashboard correctly displaying and interacting with Home Assistant you are ready to install the final component - hapush.

I may be being overly cautious here. But is this just saying “ok once you have the dashboard generally running and talking to HA” or “Once you have everything the way you want it because if you make changes to the dashboard after this it’s gonna be a pain in the backside”??
Thanks

It’s all good, hapush won’t change any other settings.

So if you’ve the dashboard working, you’ve all the hard jobs done. It’s only a few details in hapush which won’t be effected by any layout changes you make.

hapush is an independant bridge between HA and dashboard.
it pushes ha values towards the dashboards.

you can change your dashboards afterwards with no problem.
in some minor cases you might need to restart hapush after editing something in the dashboard.

You shouldn’t even need to do that most of the time - HAPush will see changes to the dashboard and re-read it automatically.

1 Like

isnt it about the same thing said, but with different words? :wink:
i know that it shouldnt be neccesary at all, but there shouldnt be a reason to restart my RPI also.
to bad, that live isnt perfect :wink:

1 Like

I’m not sure if this is the correct place to post (it’s my first time using the forums), but I’m in the midst of setting up my HAdashboard and I’m having an issue with HApush. My dashboard seems to be working correctly, and when I run HApush it loads my dashboards and when I make a change on my HA instance (i.e. turning a light on), HApush logs out that the change was made. For instance:

pi@raspberrypi:~/hadashboard/hapush $ ./hapush.py hapush.cfg
2017-02-20 17:42:45,613 INFO Reading dashboard: ../dashboards/main.erb
2017-02-20 17:42:45,652 INFO Reading dashboard: ../dashboards/example.erb
2017-02-20 17:42:45,676 INFO Reading dashboard: ../dashboards/layout.erb
2017-02-20 17:43:01,722 INFO switch.living_room_2 -> state = on, brightness = 100
2017-02-20 17:43:03,128 INFO group.living_room -> on

So that all looks good, however, the changes don’t seem to make it to my dashboard’s interface, because the status of sensors and lights are not updated even though HApush seems to recognize these state changes. Below is my hapush.cfg (with sensitive information redacted):

ha_url = "https://xxxxxxxxxxx.duckdns.org"
ha_key = xxxxxxxxxxxx
dash_host = "192.168.1.126:3030/main"
dash_dir = "../dashboards/"
logfile = "./hapush.log"

I installed my dashboard manually (not with Docker). I’ve tried restarting dashing and my RPi3 that everything is running on, but my dashboard still doesn’t seem to update. Anyone have an idea of what I might have done wrong here? Any help is appreciated. Thanks!

Your problem is probably the /main on the end.

1 Like

That’s exactly what it was! I removed the /main on the end of the dash_host value and now my dashboard is updating. Thanks so much @aimc! Can’t wait to get my wall mount setup.

1 Like

I’ve just gotten hadashboard up and running. I am able to change state of switches from hadashboard, however, if the switch is changed from HA itself, I have to refresh the dashboard to see the change. Is this expected?

If so, how do others deal with this?

with HAdashboard V1 you need HApush to run if you want automatic updating.

I’m using the docker image. I don’t see any messages in hapush.log about status changes. However, if I connect to the docker instance, and run hapush.py manually, I do see the messages in the logs for that process.

Seems like there is a disconnect between the hapush process that docker kicks off automatically and HA.

I’ll poke around and see what I can find. I may just forget the docker image and install it manually on the same machine.

dont know about the docker version. i know you dont need the hapush then, but cant help you why its not working.
manual install works for a few people better.

you can also wait for V2 to come out. (wont be that long)
creating dashboards will be completely different, so work done in V1 will be worthless.

I saw the upcoming v2 release, and it seems it will integrate with AppDaemon? I may just hold off and wait on that, as I already have that working.

yeah it integrates with appdaemon.
its faster, more flexibel and easier to create dashboards.

1 Like