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

Restart autotune. #194

Open
sebsebseb1982 opened this issue Dec 28, 2023 · 1 comment
Open

Restart autotune. #194

sebsebseb1982 opened this issue Dec 28, 2023 · 1 comment

Comments

@sebsebseb1982
Copy link

sebsebseb1982 commented Dec 28, 2023

It's been several months since I set up Smart Thermostat. It worked until now but I wanted to improve its monitoring of the temperature setpoint by launching an autotune process.

So I added an autotune parameter to my configuration.

climate:
  - platform: smart_thermostat
    name: Thermostat
    unique_id: "thermostatMaison"
    heater: switch.domo_chaudi_re
    target_sensor: sensor.temperature_maison
    #    target_sensor: sensor.domo_etage
    outdoor_sensor: sensor.domo_ext_rieur
    debug: true
    #  autotune: "ziegler-nichols"
    min_temp: 14
    max_temp: 22
    min_cycle_duration: 00:20:00
    ac_mode: False
    target_temp: 19
    autotune: "ziegler-nichols"
    keep_alive:
      seconds: 60
    away_temp: 15
    kp: 5
    ki: 0.01
    kd: 500
    pwm: 00:15:00

Since then, I have observed the log "thermostatMaison: Autotune will run with the target temperature set after 10 temperature samples from sensor. Changes submitted after doesn't have any effect until autotuning is finished ". Where can I see if these measures are progressing?

Here is my entity attributes :

hvac_modes: heat, off
min_temp: 14
max_temp: 22
preset_modes: none, away
current_temperature: 18.5
temperature: 19.5
hvac_action: idle
preset_mode: none
away_temp: 14
eco_temp: null
boost_temp: null
comfort_temp: null
home_temp: null
sleep_temp: null
activity_temp: null
control_output: 0
kp: 5
ki: 0.01
kd: 500
ke: 0
pid_mode: off
pid_i: 0
pid_p: 0
pid_d: 0
pid_e: 0
pid_dt: 0
autotune_status: off
autotune_sample_time: null
autotune_tuning_rule: ziegler-nichols
autotune_set_point: null
autotune_peak_count: 0
autotune_buffer_full: 0
autotune_buffer_length: 10
icon: mdi:temperature-celsius
friendly_name: Thermostat
supported_features: 17

Can I restart the autotune process from scratch?

Bonus question, could someone explain to me the difference between all these attributes:

  • hvac_action
  • preset_mode
  • control_output
  • pid_mode
@Kolia56
Copy link

Kolia56 commented Oct 30, 2024

autotune_status tells whether the process is started and then finished
hvac_action tells the output control is on or idle
preset_mode: gives the opportunity to set various temperature target points and set the thermostat to these predefined figures without interacting directly with the target set point.
control_output: it is the output of the PID controller ranking 0 to 100.

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

No branches or pull requests

2 participants