HI all, just a quick question as i just started to play with this amazing thermostat:
I started with a pwm of 30 mins and PID factors of 5, 0.01 and 500, got this:
I have a floor heating, the “rising” part seems ok but not the “falling”, as it is useless to turn the heating on for a few minutes, the valves alone take 2mins to be fully switched on. So first of all i doubled the PWM period (maybe i’ll try even more), and also multiplied by 10 the integral factor, does this make sense?
Now i’m wating to see the effect of the configuration i’m writing below, but in the meantime i was wondering something of what i see now in debug:
Configuration:
- platform: smart_thermostat
name: Termostato Cameretta
unique_id: termostato_cameretta
heater: switch.riscaldamento_cameretta
target_sensor: sensor.thp_cameretta_temperatura
min_temp: 10
max_temp: 26
target_temp_step: 0.1
ac_mode: False
away_temp: 18
cold_tolerance: 0
precision: 0.1
keep_alive:
seconds: 60
kp: 5
ki: 0.1
kd: 500
debug: true
sampling_period: 00:10:00
pwm: 1:00:00
Debug:
hvac_modes:
- heat
- 'off'
min_temp: 10
max_temp: 26
target_temp_step: 0.1
preset_modes:
- none
- away
current_temperature: 20
temperature: 21.5
hvac_action: idle
preset_mode: none
away_temp: 18
eco_temp: null
boost_temp: null
comfort_temp: null
home_temp: null
sleep_temp: null
activity_temp: null
control_output: 26.6
kp: 5
ki: 0.01
kd: 500
ke: 0
pid_mode: auto
pid_i: 19.3
pid_p: 7.4
pid_d: -0.1
pid_e: 0
pid_dt: 600.0040857791901
friendly_name: Termostato Cameretta
supported_features: 17
If my total output is 26%, with a pwm of 1h, why is the heater off? Shouldn’t it turn the heater on for 26 minutes?
Also, a theoretical question: If i set the sampling period to be 10 minutes, this means that the control output will be updated every 10 minutes, right? So if the control output still generates, as an example, an output of 26mins, does this mean that the heater will be turned on for another 26 minutes?
Any suggestion on the tuning is appreciated. Thanks!