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

[bug] - min_cycle_duration ignored #12

Open
coltography opened this issue Apr 22, 2022 · 7 comments
Open

[bug] - min_cycle_duration ignored #12

coltography opened this issue Apr 22, 2022 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@coltography
Copy link

When setting min_cycle_duration to either seconds: 120 or minutes: 2 I get the same results with my cooling turning off/on every few seconds if the temperature is close to the setpoint.

Is there something I'm missing? I copied it straight from the example config and it still doesn't work as intended.

@bughatti
Copy link

I second this same issue. I have noticed that the A/C will cut on and off every few seconds when close to set point. The biggest issue with this is that the A/C compressor can go out a lot quicker when being cut on and off so quickly and so much. What is the best fix for this?

@ollo69
Copy link
Contributor

ollo69 commented Nov 12, 2022

This could be fixed by PR #37

@swingerman
Copy link
Owner

swingerman commented Nov 13, 2022

Please let us know if v0.7.0 fixed it. Thanks @ollo69 !

@alvarocarrera
Copy link
Contributor

alvarocarrera commented Nov 17, 2022

Thanks a lot, @ollo69 but I have checked the min_cycle_duration is not working since v0.6.7. EDIT: It is working in v0.7.1

Asap the temp reaches the target, it stops without checking the min_cycle_duration configuration.

I have tested a bit more, it stops when low/high temperature changes, and then it calls _async_control_climate(force=True) which makes sense to force the stopping or starting of the device when the targets change.

Ok, I have to adapt my automations, but it is working. Thanks a lot again @ollo69

@alvarocarrera
Copy link
Contributor

alvarocarrera commented Aug 23, 2023

"min_cycle_duration" is not working in the last release (0.9.1). It is constantly stopping my AC machines. I only see one "weird" log that says my cooler is "Already running". I see in logs that "keep_alive" is working but... I have no "keep_alive" configuration in my YAML. In logs (debug level) I see the following every few seconds:

`2023-08-23 14:46:52.668 DEBUG (MainThread) [custom_components.dual_smart_thermostat.climate] _async_control_climate_forced, time 2023-08-23 12:46:52.667375+00:00

2023-08-23 14:46:52.668 DEBUG (MainThread) [custom_components.dual_smart_thermostat.climate] _async_control_heat_cool

2023-08-23 14:46:52.669 INFO (MainThread) [custom_components.dual_smart_thermostat.climate] Keep-alive - Toggling on heater cooler switch.oficina_heater, switch.oficina_cooler`

Could it be related in some way to the new opening configuration and the new timing feature?

Thanks in advance for your help.

@drulia
Copy link

drulia commented May 10, 2024

it doesn't work for me, using v0.9.5 installed from hacs, using latest HA 2024.5.2
I have a setup to try out dual smart thermostat:

climate:
  - platform: dual_smart_thermostat
    name: Bedroom AC
    heater: input_boolean.bedroom_ac_heat_toggle
    cooler: input_boolean.bedroom_ac_cool_toggle
    heat_cool_mode: true
    target_sensor: input_number.fake_temp
    min_temp: 17
    max_temp: 28
    cold_tolerance: 1.5
    hot_tolerance: 1.5
    min_cycle_duration:
      minutes: 2
    keep_alive:
      minutes: 3
    precision: 0.1
    target_temp_step: 0.5

and it switches off heating no matter how much time passed.
here is a preview of history, less then a minute passed from heat start and it switched off, even though 2 minutes are set as minimum cycle duration.
Screenshot 2024-05-10 155408

I have tried to look it up in states, what value climate entity has, but there isn't one. Is that by design or does that mean that my configuration is wrong?

@swingerman swingerman reopened this May 10, 2024
@mat1990dj
Copy link

Same for me, I have a min cycle of 30 seconds and it completely ignores it

@swingerman swingerman self-assigned this Oct 7, 2024
@swingerman swingerman added the bug Something isn't working label Oct 7, 2024
@swingerman swingerman changed the title min_cycle_duration not working [bug] - min_cycle_duration ignored Oct 7, 2024
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

7 participants