🔥 Advanced Heating Control

Unfortunately, I can only access five traces, and they were from the last 10 minutes. The problem occurred again this afternoon. How can I access traces from the entire day?

Hi there,

Thanks for this! It looks super good! I don’t know if this is the right tool for my setup can you please advise?

I have a Nest Thermostat (Connected to the Boiler) in the Living Room
In the Living Room I have 2 Smart TRVs and 1 External temp sensor.
I also have a Bedroom and Guest room with 1 smart TRV and 1 External Temp sensor.

I believe this wont be the correct solution for me because the boiler will turn off too soon to heat all the rooms.

Example:
Bedroom Temp sensor = 20C
Bedroom TRV = 22C
Nest Thermostat Temp = 21C

In the above example, this would not turn on the boiler and the bedroom would not reach the temp of the TRV

Another question I have is what happens to the boiler when one of the room’s reaches the TRV Temp? How does it know how to turn the boiler off? (Sorry if this is dumb question, I’ve got a newborn so have baby brain haha)

Hey There! I was using my own automations, but quickly found out that Advanced Heating Control does more and better! :smiley:

One thing, I would want to change is to leave thermostats that are off switched off.

I use AHC to switch between comfort and eco based on presence and use a calendar for night/day temperature. Sometimes, I switch an thermostat off and I want to keep it that way, i.e. do not switch it on again if I leave/come back the house.

Can this somehow be achieved: keep an thermostat that is off off?

Thanks!

Hello everyone,

I’m having an issue with version 5.3.4 of AHC.

In general, the control system works exactly as it should – and I’m very happy with it. To disable heating during the summer months, I created an input boolean (switch). When this switch is set to “off”, all thermostats should be disabled so that no heating takes place (summer mode).

Unfortunately, this doesn’t work reliably. While the thermostats initially turn off when toggling the switch, they later turn back on by themselves – even though the switch remains set to “off”.

This is quite frustrating and goes against the intended behavior.
Does anyone know what might be causing this?

Attached is an example of the automation I’ve set up for the hallway.
I use Aqara E1 Radiators via Zigbee.

Thanks in advance for your support!

alias: Heizung
use_blueprint:
  path: panhans/advanced_heating_control.yaml
  input:
    input_trvs:
      - climate.thermostat_flur
    input_temperature_comfort_static: 20.5
    input_temperature_eco_static: 17
    input_temperature_sleep_static: 17
    input_away_offset: 17
    input_calibration_delta: 0
    input_mode_winter: input_boolean.schalter_heizung_an_aus
    input_mode_party:
      - input_boolean.schalter_heizung_sondertage
      - input_boolean.schalter_heizung_urlaub
    input_force_max_temperature: input_boolean.schalter_heizung_heatup
    input_persons:
      - person.ha1
      - person.ha2
    input_windows:
      - binary_sensor.haustuer_door_sensor
    input_window_open_temperature: 5
    input_windows_reaction_time_open:
      hours: 0
      minutes: 0
      seconds: 15
    input_windows_reaction_time_close:
      hours: 0
      minutes: 0
      seconds: 15
    input_scheduler_selector: input_boolean.schalter_heizung_urlaub
    input_schedulers:
      - schedule.heizung_zeitplan_flur
      - schedule.heizung_zeitplan_urlaub
    input_liming_protection: true
    input_liming_protection_day: Fri
    input_temperature_external_sensor: []

Edit:
I’ve since found out that the thermostats turn back on whenever a door/window contact in the room is active. This causes the thermostats to reactivate. Bug or feature?

Hello Panhans,

thank you very much for your answer and apologies for the late reply. You can find both trace logs at the below links. I hope you can help me in some way.

Window sensor open: dpaste/t8BZg (JSON)
Window sensor closed: dpaste/Ppfzs (JSON)

Thanks.

Best regards,
Lukas

Ok. I just went ahead and removed all my Zones but my Home zone, moving from this:

to this:

I was not actually not using those Zones any way…

I should be good now, right?

thanks!

I need some help configuring the blueprint. Im confused if this is only for heating or both heating and cooling? Tittle says heating control, but the description has “heating / :snowflake: cooling based on” also I see " If you own an air conditioner it will support auto or cool , too.". Could you please explain how to control both(if we can)? we can start with very basic, presence sensing to start heat or cool based on the outside temperature.

@panhans I’d like to use this blueprint, but I fail to understand if it can support the auxiliary heating?

So I have a radiator heating (with TRV), but sometimes I’d like to use the aircon as an auxiliary heating for short period of time. Today I have an input boolean to enable the feature and when TRV is in heating mode, I turn on the AC in the heat mode with +5 degree increase to make sure its internal thermostat doesn’t control it.

This is my super dummy automation that works well enough for me, with several limitations tho.

alias: HVAC heating AC - Use AC as a auxiliary mode for TRV
description: >-
  When room thermostat changes its state, automation will copy the configuration
  to the AC heating system (turbo mode with the help of AC)
triggers:
  - trigger: state
    entity_id:
      - climate.living_room_thermostat
      - climate.office_thermostat
      - input_boolean.hvac_living_room_ac_turbo
      - input_boolean.hvac_hallway_ac_turbo
conditions:
  - condition: state
    entity_id: input_boolean.hvac_heating_is_allowed
    state: "on"
actions:
  - repeat:
      for_each:
        - entity_trv: climate.living_room_thermostat
          entity_aircon: climate.ac_living_room
          entity_turbo: input_boolean.hvac_living_room_ac_turbo
        - entity_trv: climate.office_thermostat
          entity_aircon: climate.ac_hallway
          entity_turbo: input_boolean.hvac_hallway_ac_turbo
      sequence:
        - if:
            - condition: template
              value_template: "{{ is_state(repeat.item.entity_turbo, 'on') }}"
          then:
            - if:
                - condition: template
                  value_template: >-
                    {{ is_state_attr(repeat.item.entity_trv, 'hvac_action',
                    'idle') }}
              then:
                - action: climate.set_hvac_mode
                  data_template:
                    entity_id: "{{ repeat.item.entity_aircon }}"
                    hvac_mode: "off"
              else:
                - action: climate.set_hvac_mode
                  data_template:
                    entity_id: "{{ repeat.item.entity_aircon }}"
                    hvac_mode: "{{ states(repeat.item.entity_trv) }}"
                - action: climate.set_temperature
                  data_template:
                    entity_id: "{{ repeat.item.entity_aircon }}"
                    temperature: >-
                      {{ (state_attr(repeat.item.entity_trv,
                      'temperature')|float) + 5 }}
          else:
            - action: climate.set_hvac_mode
              data_template:
                entity_id: "{{ repeat.item.entity_aircon }}"
                hvac_mode: "off"
mode: single

Would your blueprint help me here?

Hello every one, I recentrly buy the TADO X system to command my heating system comprending 6 radiator and 1 boiler.
I have issue with the boiler thermostat that push the pressure of the boiler to high when after a pahase of heating the radiators valves close the system and the boiler keep heat, this cause an over pressure in my system.
So i try to control all the valves and the bolier thermostat with HA via MATTER and i saw this blue print, it can introduce a delay of closing the valve and let the boiler drop down the pressure?
Thanks everyone help me out