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

Automation turning thermostat On does not set temperature #29

Open
jeffschubert opened this issue Dec 18, 2022 · 0 comments
Open

Automation turning thermostat On does not set temperature #29

jeffschubert opened this issue Dec 18, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jeffschubert
Copy link
Owner

Describe The Bug:
A scenario related to #28 and not yet fixed: If the thermostat is off and your automation sets the temp along with turning it on. Specifically if the desired temp is different than when the thermostat was last in the state your automation is going to.
For example:

  • Thermostat is set to Heat at 70*.
  • You turn it off for whatever reason.
  • Automation triggers to turn it to Heat at 72*.
  • Result will be it is turned on to Heat at 70*. The desired 72* is lost.

The scenario above is due to how the Home app notifies the plugin of a desired change. It sets each characteristic (mode, target temp, target humidity) of the thermostat individually one after the other. The plugin tells the Daikin API to change each individually. The way it is right now, the plugin (at the point it sets the target temp) doesn't know what the desired state (heat/cool/auto) is. So it isn't able to set the target temp correctly. If you are going to the Auto state it'll work fine, but not if going to Cool or Heat.

To Reproduce:
Create an automation in the Home app. Tell it to Heat at a temperature other than the Heat mode is currently set to. Then turn the thermostat off and subsequently trigger the automation. The thermostat will turn on to Heat, but remain at the original target temperature, not the temperature set in the automation.

Expected behavior:
The thermostat should be changed to the temperature defined in the automation.

Environment:

  • Plugin Version: 3.1.2
  • Homebridge Version: 1.6.0
@jeffschubert jeffschubert added the bug Something isn't working label Dec 18, 2022
@jeffschubert jeffschubert self-assigned this Dec 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant