Google Calendar Home Automation - Integrate with IFTTT, Home Assistant and Node-RED

preview_player
Показать описание

Follow me on Twitter: @TheHookUp1

Support my channel:

Рекомендации по теме
Комментарии
Автор

Thank you. I did the IFTTT integrations a years ago to make goodle home tell me if it was garbage day, but like you, the experience was not all that great. The municipality released an app that gives you a notification at a specified time so the project just died.

However, I can see all kinds of use cases for this so I will do it again.

SteinarMortensen
Автор

Hey Rob, thanks for your time showing the world how to do things! I've been looking for that google implementation! Best from Germany

amaghafi
Автор

on 6:21 -- the routine starting from the switch node up to controlling the tuya bulbs seems to be repeated twce (after school / nonschool day ha). just create a subflow for it so you have the whole lighting flow in one place, and reuse it as many times as you want.

rsuplido
Автор

I am using Google calendar as part of an alarm clock.

I work shifts without a set pattern. So I use the Google calendar component in home assistant. I have a calender for my work shift And a input number in home assistant to make an offset for how long before work the alarm goes off. Then I use hadashboard to make a alarm clock interface. You can also trigger a sound to be played through mqtt on the ha dashboard for the alarm sound. Which is birds tweeting then a more traditional alarm clock slowly fades in.

It works really well. My flow also has snooze function and wake-up light built in that come ls on in blue if it is freezing outside and I need to de-ice the car. It can also be triggered at a set time when it is my turn to get the kids to school on my days off.

I it is quite possibly the most complicated alarm clock going. But it fits my needs perfectly and hasn't failed me yet

Surfingspider
Автор

Google has changed its website. Under "OAuth client ID" there is no "Other" option for the application type. Use "TV and Limited Input" instead. Thanks for the guide, it's really helpful.

Eadsn
Автор

I was doing gcal stuff already so that home assistant knows if my office should have power or not based on if I'm working from home or on site. However I never thought about automatic alarms! Great idea, thanks!

alexfoxleigh
Автор

One big goal with implementing one's own home automation hub is to remove the dependency on the Internet being available in order for the automation to work.


1. Does HA "read ahead" and cache Google Calendar events so it has a view to them if the Internet is down?


2. Have you looked at implementing something ownCloud and with a local calendar? If so, are you able to share the calendar so that it can be seen remotely by those who have been granted access?

MichaelIngraham
Автор

I use a service call Zaiper for some work stuff and it works great. They support a lot of the same services as IFTT. Some of their integrations are premium ($) though.

Mrcaffinebean
Автор

This is so awesome. I originally implemented Google Calendars in Smartthings and sorely missed it when I switch to home assistant; I struggled to come up to speed with coding standards in the community but I'm really glad I got it done and it's been so useful for people. I've always kept a thought of needing to expand on how I use it more but don't have the video chops you do. I'd love to have a chance to share some of what I've done with you so you can create some more videos on this component.

So you know you can set up multiple home assistant calendar entities for a single calendar in google. You set them up to use searches. So I have a single SmartHome calendar that has multiple entities in home assistant. This is setup in such a way that I have a very crazy node red automation now to do a daily warmup for my tesla on cold days. I have a morning alarm based on teleworking of myself or my wife (we carpool), trash reminders since my city has an ical feed on that, and other minor things. Date math in is fun!

DustyLifeless
Автор

loving HA and Node-Red ... looking to completely move over to it... However, could you post some tips on how you organize your automations in Node Red, Lots of Flow Tabs, or lots of flows in a tab with comments? a mix?

marcusone
Автор

You are the best!!!! Very loyal to family and automation!!! Great job!!

cognitivesystemsconversati
Автор

awesome video Rob, I had no idea how unreliable my iftt stuff was until I took a look at the logs, and saw about 1/4 or so failing.. ya this will come in very handy with automations

markmacherey
Автор

Great video Rob, a few automations come to mind using nodered and motion sensors. In my case I have my kids who play in the living room after school and I want the lights to remain on in the room rather than work on motion; I'll be setting this up int the coming days.

tqctmaS
Автор

Unless you have 2FA for google in which case the calenders will not show up, however looking at the states tab will give a one time code that you can then use to authorise your account against the token created.

wrightwells
Автор

My calendar sensors only show the very next upcoming event, and nothing in the future for the day. Is this something to do with how you're using the component or how you have set up your actual calendar to play nicely with your automations? Do you really have an event for every school day? My calendar is cluttered enough.


Another annoyance with this component is that when the sensor is 'off', the attributes will show the next "all-day" event, regardless of whether or not you have a regular event in your calendar an hour later. I think that looking at what's happening TODAY would be much more useful than seeing my next all-day event, whenever that might be.


Still, this is better than any alternative that's currently available. It would be awesome if it could be configured to show you all events for the next X hours, or the next N events in the calendar, ordered by start time. As of now, the only truly useful automation I've been able to write using this component is a reminder to take out my garbage, as my municipality provides an ICS calendar feed (that I import into Google Calendar).

SteveDinnCom
Автор

Hey, here is a interesting automation I want to do but don't know how. So I want to know how long it will take to heat/cool my home. so first it will see if it's heating/cooling if it is then it will start a timer. when the reading on the temperature sensor goes up/down then it will stop the timer and record how much time did it take to make the temperature to rise or fall. then it will take the average of that data and determine how much time will it take to heat or cool the system. It seems like a useful thing to know and I hope that you can help me and use it for your own use too. Thanks for all your work. And another question. what is the best way to contact you?

aaliankhan
Автор

I know you can do different calendar entities and all for different searches, but is there a way to view future instances of those entities. So instead of the current "day shift" today, the next "day shift" tomorrow?

joshuakelly
Автор

This is awesome. Thank you for sharing. Have you seen any Google timer integrations? For example if a Google timer goes off automate something?

joeblakeluke
Автор

Perfect. This is what I was just looking for :)

CMDRSloma
Автор

Is there a way to make an integration with outlook?

emeratius
visit shbcf.ru