Это видео недоступно.
Сожалеем об этом.
Integrating Google Calendar with Home Assistant: A Comprehensive Guide
HTML-код
- Опубликовано: 17 авг 2024
- Welcome to our step-by-step tutorial on integrating Google Calendar with Home Assistant. This video will guide you through the entire process, ensuring you have a seamless experience.
We start by discussing the prerequisites, ensuring you have all the necessary tools and accounts set up. Next, we delve into the Google Developer Console, where we guide you through the creation of client IDs and secret passwords. This is a crucial step, and we ensure you understand each part of the process.
Once we have our credentials, we move on to configuring the Google Calendar integration within Home Assistant. We take you through this step-by-step, ensuring you know exactly what to do and why you're doing it.
After the setup, we explore multiple user case scenarios. This section is designed to give you a practical understanding of how the integration can be used in real-world situations.
Finally, we round up with a summary of the process and discuss the advantages that Google Calendar integration offers to users. From scheduling to reminders, we cover how this integration can make your life easier and more organized.
By the end of this video, you'll have a fully functional Google Calendar integration with your Home Assistant. You'll also understand the various ways you can use this integration to improve your productivity and organization.
Remember to like, share, and subscribe for more helpful tutorials. If you have any questions or need further clarification, feel free to leave a comment below. Happy integrating! 👍
🙏 If you would like to support me and this channel, you can JOIN and SUBSCRIBE 🙏
Join - urlday.cc/ty4oo
Subscribe - urlday.cc/njm5y
#google #calendar #homeassistant
___ ☕ Buy Me A Coffee! ☕ __
PayPal Coffee - urlday.cc/0hrs0
Buy Me A Coffee - www.buymeacoff...
__ 🕒📩 Timestamp 🕒📩 __
00:00 - Introduction
01:00 - Prerequisites
01:26 - Google Developer Console
04:42 - Home Assistant Integration
06:09 - Home Assistant Automations
12:25 - Forced Calendar Synchronization
12:57 - Roundup
__ 👋 Handy Dandy Information 👋 __
Home Assistant Google Calendar Integration - shorturl.ac/7cf7g
Google Developer Console - shorturl.ac/7cf7h
Home Assistant Telegram Integration - • HOME ASSISTANT - TELEG...
Conditional Template
{{ 'Event Title' in trigger.calendar_event.summary }}
Action Message
message: Event {{ trigger.calendar_event.summary }}
__ 🔗 Affiliate Links 🔗 __
NordVPN (Get 72% off NordVPN + a Saily eSIM data gift) - go.nordvpn.net...
Sonoff 15% discount, *SMARTHOMEAUS*, has now been increased to 15% on ALL products!!
ZB Dongle-E - urlday.cc/jjb33
Zigbee Bridge Ultra - urlday.cc/zca9m
ZBMicro - urlday.cc/i5fmd
SNZB-01P - Zigbee Wireless Switch - urlday.cc/5o8k6
SNZB-02P - Zigbee Temp and Humidity Sensor - urlday.cc/ss33w
SNZB-02D - Zigbee Temp and Humidity Display - urlday.cc/qq1ez
SNZB-03P - PIR Motion Sensor - urlday.cc/86w5y
SNZB-04P - Door Contact Sensor - urlday.cc/j8ifs
SNZB-06P - Zigbee Human Presence Sensor - urlday.cc/4uy62
Bridges / Coordinators and Dongles
Sonoff iHOST Bridge - urlday.cc/0vdcq
Zigbee 3.0 USB Dongle P Plus - urlday.cc/3bcqj
NSPanel Pro - urlday.cc/fvf1b
SwitchBot Lineup
International - urlday.cc/ssk8c (includes 30% OFF for all products for a limited time)
Home Assistant Server (HP EliteDesk 800 G4)
US - amzn.to/3DcEjG8
AU - amzn.to/44hsyZW
Raspberry Pi 4 B 8GB (Full kit: inc. Power Supply, case, Micro SD, heat sink etc.)
Ali-Express - s.click.aliexp...
The site receives a small commission if you order from any of the links above. This does not cost you anything and is paid by the supplier.
Thanks so much!! You have the best walkthroughs.
Glad you like them! I try to make then as simple and easy to follow through. I know what its like when people assume steps and skip over what they think is an obvious step, but its not obvious for everyone.
Great video! Thanks a lot!
Glad you liked it!
Great video! Straight to the point of a not so easy task
Thanks Peter, thats exactly what I am going for. :)
Thanks for the video. very helpful following you for my HA integrations/automations.
Question: Can i get it to notify my phone and my partners iphone rather than Alexa? If yes, do i call the notify service for each phone or i put the phones in a group? Thanks
Although not 100% to the topic, watch ruclips.net/video/QZsY5a7R10c/видео.html, this shows you the format of a notification. I would apply "KISS" and simply insert two send notification actions, this way when you go back and review this automation in many months' time it will be easy to understand. I have literally hundreds of automations and reviewing these when they have been running for sometimes years, simpler is always easier.
Wicked thank you on this now...
You’re welcome.
the device verivication is not working on my google account. Any ideas? :(
Which verification? If in HA, then does the logbook show you any relevant error message that you can search in google?
Thank you! How do I skip an automation based on a calender event? For example, if it's a public holiday, it must skip or not execute a certain automation.
Yep, sure can. the challenge you will have is what are you checking for. For instance, if you simply want to check in a specific calendar if any event is occurring, then you can use the following YAML condition (sorry YAML is the easiest way of putting it in text):
condition:
- condition: state
entity_id: calendar.mycalendar
state: 'on'
If you want to check if a specific event is occurring or if you want to check for an event at a specific time, you can use a template in your condition:
sensor:
- platform: template
oneday_before_event:
value_template: >-
{% if as_timestamp(now()) > as_timestamp(state_attr('calendar.mycalendar', 'start_time')) - 86400
and as_timestamp(now()) < as_timestamp(state_attr('calendar.mycalendar', 'end_time')) - 86400 %}
'on'
{% else %}
'off'
{% endif %}
If you want to check if a specific event is happening in the future (e.g., tomorrow), you can use a template to compare the date of the next event with the date 24 hours from now:
condition:
- condition: template
value_template: >-
{% set next_workday = state_attr('calendar.work_next', 'start_time') %}
{% set tomorrow = (as_timestamp(now())+ 86400) | timestamp_custom('%Y-%m-%d', True) %}
{{ next_workday[:10] == tomorrow}}
Remember to replace 'calendar.mycalendar' and 'calendar.work_next' with the actual entity ID of your Google Calendar in Home Assistant
I hope that helps.
@@smart_home_australia thank you! I'll definitely give it a try
Pleasure, good luck and let me know if you have issues.
or just use the home assistant holiday sensor :)
Unable to reach the Credentials request form as on 4':56" I get instead a page with "Open page in your Home Assistant? You've been linked to the page that will start setting up a new integration." Asking to open a YOUR INSTANCE URL link. Where to find my Instance URL? the proposed default url is leading nowhere.
Hi, I just followed through the process steps on my test environment to check that the process is still relevant. Apart from some minor changes to the Google Developer console cosmetic changes everything else works perfectly.
As such I think the issue must be environment, meaning something in your environment is preventing the Home Assistant back from working. This is probably a firewall or VPN settings. I'd suggest making sure that these are set correctly to allow this call back and then retrying. Sorry I cant be more specific as I'm not accustomed to your environment, but the process does work.
Such an awesome video. I got it all working first time.
Question: How do I sync multiple Google Calendars to Home Assistant? I have gone through the process with the other Calendars but it seems like my first Calendar is preventing it.
I think the new calendar is trying to use the first Calendars integration when it should be a separate one?
Hi, Yes, you can add multiple Google Calendars to the Home Assistant integration. Each Google Calendar from “My Calendars” is represented as a calendar entity in Home Assistant (ref: www.home-assistant.io/integrations/google/). However, if you want to add Google Calendars from different accounts, you might need to share the calendars with the account that you use for your sensor in Home Assistant. (Ref: community.home-assistant.io/t/google-calendar-from-different-accounts/33240). I hope that answers your question.
@@smart_home_australia Thank you, yes, the second option is the solution. FYI - those links send me to the url shortener site but not instructional videos :)
Sorry about the link. I've replaced with the full URL.
After clicking the google calendar integration, it no longer seems to present a page to put in Oauth ID and Secret but rather goes straight to the next section.
Besides the point, unable to get this working, tried multiple times now.
Hi @HassAssistant, so if I am reading this right, you click on the ADD INTEGRATION (ref: my.home-assistant.io/redirect/config_flow_start?domain=google) on the Home Assistant Google Calendar page (www.home-assistant.io/integrations/google/) and it does not drop you back to your Home Assistant, asking you if you want to Setup the Google Calendar? Sorry if this is abit obvious, but did make sure that your Home Assistant instance URL was correct? Try putting the ADD Integration link above directly into a browser, pressing enter and making sure that URL is correct.
@@smart_home_australia found the issue. Had to go to app credentials and delete the current google calendar credentials then tried again.
Great stuff @HassAssistant, old credentials and cached credentials can be a pain to find. BTW love the channel, when are you going to be making new content?
When work isn't so busy 😂
Nice video, thanks. Unfortunately 5:07 Error 403:Access denied
I just went and recreated mine and everything works as per video. Are you sure you used the credentials that you created in the previous section of the video and not used your usual credentials?
I'd try deleting and restarting the process.
@@smart_home_australia it indicates that the application is currently in testing and only testers approved by the developers have access to it
Thanks for the info. I'm not a tester approved by the developer so I wonder why mine is working as documented...
Nice guide :-) but can you please slow down, it is just impossible to follow along, i know i can pause but you are stille talking really fast :-)
Thanks. I think alot about the speed of the videos and the length of the videos. I want to cram every step in, as I know from personal experience that missing steps have caused me grief in previous lives, and yet keep the length of the video relatively short for those that just want a specific section. Hence, the speed of the playback. However, i'll endeavour to "slow" them down a little to allow people to follow long easier. Thanks for the feedback it is invaluable.