Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thermostats set to "Off" shows target temperature to -20ºC #11

Closed
rikhudson opened this issue Jan 4, 2019 · 6 comments
Closed

Thermostats set to "Off" shows target temperature to -20ºC #11

rikhudson opened this issue Jan 4, 2019 · 6 comments

Comments

@rikhudson
Copy link

Any temperature set to "Off" (as part of Auto or Manual schedules shows the target temperature as -20ºC.

screenshot 2019-01-04 at 11 50 03

Sidenote: Thanks for all the great work on this, excited to see controls come in too! 🤞

@v966732
Copy link

v966732 commented Jan 4, 2019

You can use a template to amend the -20 value to zero e.g.:-
value_template: >-
{% if is_state_attr('climate.wiser_room','temperature', -20) %}
0
{% else %}
{{state_attr('climate.wiser_room','temperature')}}
{% endif %}

@asantaga
Copy link
Owner

asantaga commented Jan 4, 2019

Hey there

Yes this is a known issue.. If the rad is "Off" then I need to send something back , so I send -20.. I did toy with sending "0" back but that would be a valid value...., it might be zero degrees! whereas -20 was far out...

this is done by https://github.com/asantaga/wiserHomeAssistantPlatform/blob/master/climate/wiser.py lines 75.. The rads themselves are set to -3000!!!

You can override the -20 by setting the parameter minimum:
e.g.

wiser:
  host: <ENTER YOUR HEATHUB IP HERE>
  password: <ENTER YOUR SECRET TOKEN, OBTAINED FROM STEP THREE HERE>
  scan_interval: 300
  minimum: -5

Is that ok, or can you think of a better solution?

I looked into sending "Off" but if I do that it screws up the graphs....
Another workaround is not to set the rad to off but to a low value, like -5, which unless the radiator is outside would be the equivalent to off :-)

need to get my act and fix more bugs!! Also working to add this to HA natively as an OOTB feature

@rikhudson
Copy link
Author

@asantaga Ahh I your point about the graphs, very good point! Well… reckon I can work with -20ºC for now. 👍

@asantaga
Copy link
Owner

asantaga commented Jan 4, 2019

@rikhudson , the -20 bit is only important for graphs where you also display the setPoint.. My advice is instead of setting the temperature to "Off" , set it to 5C,.

Also set the minimum in the config file and all should be good?

Is that ok? if so then close the ticket :-)

@rikhudson
Copy link
Author

I’ll go with that!

Sure, feel free to close it! :)

@asantaga
Copy link
Owner

asantaga commented Jan 4, 2019

Closing issue :-)

@asantaga asantaga closed this as completed Jan 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants