Загрузка...

Automating Window Alarms in Home Assistant!

Sometime around Home Assistant Release 0.96, my favorite Nest automation broke.  The automation, which saved me tons of money, would turn off the first floor Nest Thermostat whenever the alarm system reported to Home Assistant that a window or door was open for more than 5 minutes.  This was great in the Spring and Fall when we like to open up the doors to bring some fresh air into the house.  I wouldn’t have to worry that the Air Conditioner was running while the windows were open.

The breaking change was a modification to the service call that controlled the thermostat.  The old one which was climate.set_operation_mode was changed to climate.set_hvac_mode & climate.turn_off.  These two changes were easy enough to make but it was something that slipped my mind when I had done my upgrade.   In the video below, I go through the process of understanding what services are available for your devices and a look at how the UI can be used to better understand the YAML behind it.

The automation at its core should be pretty easy to understand.  It requires you have a way to monitor the openings of the house.  In my case, we are using the alarm system that was DIY’d from my old alarm but could easily be adapted to Wyze sensors, Zwave or anything else.  Then it’s just a matter of tracking the time and then controlling the thermostat.

When the thermostat is turned off, we also make an announcement via the TTS system to let everyone know to enjoy the fresh air.  Then when all openings are closed, we put the Thermostat back into auto mode.

This works great for my set up and is a great automation to have in your home that just works in the background.  Truly adapting to the home as environmental changes occur. This is Smart Home level stuff. ;)

Parts List:
Nest Thermostat - https://amzn.to/2Fobcln
Wyze Sensor kit - https://amzn.to/2Qd1oR8
Example ZWave sensor - https://amzn.to/2sDnpja

Repo LIST:
CCostan - https://github.com/CCOSTAN/Home-AssistantConfig

You can read about all of this and more Home Automation articles in greater detail on my Website:
https://www.vcloudinfo.com/2020/01/save-money-with-home-assistant-and-nest---an-automation-example.html

CONTACT ME:
https://www.vcloudinfo.com/about-me

SUPPORT:
Please consider supporting this channel by visiting the blog and/or using the Amazon Affiliate links found in the descriptions. They cost nothing extra and really help the channel.
Affiliate Disclosure - https://www.vcloudinfo.com/p/affiliate-disclosure.html

👋 About this channel: My name is Carlo. I've been running Home Assistant for a BUNCH of years. Almost from the very beginning actually. This channel is focused on bringing what I have implemented at my own house to you so that you can bring it to your house. The channel will be a mix of reviews, tutorials, and inspiration. It is a companion to my GitHub site that holds all the code for my Smart Home and my main site where I keep the more in-depth technical writings. I hope you will enjoy the videos and consider subscribing.

CREDITS:
Design by Steve Fatone - IG: @Steve_Fatone

Видео Automating Window Alarms in Home Assistant! канала vCloudInfo
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять