Add duty cycle protection parameters to thermostat climate platform #3244
Unanswered
janboshoff75
asked this question in
Component enhancements
Replies: 1 comment
-
🏷️ I've automatically added the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Component name
thermostat
Link to component documentation on our website
https://esphome.io/components/climate/thermostat.html
Describe the enhancement
Summary
Add
max_cooling_run_time
/max_heating_run_time
andforced_rest_period
configuration options to the thermostat climate platform to automatically enforce duty cycle limits and prevent equipment damage from excessive continuous operation.The problem
Many refrigeration systems, heat pumps, and other HVAC equipment can be damaged by running continuously for extended periods without rest. Currently, ESPHome's thermostat platform only provides minimum timing controls (
min_cooling_run_time
,min_cooling_off_time
, etc.) but no maximum runtime protection. There ismax_cooling_run_time
, but this is more related to triggering supplemental cooling.Users must implement custom logic with globals, intervals, and lambda functions to achieve duty cycle protection, which is error-prone and requires significant boilerplate code.
Proposed solution
Behavior
max_cooling_run_time
is exceeded, automatically switch toCLIMATE_MODE_OFF
Use cases
Similar functionality exists in: Many commercial HVAC controllers, industrial PLCs, and dedicated refrigeration controllers.
Estimated implementation complexity: Medium - would extend existing thermostat state machine and timing logic.
Anything else?
This feature would benefit:
Real-world example: Refrigeration compressors typically need a rest period after 4-6 hours of continuous operation to prevent overheating and ensure proper oil circulation.
Beta Was this translation helpful? Give feedback.
All reactions