Comments (4)
I have a similar setup: a heater/cooler AC, but I have solved this by defining a pair of switches like the followings for each AC in the HA configuration. Inside the general configuration.yaml, I added:
switch: !include switch.yaml
and then, I created the switch.yaml file with a heater switch and a cooler switch for every AC.
The following example is for a room/climate named "oficina" (Office in Spanish):
# Switches (heater/cooler) for oficina:
- platform: template
switches:
oficina_heater:
value_template: "{{ is_state('climate.termostato_de_la_oficina', 'heat') }}"
turn_on:
service: climate.set_temperature
data:
hvac_mode: heat
temperature: 30
target:
entity_id: climate.termostato_de_la_oficina
turn_off:
service: climate.turn_off
target:
entity_id: climate.termostato_de_la_oficina
- platform: template
switches:
oficina_cooler:
value_template: "{{ is_state('climate.termostato_de_la_oficina', 'cool') }}"
turn_on:
service: climate.set_temperature
data:
hvac_mode: cool
temperature: 18
target:
entity_id: climate.termostato_de_la_oficina
turn_off:
service: climate.turn_off
target:
entity_id: climate.termostato_de_la_oficina
Then, you set up your dual_thermostat as:
- platform: dual_smart_thermostat
name: Termostato Dual Oficina
unique_id: termostato_dual_oficina
heater: switch.oficina_heater
cooler: switch.oficina_cooler
target_sensor: sensor.termostato_de_la_oficina_temperature
# the reminder options of the dual_thermostat
Final note: Even, you could specify a target temperature for the heater/cooler switch using a template (retrieving the target_temp of the dual_thermostat). But, in my case, as I turn on the AC in the cheapest hours of electricity cost, I want to boost the heating/cooling in those hours instead of "keeping the temperature around the target temp" all time. After those cheap hours, the zone is more heat/cool than the target temp, but it keeps at a comfortable temp for more time, trying to not use the AC during the expensive hours of electricity cost.
I hope this would have helped you. If you have any question about this setup, I can help you a bit more. :)
from ha-dual-smart-thermostat.
This is exactly my case. I use dual thermostat to control an AC. This AC does not have a temperature sensor. Dual Thermostat helps me to combine a temperature sensor with a virtual switch, to control the AC. But this also involves automation.
from ha-dual-smart-thermostat.
I use a similar setup as @alvarocarrera does.
from ha-dual-smart-thermostat.
I succeeded. Thank you. Now I don't need additional automations. 👍
The only automation I use with this thermostat, checks if I'm nearby, in the desired time interval, and if the consumption of the AC outlet is at a certain level.
If these three are true, set the "home" preset. If not, the "away" preset
from ha-dual-smart-thermostat.
Related Issues (20)
- Ccurrently the heat/cool fuction is not working with the fan-mode HOT 4
- EventType and StrEnum was deprecated ....in HA Core 20255. HOT 1
- "latest beta" unable to set hvac mode after selecting preset HOT 5
- Fan hot tolerance issue HOT 13
- [Bug?] Set temps don't restore on HA boot if a preset is set when HA restarts HOT 5
- [Request] Set temperature value based on target_temp_* values when switching HVAC_Mode while Preset is set HOT 3
- Invalid HVAC mode: None HOT 8
- can tolerance values be linked to input_number? HOT 1
- run blower fan for circulation HOT 6
- Feature Request: Enable/disable fan_hot_tolerance based on outside air temperature HOT 3
- Fan speed HOT 7
- Support dry mode HOT 4
- Update Bug HOT 1
- Expose some settings via entity id's. HOT 12
- Preset selection not removed when manually changing target temp HOT 3
- Typo In An Example YAML In Installation Section
- [BUG] Component won't run on Core v2024.3.1 - config warns about exception HOT 2
- disable Heat/Cool Mode HOT 6
- Always turn on Cool, regardless of last mode and doesn't revert to mode if HASS is restarted, not turn off when HASS shuts down HOT 6
- min_cycle_duration results in gaps in cooling when using fan_hot_tolerance HOT 1
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.