🔥 Advanced Heating Control

yes with the sheduler you can change only between eco and comfort. Than you can implement an inputnumber for comfort and than you can change the value of this number when holiday is coming :wink:

Good afternoon,
I have tried to control my thermostats using the Blueprint. The thermostats also go off automatically when a window opens, but the heating plan doesn’t work. Can you please help me with this?

This is my configuration:

alias: Thermostat Badezimmer
description: ""
use_blueprint:
  path: panhans/advanced_heating_control.yaml
  input:
    input_trvs:
      - climate.thermostat_badezimmer
    input_temperature_comfort_static: 21
    input_adjustments:
      - time: "05:30"
        comfort: "22"
        eco: "18"
        days:
          - Mon
          - Tue
          - Wed
          - Thu
          - Fri
        mode: comfort
      - time: "10:00"
        comfort: "20"
        eco: "18"
        mode: comfort
      - time: "16:00"
        eco: "19"
      - time: "22:00"
        days:
          - Mon
          - Tue
          - Wed
          - Thu
          - Sun
        comfort: "18"
        eco: "16"
        mode: comfort
      - time: "23:59"
        days:
          - Fri
          - Sat
        comfort: "18"
        eco: "16"
        mode: comfort
    input_windows:
      - binary_sensor.fenstersensor_badezimmer_contact
    input_windows_reaction_time_open:
      hours: 0
      minutes: 0
      seconds: 0

the question is, what didn’t work!? Try to use a shedule for the heating plan instead of the adjustment. So if the shedule is on than the comfort-temp will be set, if its off than eco temp will be set.

I thought I could use the heating plan to say that the heating is 21 degrees in the morning from 5.30am to 10am and then 20 degrees from 10am to midnight and then only 18 degrees at night

yes this is possible, but at first you need a shedule which describes when the whole automation is working!

The “heating adjustment” is for fine tuning! in your case setting different comfort temps!
First is createing a shedule which is active from 5:30 till 22:00 on working days and 10 till 22 on non working days! set the comfort temp to 20 and the eco temp to 18.
Than the automation will heat during the day to 20 and in the night to 18!

If you now want to set another comfort temp in the morning you can use the heating adjustment like this:

- time: "05:30"
  comfort: "22"
  days:
    - Mon
    - Tue
    - Wed
    - Thu
    - Fri
- time: "10:00"
  comfort: "20"
1 Like

Just have a look into the docs.

I just have the docs atm. Each section of the blueprint is a - lets say - standalone feature. I recommend to start with simple scheduling and expand the configuration step by step with a little period between the changes.

I don’t recommend that feature. It’s only usefull for cooling imho.

Maybe I should add that feature, too. For now you can setup a template sensor. Like here explained. And the addition here.

Exactly

Yes, since automation are stateless and there is no historical data you have to do this on your own by creating a template sensor, too. Here in the thread is also an example of this situation. At least you will get a binary sensor based on a average temperature over a specific time window.

How do you change the temperature? Using the UI? This is only possible with a timer. Maybe it helps to create a party timer called “Your Timer 23”. The automation takes the last number as the new set temperature for the period the timer is active.

Ok, thanks for reporting. I will check this.

I would take the sensor that is placed at the point where your set target temperature is to be reached. If this is the coldest point in the room. Then a sensor should be placed there.

I would take them out of the group because the sensor should represent the real room temperature. The sensors of the thermostats will measure way too much because they are heating up next to your radiator.

Just setup an empty holiday schedule. Set an entry into your adjustments with the schedule filter and set the eco temperature to your desired temperature.

@tco95ttocs Thanks for your support here. :slight_smile:

2 Likes

Using the Comfort Temperature entity. Sometimes I am changing the temperature from UI, sometimes changing directly on the trv.

@panhans
Thank you for your great blueprint.

I’m having a problem with proximity. I understood that if I’m outside the set distance, the eco temperature is set. Unfortunately, that doesn’t happen. All other temperature settings work.
Eco is set to 18 degrees.
Here are a few screenshots of my settings.
The temperature curve is the one I set when I am at home.
The Eco temperature should have been set at around 12 o’clock because I wasn’t at home from then on.
Do you need additional information?

1 Like

Hi everyone,

I’m having some issues with my smart heating setup. I originally used Simon42 in combination with Better Thermostat, but it didn’t fully meet my needs, so I switched to Advanced Heating Control (AHC).

My problem: Even though I have set an external thermometer in the blueprint, AHC still controls the temperature exclusively based on the internal sensor of the thermostat. As a result, the heating shuts off too early.

Where and how can I configure AHC to use only the external temperature sensor for control?

Thanks for your help!

Best regards,
Philip

I went through the blueprint options and I can’t see anything related to the solar production. This is the valid use case for me (and I think for many people here with their own solar systems) to i.e. heat the spa when the batteries are charged and the solar productions is greater than x.

I found only 1 post related to this issue, and it suggested to play with presence detection, which I guess is not optimal.

Looking forward to any tips on how I can include solar production entities with current blueprint.

Hi @panhans,

the issue I described keeps reproducing and I can’t track down what may be the triggering this behavior.

Quick summary of what happened: I left my home and after a couple of hours I came back around 2pm. Popped to the basement and went back home. This explains the behavior of “Home” entity. Yet, the automation seems to no longer monitor that I was still at home, because it lowered the temperature and set it to away.

I uploaded several traces here.

The newest one was downloaded right after manually triggering the automation. All the other traces (older) were registered right before I manually triggered the automation.

Panhas, my heating system is an Airzone device. I have one thermostat in every room. But this time reason why the automation seems to have lowered the temperature looks completely different than the previous time I posted here.

Could you kindly take a look at the traces? In a nutshell, I was home but the automation lowered the temperature. As soon as I manually triggered the automation, the temperature was set back to comfort (which should have happened automatically in my opinion).

thanks

try to enable the generic calibration, maybe this solves your problem!

@panhans any change to get the Calendar Feature maybe in the next month (dev only with bugs is ok too :joy:)?

i want to set up where at 7pm -8:30am my a/c changes to heat/cool with my preset sleep on my ecobee thermostat. is that possible with this blueprint.

alias: A/C Control Blueprint
description: ""
use_blueprint:
  path: panhans/heating_control.yaml
  input:
    input_trvs:
      - climate.thermoking
    input_hvac_mode: heat_cool
    input_windows:
      - binary_sensor.patio_door_sensor_door
      - binary_sensor.garage_door
    input_windows_reaction_time_open:
      hours: 0
      minutes: 5
      seconds: 0
    input_temperature_comfort_static: 75
    input_proximity: c48347f38922ff6c5d02f96d8df54212
    input_proximity_duration:
      hours: 0
      minutes: 5
      seconds: 0
    input_proximity_distance: 2
    input_temperature_minimum_static: 70
    input_persons:
      - person.animeking
      - person.peaches
    input_windows_reaction_time_close:
      hours: 0
      minutes: 1
      seconds: 10
    input_mode_guest: input_boolean.guest_mode
    input_temperature_minimum: input_number.eco_temp
    input_temperature_comfort: input_number.comfort_temp
    input_schedulers: []

Hello!

I’m setting up Advanced Heating Control with great satisfaction, but I’m stuck on a small yet important issue.

I’ve created a schedule to activate the Comfort Temp. At 9:30 PM, the schedule turns off, and the thermostat switches to Eco Temp. So far, so good.

The problem is that I also want to include the presence of two Persons. However, when I do this, the thermostat doesn’t switch to Eco Temp because it detects both people at home.

I need the thermostat to switch to Eco Temp at 9:30 PM, even if the two people are present in the house.

How can I achieve this?