I wanted to add google calendar to HA. Unfortunately, doing everything as it is in the instructions https://www.home-assistant.io/integrations/calendar.google/ I got stuck on authorization.
In HA I received a notification about the need for authorization. Unfortunately, clicking the link and entering the code, then choosing a google account and adding permission to access does not add HA access to the account. I see other third-party applications but there is no HA.
What i’m doing wrong?
Can you publish the error, please?
I don’t have any error.
I created google id and secret on google console. Add information to configuration.yaml
google:
client_id: !secret google_client_id
client_secret: !secret google_client_id
and after restart HA i get the notification “In order to authorize Home-Assistant to view your calendars you must visit: https://www.google.com/device” and auth code. Then click to it input code and after a few step i get info about sucesfully connect HA to google 3th party app. and i’m stuck there.
Home assistant isn’t visible in 3th app that have access to account.
Is there any log in which I can check where is the problem?
Did you reach https://console.developers.google.com/flows/enableapi?apiid=calendar first?
Make a new project,go to the “credential” section and get the ID client oAuth from there.
Go to Library and get avalaible the Google Calendar API
Then add the track mode in configuration.yaml
google:
client_id: !secret google_client_id
client_secret: !secret google_client_id
track:true
I did it. And i’m stuck on step : The next time you run or restart Home Assistant, you should find a new notification (the little bell icon in the lower left corner). Click on that notification it will give you a link and an authentication code. Click on that link to open a Google website where you should enter the code found in the notification. This will grant your Home Assistant service read-only access to all the Google Calendars that the account you authenticate with can read
I see notification, click on link and input authentication code, choose google account, on This app isn't verified
click Advanced
then click Go to Home-Assistant-Przemo (unsafe)
, next on Home-Assistant wants to access your Google Account
click Allow
and get Success! Device connected screen, But when on this page click on the link To see all apps connected to your Google Account, go to Google Account, I can’t find Home-Assistant on 3th party apps.
So somethings go wrong on grant my home assistant access to google calendars.
Same problem here. Repeated the installation process for the google integration several times. But no luck. Any time i restart HA i get the notification. Dont know if it is relevant, but i’m connecting to HA with firefox from another PC.
Nobody out there who has encountered and fixed the same problem? The calendar-addon is one of the great things i really like to use within HA. Are there any debug switches which could offer useful informations?
Have the same issue. Have re-done the integration several times. Will work for a bit, but on restart it’s back to not working.
Upgraded home-assistant to 0.117.6, still no luck.
Same problem here. Has anybody a solution for this problem?
I’m getting the same 403 Access_Denied error
The developer hasn’t given you access to this app. It’s currently being tested and it hasn’t been verified by Google. If you think you should have access, contact the developer
I got the same error.
Because app is in “Testing” mode you should add test users.
(I’ve add the my google user)
Now it is working.
Added test user, upgraded to Home Assistant 0.118.5, still no luck.
YEP this helped, needed to add test user!
appreciate
Your could also publish it.
Succesfully autorize. Gratulacje, but still no get notification about integration. After restart HA still got new link and core.
I am still struggling with this. Clean install, not a new Google account but all the rest is fresh. I get the notification in HA with the link and auth code. I can put in the code and select the Google account to use the calendars from. Google reports success. After that… nothing. The notification remains in HA, but there are no new entities, no google_calendars.yaml, no google.token, and also in my Google account I cannot see HA as authorized app. Also, no errors in the log.
I am hoping anybody can give me some direction in this. Thanks!
Hi, i have maybe find the answer for me for this problem. Reset the credentials of google calendar on my HA.
Settings → Devices → Menu (3 points on right side) → delete actual credentials.
After this, i have delete this credentials on my google calendar API and create a new one.
After this, i have made all the steps required (new credentials on the API google calendar) et after add again google calendar on my HA (with new session id).
For me, after this,all is working fine.