Integrating Google Calendar with Home Assistant: A Comprehensive Guide

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ธ.ค. 2024

ความคิดเห็น • 54

  • @Slimhaven1
    @Slimhaven1 23 วันที่ผ่านมา +3

    Fantastic and very clear video! I finally have it installed. Google really is the worst company when it comes to making it easy to integrate and you made it extremely smooth! Thank you 1000 times over!!!

    • @smart_home_australia
      @smart_home_australia  23 วันที่ผ่านมา +2

      It really is a pain isn't it, but the rewards are worth the struggle. I think it's just Google's way of saying, "use our products, we don't care if it's easy or not." :)

  • @TimWilliams2795
    @TimWilliams2795 วันที่ผ่านมา +1

    So clear and easy to follow, thank you

  • @JR-mp2ol
    @JR-mp2ol 9 หลายเดือนก่อน +1

    Great video! Thanks a lot!

  • @CleancutCampersUK
    @CleancutCampersUK วันที่ผ่านมา +1

    Great Video, some things have now changed but I got it working. FYI, none of your links work for me on the urlday links

    • @smart_home_australia
      @smart_home_australia  วันที่ผ่านมา +2

      That's great !! Yes URLDAY is a big disappointment, I'm in the process of going through ALL my videos and removing them for tiny url's.... not happy Jan !!

  • @peterfrisch24
    @peterfrisch24 10 หลายเดือนก่อน

    Great video! Straight to the point of a not so easy task

    • @smart_home_australia
      @smart_home_australia  10 หลายเดือนก่อน

      Thanks Peter, thats exactly what I am going for. :)

  • @ingmeisterk874
    @ingmeisterk874 7 หลายเดือนก่อน +1

    Thanks so much!! You have the best walkthroughs.

    • @smart_home_australia
      @smart_home_australia  7 หลายเดือนก่อน +1

      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.

  • @Hasse-swe
    @Hasse-swe 3 หลายเดือนก่อน +1

    Thanks for a greate video. It helped me alot.

    • @smart_home_australia
      @smart_home_australia  3 หลายเดือนก่อน +1

      Thanks... that was an early video, hopefully my production and audio levels have impressed since then :)

  • @xrayhead
    @xrayhead หลายเดือนก่อน +1

    Thanks for the video, all worked up until the part where I am searching for "call a service "Notifications: Send a notification via alexa" on. I don't see any Alexa devices in HA, is there an additional step to integrate this, if so it's not been mentioned?

    • @smart_home_australia
      @smart_home_australia  หลายเดือนก่อน +1

      Not that I'm aware of, but that's one of the issue with this hobby, it's evolving so quickly that things are changing and instructions that works last month don't work this month.
      I'll add it back to the schedule to remake but in general the principles are usually the same but the specifics might vary slightly.

    • @xrayhead
      @xrayhead หลายเดือนก่อน +1

      @@smart_home_australia Still a dam good tutorial, I got it working, had to install HACS (and the packages) and now I see the Alexa notification options. Thanks again.

    • @smart_home_australia
      @smart_home_australia  หลายเดือนก่อน +1

      Pleasure, I hope you used (th-cam.com/video/ysS3T6WXpDY/w-d-xo.html) for your HACS install :)

  • @MorayoHouse
    @MorayoHouse 6 หลายเดือนก่อน

    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

    • @smart_home_australia
      @smart_home_australia  6 หลายเดือนก่อน +1

      Although not 100% to the topic, watch th-cam.com/video/QZsY5a7R10c/w-d-xo.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.

  • @MattHudson
    @MattHudson 11 หลายเดือนก่อน

    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?

    • @smart_home_australia
      @smart_home_australia  11 หลายเดือนก่อน +1

      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.

    • @MattHudson
      @MattHudson 11 หลายเดือนก่อน +1

      @@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 :)

    • @smart_home_australia
      @smart_home_australia  11 หลายเดือนก่อน +1

      Sorry about the link. I've replaced with the full URL.

  • @julianpuchberger5987
    @julianpuchberger5987 9 หลายเดือนก่อน +1

    the device verivication is not working on my google account. Any ideas? :(

    • @smart_home_australia
      @smart_home_australia  9 หลายเดือนก่อน +1

      Which verification? If in HA, then does the logbook show you any relevant error message that you can search in google?

  • @xbox360benji
    @xbox360benji ปีที่แล้ว +2

    Wicked thank you on this now...

  • @KCapitalT
    @KCapitalT 8 หลายเดือนก่อน

    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.

    • @smart_home_australia
      @smart_home_australia  8 หลายเดือนก่อน +1

      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.

    • @KCapitalT
      @KCapitalT 8 หลายเดือนก่อน

      @@smart_home_australia thank you! I'll definitely give it a try

    • @smart_home_australia
      @smart_home_australia  8 หลายเดือนก่อน

      Pleasure, good luck and let me know if you have issues.

    • @ingmeisterk874
      @ingmeisterk874 7 หลายเดือนก่อน

      or just use the home assistant holiday sensor :)

  • @HassAssistant
    @HassAssistant 11 หลายเดือนก่อน +1

    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.

    • @smart_home_australia
      @smart_home_australia  11 หลายเดือนก่อน

      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.

    • @HassAssistant
      @HassAssistant 11 หลายเดือนก่อน +1

      @@smart_home_australia found the issue. Had to go to app credentials and delete the current google calendar credentials then tried again.

    • @smart_home_australia
      @smart_home_australia  11 หลายเดือนก่อน

      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?

    • @HassAssistant
      @HassAssistant 11 หลายเดือนก่อน +1

      When work isn't so busy 😂

  • @Wild1000Cat
    @Wild1000Cat 7 หลายเดือนก่อน

    Nice video, thanks. Unfortunately 5:07 Error 403:Access denied

    • @smart_home_australia
      @smart_home_australia  7 หลายเดือนก่อน +1

      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.

    • @Wild1000Cat
      @Wild1000Cat 7 หลายเดือนก่อน

      @@smart_home_australia it indicates that the application is currently in testing and only testers approved by the developers have access to it

    • @smart_home_australia
      @smart_home_australia  7 หลายเดือนก่อน

      Thanks for the info. I'm not a tester approved by the developer so I wonder why mine is working as documented...

  • @Googleataya
    @Googleataya 4 หลายเดือนก่อน

    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.

    • @smart_home_australia
      @smart_home_australia  4 หลายเดือนก่อน

      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.

  • @Brams.Photography
    @Brams.Photography 28 วันที่ผ่านมา

    Hello everyone, the setup worked and my entities are also displayed. However, they are all unavailable and marked with an orange warning triangle. I have now redone the whole installation 2 times. Can anyone help me?

    • @smart_home_australia
      @smart_home_australia  2 วันที่ผ่านมา

      Which entities? Has anyone else had this experience and if so how do you overcome it??

  • @aklausen
    @aklausen 11 หลายเดือนก่อน +1

    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 :-)

    • @smart_home_australia
      @smart_home_australia  11 หลายเดือนก่อน

      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.

  • @ackillesbac
    @ackillesbac 3 หลายเดือนก่อน

    incase no one has said it, your mic is very quiet

    • @smart_home_australia
      @smart_home_australia  3 หลายเดือนก่อน +1

      Arhh the early days of content creation.... yep, noted and purchased a Rode's mic since around Jan 2024, so sound should not be a problem now. Watch some of the later content and let me know if you agree :)

    • @ackillesbac
      @ackillesbac 3 หลายเดือนก่อน

      @@smart_home_australia levels are still a bit low compared to the average youtuber. Quality is fantastic tho

    • @smart_home_australia
      @smart_home_australia  3 หลายเดือนก่อน

      Oh really ? Hey thanks for the feedback, I set my sound at -14db which is the YT recommended but I will raise it, cant have those other YT channels been louder :)