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

Fix heating state #1

Merged
merged 7 commits into from
May 16, 2024
Merged

Fix heating state #1

merged 7 commits into from
May 16, 2024

Conversation

zimuliu
Copy link
Owner

@zimuliu zimuliu commented Dec 9, 2023

This is to address the issue reported in dustindclark#2

  • Always set Heat as target state (will show "Heat to" in Home.app)
  • Set Heat as current state when combustion is on (will show "Heating to" in Home.app and the number will turn Orange); otherwise, set Off as current state (the number will stay White)
  • Display the outlet temperature as the current temperature, so that it better match the UX of ("Heat to" / "Heating to")

Example when the combustion is on
image

Example when the combustion is off
image

Comment on lines 102 to 103
minValue: THERMOSTAT_MIN_CURRENT_TEMP,
maxValue: THERMOSTAT_MAX_CURRENT_TEMP,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was it intentional to use constants vs the user defined values?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the current temp could be out of the range for target temperature. For example, when water heater has been idling for a while, the current temperature (outlet temperature) will be close to the main water line temperature, which is much lower than the minimal target temperature.

@zimuliu zimuliu changed the base branch from fix-target-temp-bug to master December 22, 2023 15:48
@zimuliu zimuliu force-pushed the fix-heating-state branch 6 times, most recently from 136cb78 to 689c142 Compare December 22, 2023 18:44
* Added the support of heating state ("Heating to" when the combustation is ON) and the current water temperature (from the outlet temperature).
* Improved the stepped target temperature calculation for controllers using imperial unit.
* Avoid adding recirulation button if the heater is not configured for it yet
@zimuliu zimuliu merged commit 36d7e09 into master May 16, 2024
@zimuliu zimuliu deleted the fix-heating-state branch May 16, 2024 02:28
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

Successfully merging this pull request may close these issues.

2 participants