Window open, climate off

Hello - thanks for another corner case. It is a Tado specific behavior - so let us see how we can get it working. Please share with us the hvac_modes: of your climate entity. Go to developer tools (states) and search for your entity and give us a copy of the attributes. If there is something like Return to tado automatic control we are almost there.

Hi and thx for your Support,
Here is the desired status when the window is closed:

  1. Schedule:

Best regards
Averall

Great! So the desired state is auto after closing the window? I think we have to also set the climate.set_hvac_mode as described here Climate - Home Assistant

The bad news is that I cannot do the modification within this blueprint because it would/could break all the existing users automations.

Try to add manually my Blueprint from Github and see if it works: https://github.com/SmartLiving-Rocks/Blueprint/blob/12724f32c5da6ee8086cc7a6fdf3c5616cdb54e3/tado

I have added the following lines that hopefully do the trick:

# Only for Tado Users who want to use the Tado Heatplan "auto"
- service: climate.set_hvac_mode
  target:
    entity_id: !input 'climate_target'
  data:
    hvac_mode: auto

Hello again,
I just adjusted it as you wrote and it works fine. :ok_hand: :+1:
Thanks very much
Averall

Fantastic! Great that I could help.

Have you ever managed to get it working? I am asking because we had a simmilar case with Tado yesterday. We used the service climate.set_hvac_mode instead of climate.turn_on. Your thermostat shows the same hvac_modes: as mentioned in your post:

hvac_modes:
  - auto
  - heat
  - 'off'

You could also try this blueprint and tell us if it also works for you and your HM-CC-RT-DN Thermostats. Thanks in advance!

1 Like

Thank you for the template for Tado, it works wonderfully!

What do I have to do if I want to switch off or switch on all rooms at once? One reason Heating period ended

If it should be automatic (outside temperature, date, etc.) with an automation. For manual activation, I recommend a script that deactivates all climat entities. In your case (Tado) via the service climate.set_hvac_mode

This blueprint only works if the clumat entity is not turned off.

@ SmartLiving.Rocks

Thank you for your answer. It should be switched off manually
How do I do this with the script on/off?

One script for on. Second script for off.

Hi @SmartLiving.Rocks I have adapted parts of your Blueprint to work with HomematicIP here: https://community.home-assistant.io/t/homematic-reduce-room-temperature-when-a-window-or-door-is-opened/341053

This uses a service call homematic.set_device_value to set the WINDOW_STATE parameter directly, so it emulates the operation of HomematicIP door/window sensor.

It’s been in use for several months now, and it works fine.

@ SmartLiving.Rocks

Ok, I don’t know how yet but I’ll find something.

Hello! Nice, I was assuming that the Homematic climate devices are different. I did not know that homematic has its own service calls. But I think there is still a difference in 1. Homematic and 2. HomematicIP, right? Do you know the differneces? I am asking if your blueprint can handle all Homematic users (so that I can inform them in my initial post and make a link to your post).

It is really fascinating to me that an easy function can have so much corner cases even in Home Assistant. At the same time it is a proof that a single “smarthome” company will never be capable of managing all the functions a smarthome end-user wants to use!

Hi @SmartLiving.Rocks. I just installed this blueprint for my Tado-based home. After creating a few template binary sesnors for the rooms with more than one window, creating the automations was easy and I was done inside of ten minutes. After initial testing, I can see it works perfectly. Thank you for all of your hard work and continued effort in this.

If you were to consider a https://www.buymeacoffee.com/ or similar, I’d gladly contribute!

I’m afraid that all my Homematic devices are IP types, so I can’t say for definite that it won’t work. However, I think it’s quite likley that it will, as the non-IP TRVs and thermostats do have the same functionality to use window sensors to control them.
Totally agree with your comment, no one manufacturer can cover every use case, which is why I love Home Assistant. Being able to link the sensors from my alarm system to control the heating system is a perfect example of this.

Alright, thanks! So all HomematicIP users can visit your link in this post. Very cool! Thanks

:relaxed: Wow thank you very much! That is really great to hear/ read! Actually it was not so much work and it is more scientific experiment. That is one of the functions the market promised at the beginning of the smart home journey. But it was actually really complicated (tried it with fibaro HomeCenter2) and other Z-Wave controllers. Even a company like tado that only concentrates on heating is not able to handle it. Interesting, isn’t it.

No, I do not have a buymeacoffee account. I assume that they keep a little percentage. You can use my PayPal account and send money using friends.

Thanks in advance and have a nice day!

Tado do have their own open window detection, but I think it’s based on sudden temp/humidity changes. I did try using it, but it wasn’t very accurate. Using actual door/window sensors makes it fool proof.

I’ve had this automation running for a few days now and it’s brilliant. It’s probably going to drain the batteries in my TRVs a lot faster, but they are rechargable and the cost savings compared to the gas heating make it a no-brainer.

Your PayPal link didn’t work. Looking at the HTML, it looks like it’s just plain text in an anchor tag.

The build in window detection does not work at all - I have experienced it with Danfoss Thermostats and other brands as well. Regarding the batteries, I am also looking for alternatives. There is a device with EnOcean technology that does create its energy by transforming the heat. But I do not have any experience yet.

What window sensors are you using? I have updated the link.

How could I add multiple sensor in the blueprint. For 1 zone I have 2 Windows = 2 window sensor. If one of both is open, shutoff the hvac.