šŸ”„ Advanced Heating Control

Mode Heat is more manual mode. The red colors looks like warnings and implies everything is turned on.
But thatā€™s not the case. Itā€™s only a manual mode and thatā€™s essential to be controlled by another system.
The home assistant scheduler has nothing to do with the one of the tado bridge or the build in of some TRVs. These build in schedulers can be enabled by changing the mode of the valves.

Letā€™s make it short: To be controlled using home assistant or any 3rd party app without touching the build in heat plan mode heat is always needed.

2 Likes

Many thanks @panhans itā€™s now working a treat.

1 Like

Thatā€™s what I figured. Just wanted to check. Iā€™m slowly migrating all of my rooms and areas away from the Tado schedule and into a Home Assistant schedule. I just wanted to check what was seeing was as expected.

Thanks

1 Like

Hi there,
Do you think it is feasible to use heating control for floor heating? I have only one thermostat/valve which I want to control, based on room temperature/ water temperature and/or outside temp.

Try it! I think for floor heating itā€™s maybe not suitable because they need more time to getting a room to comfort temperature but if you have long periods between heating and not heating in maybe fits for your use case.

I will rewrite the logic again. There is no need for that toggle but I will test every combination before I push this to the main version.

1 Like

Trying to improve my setup regarding presence / holiday / ā€¦ Iā€™m not using persons as we have no trackers available.

That being said I would like to

  • force minimum temperature if a binary sensor indicates nobody is home at all (like weā€™re travelling)
  • set comfort temperature with scheduler A for workdays
  • set comfort temperature with scheduler B for holidays,weekend,sick at home,ā€¦

Iā€™m able to set up the binary_sensors and I understood that I can switch between two schedulers using holiday_mode, but how would I configure the ā€œnobody homeā€ thing? Winter mode could do the trick but Iā€™d need minimum temperature, not ā€œoffā€.

Sorry Iā€™m a bit lost with the number of combinations of presence, persons being home, and schedulers :wink:

P.S.: Should I simply use ā€œGuestā€ mode to enable heating over all? Might work but feels a bit weird to have heating in my house only as a guest :smiley:
P.P.S: Or should I combine everything into just one template presence sensor, but thereā€™s so many options that my scenario should be doable within the blueprintā€¦

1 Like

I am working on a small documentation atm to give an overview over the possible combinations.

Without person trackers I would prefer guest mode, but I think without provide at least one person heating is fully scheduler based atm. So heating is always on without a person when scheduler is on.

So If you want to use guest mode as your indicator you need to provide at least one (dummy) person, whoā€™s always away (not_home), for the moment. (I will add guest mode to count as person if an entity is defined.) Maybe guest mode need another naming. :wink:

A 2nd approach is going with a template sensor or a input boolean for presence detection. So this sensor combines your calendar values and other indicators if somebody is home.

Thank you for your thoughts. I rewrite logic for setting comfort temperature atm. I will add the guest mode ā€œissueā€ on my list.

1 Like

I went the guest mode way - guest mode is activated with a binary template sensor ā€œis there anybody homeā€ based on a calendar. For when guest mode is on, there are two schedulers to choose via holiday mode (another template sensor). Just couldnā€™t test it yet as both schedulers are ā€œoffā€ at this time of day :face_with_peeking_eye:

1 Like

Did you provide at least on dummy person? I think it wonā€™t work with the current stable version because the guest mode doesnā€™t count as a person yet.

Without a dummy person heating is always on if heating scheduler is on. Will ā€œfixā€ this in the next update.

No, didnā€™t specify any person. Didnā€™t understand the ā€œpersonā€ concept yet or at least didnā€™t see how to change a persons status via template.

Anyway, it seems to work as expected: I changed the schedule to have it ā€œonā€ for a while and then switch ā€œoffā€.
Debug-log for ā€œonā€:

  - state_mode_party: False  
  - state_mode_guest: True  
  - state_mode_winter: True  
  - state_force_max_temperature: False  
  - state_window: False  
  - state_presence_sensor: False  
  - state_temperature_comfort: 21.5  
  - state_mode_holiday: True  
  - mode: heat  
  - active_scheduler: schedule.holiday  
  - is_anybody_home: True  
  - is_mode_holiday_configured: True  
  - is_scheduler_on: True  
  - is_presence_sensor_defined: False  
  - is_presence_scheduler_defined: False  
  - is_presence: False  
  - temperature: 21.5  
  - valves: ['climate.trv_kids']  
  - valves_off_mode: []  
  - valves_without_off_mode: ['climate.trv_kids']  
  - valves_tado: []  
  - trvs_temp_not_set: ['climate.trv_kids']  
  - trvs_mode_not_set: []  
  - trvs_mode_and_temp_not_set: ['climate.trv_kids']  
  - trigger.id: 1

