djtimca / hagooglewifi

Home Assistant integration for Google Wifi systems.
Apache License 2.0
79 stars 26 forks source link

Googlewifi not working since HA 2022.6.7 #76

Closed TwitchingAstronaut closed 2 years ago

TwitchingAstronaut commented 2 years ago

Hey,

my google WIFI integration hasn't been working since updating HA to 2022.6.7

I have tried Restarting HA, both with Google WIFI enabled and disabled.

I have just redownloaded the Google WIFI and deleted the integration and re-added it with no luck.

does anyone have any ideas

HomeAssistant Docker 2022.6.7 on Rpi4

image

2022-07-05 20:49:27 ERROR (MainThread) [custom_components.googlewifi] Error fetching GoogleWifi data: Error connecting to GoogleWifi: 
2022-07-05 20:49:47 ERROR (MainThread) [custom_components.googlewifi] Error fetching GoogleWifi data: Error connecting to GoogleWifi: 
2022-07-05 20:50:21 ERROR (MainThread) [custom_components.googlewifi] Error fetching GoogleWifi data: Error connecting to GoogleWifi: 
2022-07-05 20:50:40 ERROR (MainThread) [custom_components.googlewifi] Error fetching GoogleWifi data: Error connecting to GoogleWifi: 
2022-07-05 20:51:24 ERROR (MainThread) [custom_components.googlewifi] Error fetching GoogleWifi data: Error connecting to GoogleWifi: 
djtimca commented 2 years ago

I'm on 2022.6.7 and working fine, but not on RPI.

From the error it looks like it can't connect to the Google endpoint which would point to a network issue (or something on your network blocking that access). Doesn't appear to be an issue with the integration unless someone else can reproduce.

Closing for now - will wait for anyone else to confirm, otherwise assuming it is local to your system.

TwitchingAstronaut commented 2 years ago

looks like it was an "internal" issue I reset my phone around the same time that 2022.6.7 dropped. I had to reset the 2FA on my google account and it look like it broke the auth

droopanu commented 1 year ago

Interesting, I had the same issue. After about 6 months of trying to get it to work, I decided to generate the refresh token using another account connected to the same google home, and it finally worked ....