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

PID MODE NOT "AUTO" BY DEFAULT #252

Open
96Ems opened this issue Oct 25, 2024 · 3 comments
Open

PID MODE NOT "AUTO" BY DEFAULT #252

96Ems opened this issue Oct 25, 2024 · 3 comments

Comments

@96Ems
Copy link

96Ems commented Oct 25, 2024

Describe the bug
PID Mode not set to "auto" by default, need to call the service to get PID working

To Reproduce
Just configure a new thermostat with basic configuration :

  - platform: smart_thermostat
    name: Sejour
    unique_id: smart_thermostat_sejour
    heater: switch.virtual_radiateur_sejour
    target_sensor: sensor.atc_a1fd_temperature
    min_temp: 15
    max_temp: 22
    ac_mode: False
    target_temp: 19
    keep_alive:
      seconds: 60
    away_temp: 15
    sleep_temp: 18
    kp: 11
    kd: 0.01
    ki: 5
    pwm: 00:15:00 

Expected behavior
Expectation was that PID will be enabled by default and do PWM control of heater entity, but instead FULL ON till target +0.5 FULL OFF till target - 0.5

Screenshots
image

@jjmonteiro
Copy link

yeah this one got me as well.. banged my head for quite a while until I figured it out..

@96Ems
Copy link
Author

96Ems commented Nov 18, 2024

Simpliest method to activate PID Auto mode is to create a script and to run it every time HA is starting

alias: PID MODE ON
sequence:
  - action: smart_thermostat.set_pid_mode
    metadata: {}
    data:
      mode: auto
    target:
      entity_id:
        - climate.bureau
        - climate.chambre
        - climate.sejour
        - climate.chambre_amis
description: ""

@ScratMan
Copy link
Owner

Your configuration is similar to mine, and I don't see such issue. Could you please enable debug logging for the integration in HA by adding the following to your configuration.yaml file:

logger:
  logs:
    custom_components.smart_thermostat: debug

Then please reboot and share any line containing smart_thermostat.

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

3 participants