@panhans First Iām appreciate your great workā¦
Honestly Iām still not very familiar with HAS and even if I setup some automations and stuff like that I guess thereās is a lot more what I need to learn.
Iām preparing my TRVās to push them to the next level and would like to automate them completely. Iām using the HomeaticIP with Raspberrymatic and the HomematicIP (Local) integration.
I have some questions about your blueprint.
I have installed an outdoor temperature sensor. I could set a temperature when the heating should start if the temperature is below 15Ā°C it should start heating.
My question is, is it possible to set a delay for, letās say 2 days?
So if the temperature falls below to 15Ā°C and stay for 2 days then heating will start. The reason is to prevent that the TRVās not going on or off all the time when the temperature just stays for one day below the given threshold.
Second question is: I have also room temperature sensors and I would like that the Hmip TRVās goes off if the room temperature sensor reached the given room temperature set in the Comfort or Eco mode. As I understand this is part of calibration. The Hmip thermostat doesnāt have a calibration entity nor offset entities. Is there another possibility to implement that the heating start / stop depending of the room temperature sensor?
Sorry for my worse English but I hope you got a clue of what Iām talking about. Thanks in advance. Thanks for the great work
For switching the schedule the name only have to match partially. For your Office
Office General
Office Holiday
For livingroom:
Livingroom General
Livingroom Holiday
If the selector doesnāt match the automation should fallback to the first specified scheduler. Like this you can setup on selector for room dependent schedules.
Atm. this is not possible but still a good idea. There is one reason why this is difficult and this is related to how home assistant sets entity attributes like last_changed or last_updated. The problem is with every restart these two attributes will be set to the current time. So the automation will start counting the days from zero with every restart.
The only way to realize this is to setup a binary template sensor which checks the temperature like {{ states('sensor.your_temp_sensor') < 15 }}. Count the days by using a history stats sensor which measures the duration of your template sensor if itās on (below 15Ā°) :
And then you need another template sensor that checks the state of your history sensor again {{ state('sensor.your_history_sensor') >= now() - (now() - timedelta(days=2)) }}
And this 3rd sensor can be used as the boolean entity to toogle you automation. A little bit complicated but possible.
You can enable generic calibration so the difference will be added directly to the target temperature. So if your thermostat is set to 20Ā° but there is a difference to your room sensor (22Ā°) of 2Ā° your thermostat temperature will be corrected to 18Ā°C. Thatās something you have to keep in mind.
Blockquote
And this 3rd sensor can be used as the boolean entity to toogle you automation. A little bit complicated but possible.
I was guessing that this will not be an easy task. Any chance to get this implentet in a future
version of your Blueprint?
Blockquote
You can enable generic calibration so the difference will be added directly to the target temperature. So if your thermostat is set to 20Ā° but there is a difference to your room sensor (22Ā°) of 2Ā° your thermostat temperature will be corrected to 18Ā°C. Thatās something you have to keep in mind.
Not sure if o got it right, so it means if the room temperature sensor measures 22Ā° and the thermostat is set to 20Ā° the heating temperature will set to 18Ā°?
But if i set the temperature to 22Ā° but the room temperature is, lets say 18Ā° it will heat until the room temperature measure 22Ā° room temperature?
Nope, there is no way to get into the history data of a sensor using templates (blueprint code). But with the next release statistics sensors can be added over the UI. That means:
You can easily setup a sensor that holds the maximum temperature in a time window for the last two days.
Then you can add a binary sensor (also in the helper section) based on a threshold easily, e.g. on if the maximum is lower than 15Ā°C
And this 2nd sensor can be used as the on/off entity for your automations. So wait until the next release and if you need help just get in touch with me.
There are these values:
Thermostat Temperature Sensor Tthermostat
External Temperature Sensor Texternal
Target Temperature: Ttarget
If you set a new target temperature the difference between the two sensor values will be calculated:
Since your room is at 22Ā° with a target of 20Ā° the new target temperature will be corrected to 18Ā°. This will be checked with every change of Texternal or Tthermostat. So every time the values of the sensors change.
Hello,
I would like to say āTHANKS A LOTā for your effort and dedication!
I am relatively new to home assistant and more so to AHC, so I have some questions even after trying to follow this long post and the documentation.
I am using the Version 4.2.9
I would like to change the Eco temp when I am on vacation and away for a longer time. But I was not able to select an input_number entity in the Eco temp field.
(the entity I made could however be selected in the comfort temp field).
Did I overlook something?
Do I need this at all or would the Frost protection work for me already setting this to the desired away temp of say 15Ā° ( to protect from mold), as persons are defined but no presence detection or proximity?
The Log Level currently defaults to ādebugā, should I leave it there or better change the setting?
I would be interested in a function to move the valves of the thermostat during the non-heating time. Is it worth to spend the time to generate an automation using āForce Max Tempā, or is that function on the way already anyways (was requested by someone else already).
I would like the heating to use the same schedule on national holidays as on Sundays. Is there a simple way to get to this?
Currently I am using a separate scheduler with the same setting every day, that I have in the normal schedule on Sundays. Selection is done by a sensor based on the workday integration.
I would be very glad to get some help.
Best regards,
Martin
I have an additional question, I just figured out, that my automation from point 1. above does only partly work. It changes number but not input_number
I can not reproduce this behavior. Iād also double checked the blueprint selector and everything seems fine. Did you tried it after a home assistant restart, too?
Frost protection will work for you. No need for proximity or presence detection. If you select persons and setup your frost protection temperature and duration the target will be set if nobody is home for the selected duration.
Thanks for the hint. I fixed this and set the default log level warning.
Atm this is not planned till the most thermostats do this by itās own. (except generic, diy ones) Which thermostats do you use? Maybe I should put this to the planned feature list again. (?)
I would suggest a calendar based selector. Just have a look in the first post of this thread. There is an example to setup a calendar based sensor. But you have to setup an sensor and not a binary_sensor. Let me know if I can help:
If there is no event ā default schedule is selected
If there is an event partly matches āholidayā ā holiday scheduler is selected
If there is an event from the national holiday calender ā national holiday scheduler is selected (configured like yours - same schedule for each day)
Regarding this manual there is an anti-calcification protection.
I personally use the google calendar integration. But this should work with other calendar integrations, too. So I simply opened up google calendar in my desktop browser. You can find many ICS based calendars for state/nation dependent holidays in the internet.
You just have to import it into your calendar and after a home assistant synchronization it appears in home assistant automatically.
Hello, I would like to create a heating program for my different radiators.
I want the temperature program to be set in the lovelace UI Dashboard (and not in automation).
Iām creating a view that shows the program for all the rooms.
My idea would be to take the āAdvanced HEating controlā automation as a base, and to take the āScheduleā Custum Card, so as to be able to enter the various values in an internal variable and enter it in āAdvanced HEating controlā.
For example, the schedule would be for:
Monday to Thursday heating (20Degrees) from 16h to 22h, from 22h to 6h 18degrees ; 6h to 8h 20 Degrees 8h to 16 16 Degrees ( 3 temperature possibilities)
Friday heating (20Degrees)from 12h to 8h
Samedia Dimache (20Degrees) all day
Iād like the clearest possible view of ālovelaceā (which is not yet the case).
If you have any ideas, Iād love to hear from you:
This custom schedule component isnāt supported by this blueprint. But there is a possibility to use it.
At least you have to decide if you go person or/and presence based. Setup your automation without any scheduler but with entities for comfort and if you want eco temperature.
You can set this entities using the custom schedule component. If you just want static heating without any detection you can simply setup an entity for eco temperature only or go with an entity for comfort heating and set a boolean entity for presence detection that is always on.
As you can see in the screenshot above left, itās a bit of a disaster on the dashboard view.
For a single thermostat, I have a large card that takes up too much space and doesnāt have a nice overview. The view of the card is really strange on my dashboard
1 more question:
How do you proceed at night if you want to lower the bedroom by 2 degrees when you sleep and also lower the unoccupied rooms by 4 degrees, for example?
Okay, that clarify everything. Sorry for the delay but my job occupied me all the time. So I will wait for the next stable release and if I run in problems, Iāll let you know.
Iāve created this blueprint to forget about my heating plans. I personally just provide a slider for the comfort temperature in the ui. Everything else is controlled dynamically by the blueprint based automation. I set it up once and forget about it.
I go for scheduled heating till the early evening and switch over to presence based heating until the morning. Both methods combined with person detection using our smartphones. As a presence sensor I just check if lights still on in the specific rooms. When turning the lights off when going to bed, heating falls back to eco temperature. Iāve set up one automation per room.
The automation set this two temperatures as target temperature depending to your setup.
Person based:
is somebody home ā comfort is set
nobody is home ā eco is set
Same for presence or time scheduled configuration.
Witsch card on the dashboard do you use for the āscheduled heatingā ?
Can you send me screenshot to see that ?
for me, a presence heater is not too suitable because you have to wait a bit for the heater to reach temperature, and small children donāt have smartphones yet.
As I said. I donāt integrate the schedulers in the UI. I also donāt use the custom schedule component and go with the schedule entities that comes with home assistant out of the box. There is no need to change the schedule when the automation compensates changes automatically.
At least you can go with a device that is just on when your kids at home. Or you just go with scheduled heating for that rooms and opt out with help of calendar entries. You need an idea how your heating plan should work, if it should react dynamically if someone is or is not in the room and how you can figure out if a room is occupied.