jmcollin78 / versatile_thermostat

A full featured Thermostat for Home Assistant: presets, window, motion, presence and overpowering management
MIT License
346 stars 38 forks source link

Cycle duration not working #588

Closed rbjoensen closed 1 month ago

rbjoensen commented 1 month ago

Cycle duration is set to 30 minutes but stops after 5 minutes

hvac_modes:

jmcollin78 commented 1 month ago

Hello @rbjoensen,

Can you give me more clues. What is stopping after 5 minutes ? I see your configuration seems correct:

cycle_min: 30

but ytour thermostat is just not heating (no need):

current_temperature: 19.9
temperature: 20
hvac_action: idle
...
on_percent: 0.16
on_time_sec: 0
off_time_sec: 1800

Your thermostat is not heating because you tell him not to heat under 5 min (which is a good thing):

minimal_activation_delay_sec: 300

For me all is normal.

rbjoensen commented 1 month ago

sometimes it is more than 5 minutes but never more than 10 minutes

Screenshot_2024-10-31-11-17-14-74_c3a231c25ed346e59462e84656a70e50

jmcollin78 commented 1 month ago

What do you think is a problem ? All I see is normal. The cycle is really 30 min, If I look at your graph.

rbjoensen commented 1 month ago

No about 9 minutes Screenshot_2024-10-31-15-56-37-54_c3a231c25ed346e59462e84656a70e50 Screenshot_2024-10-31-15-56-30-29_c3a231c25ed346e59462e84656a70e50

rbjoensen commented 1 month ago

but the gap between heat is about 30 minutes Screenshot_2024-10-31-16-13-44-14_c3a231c25ed346e59462e84656a70e50

jmcollin78 commented 1 month ago

Eaxh cycle is 30 min long: Capture d’écran 2024-10-31 à 17 02 41

You are confusing cycle length and heat period. During one cycle (30 min) and depending of the conditions, VTHerm can heat from 5 min (the threshold you gave) and 30 min. Curently the heating duration length is 9 min (28 % = on_percent value).