Apologies in advance for the long-winded intro post, but I’m at my wit’s end, and have tried just about everything I can think of.
I’ve been running HA for a good couple of years now, and generally have no issues figuring my way through any problems I encounter, but I’m simply stumped by this one. For context, I run HA via pip install, on Raspbian, behind nginx, using a dedicated hostname, with a Lets Encrypt certificate. All functions within HA itself are working perfectly (including using it remotely via the internet), except…
At some point in the past couple of weeks or so, I noticed that my Google Home devices stopped working with the devices synced from my HA server, telling me they couldn’t connect to my Google project (by name - I think I’d called it “The house”).
At the time, I was on either 0.78 or 0.79 (not really sure which - I usually update every couple of weeks), but updated to 0.80 in the hope it would fix it. It didn’t.
More reading, and I realised that I’d missed the memo on the OAuth2 breaking change, so set about completely unpicking my google_assistant config and starting again from scratch (I only have some lights and climate controls, so no biggie to start with a clean slate).
Since then, I simply cannot get my Google Assistant to successfully setup account linking when adding in my Google project for my HA. When I go through the process (via the Google Home app), it connects to my HA server, I login (with the only user - an owner - I have), then (briefly) get the message saying “account linking unsuccessful”. The Google Home app tells me it was unable to connect.
I’ve tried a whole bunch of things I found in my searches, including:
- setting up a brand new Google project, using the latest instructions
- uninstalled the Home Assistant app
- removed all unrelated Google accounts from my phone
- used BlueStacks to try linking (essentially, a fresh Android device)
- cleaning up all auth data under .storage, and creating new owner user
- rebooted all three of my Google Home devices
I tried turning on debug logging, but setting the google_assistant component to debug in the logger didn’t seem to do anything, and turning on HA-wide debugging didn’t really help anyway (when I grepped back through the logs). I can see from my nginx and HA info logs that connectivity to my instance is definitely not the issue.
The only thing that stands out as a bit wonky is that, when I go to add a new home control service in the Google Home app, two older “[test]…” projects are still listed, despite me having completely removed them in my Google Actions and Cloud consoles. It feels like something with my Google account is still a bit funky.
So, any thoughts about what next steps I can take to investigate?
Cheers in advance!