Comments (4)
I can see in your configuration that you are using same switch for heater
and cooler
. This is not correct and can create the issue reported by you. Try using 2 different switch.
from ha-dual-smart-thermostat.
You were totally right @ollo69 - this was the reason. I modified the config with two different switches and both problems were gone. Thank you.
I do have a question, though.
My heating system is a geothermal heating pump, which produces warm liquid during the heating season and cold liquid during the cooling season. That liquid is pumped to the pipes under the floor. This flow is controlled by one valve irrespective if it is the heating season or the cooling season. Therefore I had the same switch for heating and cooling initially.
I worked around this by creating a duplicate switch on the same GPIO of my ESP32, which controls the actuator of the valve. But now I have a problem that when the GPIO is ON, I have one switch showing it is on, and the other switch showing it is off. I am thinking maybe I could fix with the on_turn_on / on_turn_off
actions in the ESPHome.
However - isn't my situation common and maybe the ha-dual-smart-thermostat
could support the usage of one switch for heating and cooling?
from ha-dual-smart-thermostat.
This is a special case that cannot be managed with current integration behavior. It requires changes in the logic so that the meaning of the switch is related to current temperature. I think you should create a feature request detailing yours need.
For now I will create a PR to avoid wrong configuration having same entity for heater and cooler.
from ha-dual-smart-thermostat.
Thinking better about this, I think that the better (and simplest) solution is to define 2 template switch and a third switch helper (or any other kind of sensor) that just define summer / winter
- switch 1 (heater) will use as
value_template
the status of GPIO and helper=winter - switch 2 (cooler) will use as
value_template
the status of GPIO and helper=summer
Then you can change the helper status based on 1 integration that change value based on the date, or just change it manually when needed.
from ha-dual-smart-thermostat.
Related Issues (20)
- [bug]. wrong HVACAction is set. HOT 9
- Service climate: set temperature does not work HOT 2
- [feat] - add binary sensor for aux heater status
- Entity None warning HOT 2
- 0.9.5 Update removed cool mode on my thermostat HOT 5
- After Upgrade v0.9.5-beta.4 -> v0.9.5 "hvac_action" attribute missing HOT 5
- Appreciation, question (help) and some ideas HOT 1
- [feeat] Opennings only for Heater or Cooler HOT 30
- [feat] Opening reverse switch state
- [feat] config flow
- [feat] config flow bare minimum setup
- [feat] restore last used HVAC mode on toggle HOT 9
- [feat] enable other climate options HOT 4
- chore: update home assistant version
- [feat] option to run fan after AC turned off to prevent mould build up
- Thermostat no longer turns on to heat/cool mode HOT 11
- [feat] Safety disable if sensor unavailable HOT 18
- Reload Config Temeprature HOT 4
- Not all preset modes available HOT 1
- [feat] validate preset modes by target temperatures Failed to call service climate/set_preset_mode... HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-dual-smart-thermostat.