Yeah, you look pretty close, my code just doesn’t support the idea of people not using SSL or an API Key I am fixing that now and will push a new version soon. You don;t need to add a key to HA just for this, I’ll make sure it works without, so change your configuration.yaml back if you prefer, and I will make the key variable optional for dashing an hapush.
I got two warnings as we speak but when i started hapush i got two values.
kristoffer@SKYNETDASH:~/hapush$ ./hapush.py hapush.cfg
2016-06-21 20:27:08,155 INFO Reading dashboard: /srv/hass/src/hadashboard/dashboards/main.erb
2016-06-21 20:34:00,576 INFO Reading dashboard: /srv/hass/src/hadashboard/dashboards/main.erb
2016-06-21 20:37:00,813 INFO Reading dashboard: /srv/hass/src/hadashboard/dashboards/main.erb
2016-06-21 20:37:31,879 INFO sensor.inne_humidity → 46
2016-06-21 20:37:31,918 WARNING Unexpected error calling Dashing: HTTPConnectionPool(host=‘http’, port=80): Max retries exceeded with url: //10.0.1.169:3030/widgets/inne_humidity (Caused by NewConnectionError(‘<requests.packages.urllib3.connection.HTTPConnection object at 0x7f2468130908>: Failed to establish a new connection: [Errno -2] Name or service not known’,))
2016-06-21 20:37:31,955 INFO sensor.inne_temperature → 22.1
2016-06-21 20:37:31,963 WARNING Unexpected error calling Dashing: HTTPConnectionPool(host=‘http’, port=80): Max retries exceeded with url: //10.0.1.169:3030/widgets/inne_temperature (Caused by NewConnectionError(‘<requests.packages.urllib3.connection.HTTPConnection object at 0x7f24681309e8>: Failed to establish a new connection: [Errno -2] Name or service not known’,))
It now looks like follow. I need to change the units tho
Regarding the temperature, yes, I am afraid the easiest and most inelegant way to do this is for you to edit the widget. I guess in the future I could provide one widget for Farenheit and another for Celsius, but for now navigate to hadashboard/widgets/hatemp and edit hatemp.html - you should be able to spot where the “F” is and change it to a C
Regarding the error message - it looks like you have an issue with your hapush config still. It is reading the events but failing to update the dash.
It is saying the url is //10.0.1.169:3030/widgets/inne_temperature - did you miss out an http somewhere?
pi@raspberrypi:~/hadashboard $ sudo gem install dashing
Successfully installed dashing-1.3.6
Parsing documentation for dashing-1.3.6
Done installing documentation for dashing after 2 seconds
1 gem installed
pi@raspberrypi:~/hadashboard $ sudo gem install bundler
Successfully installed bundler-1.12.5
Parsing documentation for bundler-1.12.5
Done installing documentation for bundler after 46 seconds
1 gem installed
pi@raspberrypi:~/hadashboard $ bundle
<…>
Bundle complete! 10 Gemfile dependencies, 64 gems now installed.
Use bundle show [gemname] to see where a bundled gem is installed.
What happened when you tried to install thin? I just tried the same command and it updated mine for me:
hass@homeassistant:/srv/hass/src/hadashboard $ sudo gem install thin
Fetching: thin-1.7.0.gem (100%)
Building native extensions. This could take a while...
Successfully installed thin-1.7.0
Parsing documentation for thin-1.7.0
Installing ri documentation for thin-1.7.0
Done installing documentation for thin after 9 seconds
1 gem installed
root@rackpanel:/tmp/hadashboard# sudo gem install thin
Building native extensions. This could take a while…
Successfully installed thin-1.7.0
Parsing documentation for thin-1.7.0
Done installing documentation for thin after 27 seconds
1 gem installed
yes everything goes well ,but the same error again when i am running dashing start