Thank you.
Oops I messed up, I erased my docker and now can’t get one bulit. eek!
Tried pointing the docker back but getting this now:
root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="HADashboard" --net="bridge" -e TZ="America/Los_Angeles" -e HOST_OS="unRAID" -v "/mnt/cache/appdata/HA/0_hadashboard/lib/":"/lib":rw -v "/mnt/cache/appdata/HA/0_hadashboard/dashboards/":"/dashboards":rw -v "/mnt/cache/appdata/HA/0_hadashboard/hapush/":"/hapush/":rw -v "/mnt/cache/appdata/HA/0_hadashboard/widgets/":"/widgets":rw jcreynolds/hadashboard
8d944ca8e38c222ee08b7755b1647624558fc8419e49b05174524860868edf5f
docker: Error response from daemon: Container command not found or does not exist..
The command failed.
I’m thinking it is the docker file? Maybe? Any Ideas?
Was the camera widget ever implemented. I saw some documentation but couldn’t tell if it has been implemented. If not, do I need to just follow https://github.com/grubernaut/camera-widget to get it added? Will this be effected when there is an update to Hadasbhoard?
nop afaik the widged was not implemented yet. Please cirrect me if am wrong! Normally nothing will affect after updating… but maybe one thing… i am not that familiar with docker but u might re bundle after upgrade… means u take hadasboard source and bundle … so i f u already instelles the widget it should be bundled again
PLEASE CORTRET ME… i got this theory yesterday but without any knowledge about docker
i dont use docker so i have no idea or somthing would be affected with docker, but with a normal installation all included files would be overwritten, unless they are specificly excluded in the installation.
normally that is done with configurable file. so in this case the config and the dashboards.
in my case i made an inputslider widget and i had to change the hapush file.
that would for sure be overwritten with a next update.
for those who missed it i posted the 3 new widgets i created
here:
here:
and here:
today i created another new widget: halink
with this widget you can directly jump to another website but i didnt make it for that.
i have a whole lot of sensors and switches. and i like to access them. from the mobile, from a few tablets or from my pc.
lets say i want a tablet in my kichen, my livingroom and my bedroom.
standard i like the dashboard for the kitchen to show in the kitchen, the livingroom in the livingroom, etc.
but i also like to be able to acces the livingroom switches from my bedroom.
as it is now i would create 3 dashboards. livingroom, kitchen and bedroom. and on those 3 i would create a second and a third page with the widgets from the other 2 rooms on it.
now i change a widget in the livingroom. then i need to update all 3 dashboards.
think about 10 rooms to manage abd you see that it isnt managable anymore.
with my new halink i can switch between different dashboards. so no second or third pages, but just a second and third dashboard.
hope that help someone else also. i will post the code tomorrow.
try:
/usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="HADashboard" --net="bridge" -e TZ="America/Los_Angeles" -e HOST_OS="unRAID" -v "/mnt/cache/appdata/HA/0_hadashboard/lib/":"/usr/src/app/lib":rw -v "/mnt/cache/appdata/HA/0_hadashboard/dashboards/":"/usr/src/app/dashboards":rw -v "/mnt/cache/appdata/HA/0_hadashboard/hapush/":"/hapush/":rw -v "/mnt/cache/appdata/HA/0_hadashboard/widgets/":"/usr/src/app/widgets":rw jcreynolds/hadashboard
No need to look at this. It was user error. I have it working now.
I read a few posts about the widgets not refreshing. Has there been a fix or something to implement so the widgets or the dashboard it self refreshes automatically?
the dashboard should Always refreh automaticly.
dont know about your setup but you should have docker or hapush activated.
Rene is correct - the hapush component is responsible for updating the dashboard and has been there form the start. Its possible to get the dashboard up and running but make a mistake with the hapush config and you would end up with non-updating dashboard, but it should work.
on this moment i am trying with debugging. dont know where it comes from but randomly and only once in a blue moon, my dashboard stops updating.
and then only just a part of the dashboard.
my guess is that somewhere/sometimes comes an unexpected value which causes 1 widget to fail and the ones after that fail then also from that moment on.
but because it happens only about 1 or 2 times a day its hard to find.
When you talk about the hapush component are you speaking of hapush.py, hapush.cfg or something else?
hapush.py is the actual python program and hapush.cfg is the configuration file.
if you run hapush.py then it sends the data from HA to the dashboard. (it runs continously)
I guess i’m missing something. How do I run the hapush.py? I was thinking that when you ran dashing start it started everything.
i guess it would help to read the manual
out of the manual on github:
Running hapush
For a manual installation you can then run hapush from the command line as follows:
$ ./hapush.py hapush.cfg
For docker installs, hapush will be started automatically when you run the startup command.
If all is well, you should start to see hapush responding to events as they occur. For a docker install you should see these messages in hapush/hapush.log
2016-06-19 10:05:59,693 INFO Reading dashboard: /srv/hass/src/hadashboard/dashboards/main.erb
2016-06-19 10:06:12,362 INFO switch.wendy_bedside → state = on, brightness = 50
2016-06-19 10:06:13,334 INFO switch.andrew_bedside → state = on, brightness = 50
2016-06-19 10:06:13,910 INFO script.night → Night
2016-06-19 10:06:13,935 INFO script.night_quiet → Night
2016-06-19 10:06:13,959 INFO script.day → Night
2016-06-19 10:06:13,984 INFO script.evening → Night
2016-06-19 10:06:14,008 INFO input_select.house_mode → Night
2016-06-19 10:06:14,038 INFO script.morning → Night
2016-06-19 10:06:21,624 INFO script.night → Day
2016-06-19 10:06:21,649 INFO script.night_quiet → Day
2016-06-19 10:06:21,674 INFO script.day → Day
2016-06-19 10:06:21,698 INFO script.evening → Day
2016-06-19 10:06:21,724 INFO input_select.house_mode → Day
2016-06-19 10:06:21,748 INFO script.morning → Day
2016-06-19 10:06:31,084 INFO switch.andrew_bedside → state = off, brightness = 30
2016-06-19 10:06:32,501 INFO switch.wendy_bedside → state = off, brightness = 30
2016-06-19 10:06:52,280 INFO sensor.side_multisensor_luminance_25 → 871.0
2016-06-19 10:07:50,574 INFO sensor.side_temp_corrected → 70.7
2016-06-19 10:07:51,478 INFO sensor.side_multisensor_relative_humidity_25 → 52.0
Ok, Making a little more sense.
Since I’m using docker it sounds like when I dashing start, I’m assuming this is the startup command.
I updated my hapush.cfg to below:
and this is what my log looks like. It looks like it’s pulling the data instead of being pushed the data:
Thank you for your help!
hapush is pushing it from ha to dashing, so dashing gets the data.
as soon as you make an action on your dashboard it is posting it to ha.
It works great going from Hadashboard to HASS it’s just when HASS updates the Dashboard doesn’t show until refreshed. Not a huge deal…
Does everything else look ok?