Debug-log for ā€œoffā€:

  - state_mode_party: False  
  - state_mode_guest: True  
  - state_mode_winter: True  
  - state_force_max_temperature: False  
  - state_window: False  
  - state_presence_sensor: False  
  - state_temperature_comfort: 21.5  
  - state_mode_holiday: True  
  - mode: heat  
  - active_scheduler: schedule.holiday  
  - is_anybody_home: True  
  - is_mode_holiday_configured: True  
  - is_scheduler_on: False  
  - is_presence_sensor_defined: False  
  - is_presence_scheduler_defined: False  
  - is_presence: False  
  - temperature: 17  
  - valves: ['climate.trv_kids']  
  - valves_off_mode: []  
  - valves_without_off_mode: ['climate.trv_kids']  
  - valves_tado: []  
  - trvs_temp_not_set: ['climate.trv_kids']  
  - trvs_mode_not_set: []  
  - trvs_mode_and_temp_not_set: ['climate.trv_kids']  
  - trigger.id: scheduler-off

Can you see why it works despite you expecting it ā€œshouldnā€™tā€?

1 Like

Haha okā€¦ Sry, had a look in the code right now. It should be working like you expected. Maybe I am a little confused because I rewrite this lines atm.

But never mind. Here is a preview of the documentation. Maybe it helps to understand a bit more. But itā€™s not final.

1 Like

Great blueprint. I was using 3.4.4 and had a couple of issues with temperatures not updating quickly, both at the end of schedules and when they are updated with the input_number, which led to the heating being on all night in one room (it was the bedroom, so not like I was pissing heat into the void). Since the update to 3.6 it seems to be more stable. Sorry I canā€™t offer traces for the issues I had.

As there has been a bug with the physical controls updating the temperatures I have instead opted for the physical controls to start the ā€˜Party Timerā€™ (which I renamed ā€œManual Overrideā€) for an hour or so. I have also opted to remove the option to set the temperature in the UI. This works for me anyway. - One questionā€¦ With party on, will this turn off heating when no oneā€™s home? I figure it wonā€™t, but I suppose that if the timer is only for an hour and I forget, then when the schedule kicks back in, it will notice that no one is home and not fire when the schedule comes on.

Iā€™m also not using TRVs - I have no gas in the house which is expensive and the reason why I need more control over the heating. Instead I have 3 Ecostrad iQ Ceramic heaters which seem to have all the same sensors and controls as TRVs.

I would really like a blueprint that would offer this much control for other devices that I would like to schedule such as my water heater, or fans which are simply on/off. I tried stripping back the blueprint, and building it from scratch but thereā€™s just so much of this one it all got too much very quickly. I will give it another go though and see how far I get.

Finally, a tip - I have Octopus as my energy supplier and use the saving session binary_sensor as a window contact - turning my heating off when thereā€™s a saving session and saving me some money.

Thanks so much for this! so far, apart from the night when the heating didnā€™t update, it has saved me money.

1 Like

Thank you for your feedback. First sorry for the inconvenience. With v3 the whole blueprint got a rewrite from scratch and many here helps me to debug this piece of code. Testing is really painful since there is no possibility for test automation.

And yes: The party timer overrides everything and heats if nobody is home. But immediately after timer ends the default logic gets called and temperature will calculated as determines by your plans.

It doesnā€™t matter which end devices stay behind the climate entities. And for your other devices I could provide custom actions for v4 and passing some useful variables. So everyone can add itā€™s own action / logic when the default processing branch of the automation got called.

If you canā€™t wait simply create a template based binary_sensor and compare the set temperature of a climate with the state of the comfort temperature input_number entity. If they are equal your heating plan is active (or party is on). :wink:

1 Like

:fire: ADVANCED HEATING CONTROL v3.6.2 :fire:

Still a bit confused, not sure what exactly I had tested that night - today it didnā€™t work as expected, seems I really have to define a dummy (ā€œalways awayā€) person to make the blueprint take the guest mode into account. Without that person, the schedule alone will activate the heating, guest mode has no effect in that case.

1 Like

Here is a test version with new logic for setting temperature. Guest mode entity is now treaten like a person if an entity is set.

Feel free to test and give some feedback. I tried all combinations and it works for me.

Sry, there was a typo. Iā€™ve updated test version right now:

//EDIT: sry, one last time :wink:

Iā€™ve updated the example of the calendar based holiday sensor because with version 2023.12 of home assistant the service call and its return value got changes.
Keep in mind to update your sensor until June 2024. :wink:

Hello Panhans, I just started with your great blueprint. Thank you for creating it, this is just what Iā€™m looking for. After setup I run into some strange behaviour. I have 4 thermostats with two different time shedules (multiple shedules created in the helpers for morning, afternoon and evening). Most of the time the thermostats start as planned, but when I look in the dashboard the thermostats go to the minimum temperature instead of the comfort temperature. But the time shedule is still active. Now the very strange thing is that when I update the yaml files the correct temperature for two valves comeback, but the other two valves go from the comfort temperature to the minimum temperature. Any idea what could cause this and any idea how I can fix this?