🔥 Advanced Heating Control

You could use NodeRED for that.

i mainly use BT cause of the frontend… what frontend are you using?

Hi,
Thank you for this great Blueprint.
I have been using that for a while now and it works just fine.
I‘m using it with my Homematic IP heating valves. Therefore I use the option „physical temperature change“.
As I lower the temperature in our Winter garden to 18 degrees over night, it takes quite a while (depending on outside temperature ) to raise it back to about 20 degrees.
There’s a boost function in Homematic, which I would like to use.
I made a script to execute this function. The script works.
Is there a way to implement that in you blueprint?

Any feedback would be appreciated
Have a nice weekend

@panhans 5.2.9 works wonders. Not a single issue since I upgraded to this version.

1 Like

i deactivated my BT for the radiator in my office and will see what i results i get from now on.

1 Like

Is this a preset or does it change the hvac mode? And when exactly should it be set? After the automation switched to comfort mode? Or do you want to trigger it manually?

A frist workaround can be a party timer named Boost 30 for example that rises the valve to its maximum temperature. But I don’t know if the homatic trvs open up the valves completely in manual mode.

But you also can use your script. Setup the AHC template sensor. Let it execute by an automation when the mode switches to comfort and check the running state or the state of the trv as a custom condition in AHC to block further changes on your thermostats until the script ends.

i still use the BT UI, the only thing i’m missing there, is that the actual temperature is the temp off the TRV and not the temp from the roomsensor!

Thank you for your reply.
I have prepared the following script:

alias: Boost Wintergarten
sequence:
  - data:
      entity_id: climate.jurgen_wintergarten
      preset_mode: boost
    action: climate.set_preset_mode
mode: single
description: "Boost Heizkoerper Wintergarten fuer 30 min."

When I execute that, it will set the valve to boost mode (80% opening) for 30 min.
My idea is, to use that in case the set temperature is more than let’s say 2 degrees above the real temperature.
Without boost mode it might up to two hours to reach 20 degrees, if it’s really could outside…
Is there a way to implement that in your blueprint some how?

That’s a bit tricky. I think this is possible with a 2nd automation.

But at first you need to setup the AHC template sensor for your AHC automation.

Then you need a automation for your boost:

Trigger template trigger:

If you only have you thermostat

{{ state_attr('climate.jurgen_wintergarten','current_temperature') | float - state_attr('climate.jurgen_wintergarten','temperature') | float <= -2 and state_attr('binary_sensor.YOUR_AHC_SENSOR','mode') == 'comfort' }}

If you use an additional room temperature sensor:

{{ states('sensor.YOUR_ROOM_TEMP_SENSOR') | float - state_attr('climate.jurgen_wintergarten','temperature') | float <= -2 and state_attr('binary_sensor.YOUR_AHC_SENSOR','mode') == 'comfort' }}

For the automation action:

- data:
    entity_id: climate.jurgen_wintergarten
    preset_mode: boost
  action: climate.set_preset_mode
- wait_template: "{{ state_attr('climate.jurgen_wintergarten','current_temperature') | float - state_attr('climate.jurgen_wintergarten','temperature') | float > -2 }}"
  continue_on_timeout: true
  timeout: "00:30:00"

If you use an temp sensor you also have to edit the wait template according to the trigger. This sets your boost presets and wait until the temperature difference is greater than -2. But it waits max 30 min.

And in your AHC Automation you need to add the custom condition:

condition: template
value_template: "{{ state_attr('automation.YOUR_BOOST_AUTOMATION', 'current') > 0 }}"

This blocks any changes if your boost automation is running.

I have a question regarding the control behavior of AHC. Currently, a comfort temperature of 20°C is set, with calibration via ‘generic calibration.’ The current room temperature is 23.03°C. However, I can see that the thermostat is still trying to heat the room. Here are the two logs when I manually lower the temperature slightly: https://controlc.com/3a1230c3 and https://controlc.com/91c9aab3

Can you update the blueprint, run your automation back into the error and share a new trace?

Is there a quick way to update the automation without reconfiguring it?

I open the blueprint in a file editor (file editor / vscode addon) and replace the code with the one of the latest github version. Then you can press the C-key anywhere in home assistant and type automation to select and confirm reloading automations.

Here is the log after the update: https://controlc.com/904b8282

image

1 Like

Ok, could you update the blueprint again? I did some corrections. In my test system it looks promising.

I have added the new code and restarted the automations. At first glance and after a few minutes, I still can’t notice any changes.

Maybe one more thing: When no one is at home, the away temperature is unfortunately reduced by 2°C. Am I the only one experiencing this issue? Perhaps it is somehow related to the first problem.

Hi, it seems there is still some issue with unavailable radiator valves. My heating plan:

- time: "00:00"
  comfort: "19"
- time: "07:00"
  comfort: "22"

What happened is:
image
The valve was unavailable before 7:14 as shown on the graph.

Is your thermostat wrapped by Better Thermostat?

I feed my test system with your variables:

grafik

Could you change your target temperature slightly and download the corresponding trace. Be sure in the trace changes are given. Just search for >> “changes”: [ << including the quotation marks and the bracket.

@david.jirovec
Did you set an entity for the comfort entity?

I lowered the comfort temperature by 0.5°C and then immediately downloaded the corresponding trace. Here is the code: https://controlc.com/8fc463d8

A few seconds later, here is another trace: https://controlc.com/3ecb864c

Yes I did!