hi folks, has anybody successfully configured HADashboard to control the Nest thermostat? I would like to be able to change the temp via HADashboard. Thanks!
anybody? thanks
HADashboard v1 doesn’t have a thermostat. v2 which is just entering beta will have one soon so that would be a good place to start.
Excellent, looking forward to v2. Thanks!
Has this come to be yet? I don’t see one in the widgets set in the GitHub repo…
Thanks for the fast response!
So that was what I was actually using, but it doesn’t seem to control it - meaning that I can’t turn it up or down, nor does it show the set point. On the home assistant page I can click on it and change the temperature, while on my dashboard it shows a plus and minus, but they don’t do anything:
I am pointing to the same entity as in HA:
Is the problem because I have it set in auto mode (which works fine with HA)?
Thanks
EDIT:
when I adjust the cool temperature with HA this message is generated:
2018-06-05 09:22:49 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=climate, service=set_temperature, service_data=target_temp_low=68, target_temp_high=76, entity_id=climate.downstairs, service_call_id=140231359308688-108>
While clicking on the plus in HAD it shows:
2018-06-05 09:26:48 INFO (MainThread) [homeassistant.components.http] Serving /api/services/climate/set_temperature to 172.17.0.2 (auth: True)
2018-06-05 09:26:48 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=climate, service=set_temperature, service_data=entity_id=climate.downstairs, temperature=NaN, service_call_id=140231359308688-109>
2018-06-05 09:26:48 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall climate.set_temperature: entity_id=['climate.downstairs'], temperature=nan>
Traceback (most recent call last):
File "/usr/src/app/homeassistant/core.py", line 1010, in _event_to_service_call
yield from service_handler.func(service_call)
File "/usr/src/app/homeassistant/components/climate/__init__.py", line 336, in async_temperature_set_service
yield from climate.async_set_temperature(**kwargs)
File "/usr/local/lib/python3.6/asyncio/futures.py", line 327, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
future.result()
File "/usr/local/lib/python3.6/asyncio/futures.py", line 243, in result
raise self._exception
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/app/homeassistant/components/climate/nest.py", line 172, in set_temperature
_LOGGER.debug("Nest set_temperature-output-value=%s", temp)
UnboundLocalError: local variable 'temp' referenced before assignment
2018-06-05 09:26:48 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1528205208.8544064, level=ERROR, message=Error executing service <ServiceCall climate.set_temperature: entity_id=['climate.downstairs'], temperature=nan>, exception=Traceback (most recent call last):
File "/usr/src/app/homeassistant/core.py", line 1010, in _event_to_service_call
yield from service_handler.func(service_call)
File "/usr/src/app/homeassistant/components/climate/__init__.py", line 336, in async_temperature_set_service
yield from climate.async_set_temperature(**kwargs)
File "/usr/local/lib/python3.6/asyncio/futures.py", line 327, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
future.result()
File "/usr/local/lib/python3.6/asyncio/futures.py", line 243, in result
raise self._exception
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/app/homeassistant/components/climate/nest.py", line 172, in set_temperature
_LOGGER.debug("Nest set_temperature-output-value=%s", temp)
UnboundLocalError: local variable 'temp' referenced before assignment
, source=components/climate/nest.py>
It looks like NEST thermostats work differently to the ZWave thermostats I wrote this widget to control - I don’t have Nest so I’m not sure how to test this …
I might try to take a look at some point if time allows, and I need to play around with the sonos as well.
There is likely an added twist with the nest because I have them in “auto” mode - they have both heating and cooling set points, so there are two different target temperatures.
I spent some time yesterday evening looking through the HADashboard Widget Development docs. I have the skills, but also too many hobbies so not much time
Please. This is a must for me. Thanks