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

Switch gets randomly turned on and off #6

Closed
oxymoron1629 opened this issue Apr 1, 2022 · 3 comments · Fixed by #59
Closed

Switch gets randomly turned on and off #6

oxymoron1629 opened this issue Apr 1, 2022 · 3 comments · Fixed by #59
Assignees

Comments

@oxymoron1629
Copy link

I'm trying to wrap my head around the behavior this component seems to take. Before is my config.
` platform: dual_smart_thermostat

name: Virtual Bedroom
heater: switch.bedroom_ac_heat
cooler: switch.bedroom_ac_cool
target_sensor: sensor.bedroom_temperature_sensor_temperature
min_temp: 55
max_temp: 80
ac_mode: false
target_temp: 68
target_temp_high: 73
target_temp_low: 68
cold_tolerance: 0.5
hot_tolerance: 0.5
min_cycle_duration:
  minutes: 2
initial_hvac_mode: "heat_cool"
away_temp: 60
precision: 0.1`

For some reason, despite the temperature being outside the target temp and tolerance, the component keeps turning the switch on and off repeatedly. See log of the switch.

Screenshot_20220401-153729_Home Assistant

Any ideas why this would be happening? Is it an issue with my config? What's weird to me is that it's toggling the switch faster than the minimal cycle duration. Any help would be greatly appreciated.

@swingerman
Copy link
Owner

please install the latest version (0.6.0) and let me know if it still exists

@swingerman swingerman pinned this issue May 13, 2022
@eSeR1805
Copy link

eSeR1805 commented Oct 25, 2022

I'm also seeing this
image
On latest version:
image
Config:

climate:
  - platform: dual_smart_thermostat
    name: Thermo2
    heater: switch.sonoff_1000a7dfc0
    cooler: climate.daikinap67520
    target_sensor: sensor.bedroom_temperature
    openings:
      - binary_sensor.door_and_window_sensor_6a40
      - binary_sensor.door_and_window_sensor_cb42
      - binary_sensor.door_and_window_sensor_f364_contact_sensor_f364
    min_temp: 15
    max_temp: 30
    ac_mode: false
    target_temp: 20
    target_temp_high: 25
    target_temp_low: 20
    cold_tolerance: 0.3
    hot_tolerance: 0
    min_cycle_duration:
      seconds: 5
    keep_alive:
      minutes: 3
    initial_hvac_mode: "heat_cool" # hvac mode vill reset to this value after restart
    away_temp: 17
    precision: 0.1

@swingerman swingerman self-assigned this Jul 4, 2023
swingerman pushed a commit that referenced this issue Jul 4, 2023
swingerman pushed a commit that referenced this issue Jul 4, 2023
swingerman pushed a commit that referenced this issue Jul 4, 2023
@swingerman
Copy link
Owner

Added a fix that you can test in the latest beta: https://github.com/swingerman/ha-dual-smart-thermostat/releases/tag/v0.9.0-beta.2

@swingerman swingerman unpinned this issue Dec 20, 2023
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

Successfully merging a pull request may close this issue.

3 participants