Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Devices stopped working in integration but not through other integrations #857

Open
noinformationavailable opened this issue Apr 17, 2024 · 2 comments

Comments

@noinformationavailable
Copy link

Describe the bug

The Google Devices stopped reporting within the integration. A subsequent full system restart did not help. Removal of integration and reinstalling it did not help. When reinstalled no devices are being shown. Devices still exist for casting to within home assistant as media players

Version of the integration

If you are unsure about the version check the github release here.

-->

1.11.0

Logs

2024-04-17 20:18:11.399 DEBUG (MainThread) [custom_components.google_home] Coordinator update interval is: 0:02:00
2024-04-17 20:18:11.400 DEBUG (MainThread) [glocaltokens.client] Initializing new GLocalAuthenticationTokens instance.
2024-04-17 20:18:11.400 DEBUG (MainThread) [glocaltokens.client] Set GLocalAuthenticationTokens client access_token, homegraph, access_token_date and homegraph_date to None
2024-04-17 20:18:11.400 DEBUG (MainThread) [glocaltokens.client] Set GLocalAuthenticationTokens client username to "c**********************", password to "", master_token to "a***************************************************************************************************************************************************************************************************************" and android_id to 0***************
2024-04-17 20:18:11.403 DEBUG (SyncWorker_3) [glocaltokens.client] Initializing models list if empty...
2024-04-17 20:18:11.403 DEBUG (SyncWorker_3) [glocaltokens.client] Forcing homegraph reload
2024-04-17 20:18:11.403 DEBUG (SyncWorker_3) [glocaltokens.client] Invalidated homegraph
2024-04-17 20:18:11.403 DEBUG (SyncWorker_3) [glocaltokens.client] Getting homegraph...
2024-04-17 20:18:11.403 DEBUG (SyncWorker_3) [glocaltokens.client] There is no stored homegraph, or it has expired, getting a new one...
2024-04-17 20:18:11.403 DEBUG (SyncWorker_3) [glocaltokens.client] There is no access_token stored, or it has expired, getting a new one...
2024-04-17 20:18:11.404 DEBUG (SyncWorker_3) [glocaltokens.client] Master token: a******************************************************************************************************************************************************************************************************************************
2024-04-17 20:18:11.862 DEBUG (SyncWorker_3) [glocaltokens.client] Access token: y*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************, datetime 2024-04-17 20:18:11.862859
2024-04-17 20:18:11.862 DEBUG (SyncWorker_3) [glocaltokens.client] [GRPC] Creating SSL channel credentials...
2024-04-17 20:18:11.863 DEBUG (SyncWorker_3) [glocaltokens.client] [GRPC] Creating access token call credentials...
2024-04-17 20:18:11.869 DEBUG (SyncWorker_3) [glocaltokens.client] [GRPC] Compositing channel credentials...
2024-04-17 20:18:11.869 DEBUG (SyncWorker_3) [glocaltokens.client] [GRPC] Establishing secure channel with the Google Home Foyer API...
2024-04-17 20:18:11.889 DEBUG (SyncWorker_3) [glocaltokens.client] [GRPC] Getting channels StructuresServiceStub...
2024-04-17 20:18:11.889 DEBUG (SyncWorker_3) [glocaltokens.client] [GRPC] Getting HomeGraph request...
2024-04-17 20:18:11.889 DEBUG (SyncWorker_3) [glocaltokens.client] [GRPC] Fetching HomeGraph...
2024-04-17 20:18:14.465 DEBUG (SyncWorker_3) [glocaltokens.client] [GRPC] Storing obtained HomeGraph...
2024-04-17 20:18:14.467 DEBUG (SyncWorker_3) [glocaltokens.client] Automatically discovering network devices...
2024-04-17 20:18:14.468 DEBUG (SyncWorker_3) [glocaltokens.scanner] Discovering devices...
2024-04-17 20:18:14.468 DEBUG (SyncWorker_3) [glocaltokens.scanner] Creating new Event for discovery completion...
2024-04-17 20:18:14.468 DEBUG (SyncWorker_3) [glocaltokens.scanner] Creating new CastListener...
2024-04-17 20:18:14.468 DEBUG (SyncWorker_3) [glocaltokens.scanner] Using attribute Zeroconf instance
2024-04-17 20:18:14.468 DEBUG (SyncWorker_3) [glocaltokens.scanner] Creating zeroconf service browser for _googlecast._tcp.local.
2024-04-17 20:18:14.470 DEBUG (SyncWorker_3) [glocaltokens.scanner] Waiting for discovery completion...
2024-04-17 20:18:14.471 DEBUG (zeroconf-ServiceBrowser-_googlecast._tcp-140) [glocaltokens.scanner] add_service _googlecast._tcp.local., BeyondTV-27378468170e62987c0bfa33c0fac039._googlecast._tcp.local.
2024-04-17 20:18:14.473 DEBUG (zeroconf-ServiceBrowser-_googlecast._tcp-140) [glocaltokens.scanner] add_service _googlecast._tcp.local., Google-Nest-Mini-78b25272e7b56bc2c93c5c0f714f193d._googlecast._tcp.local.
2024-04-17 20:18:14.476 DEBUG (zeroconf-ServiceBrowser-_googlecast._tcp-140) [glocaltokens.scanner] add_service _googlecast._tcp.local., Google-Cast-Group-b6ca10fc34614f218782a444006f7c61._googlecast._tcp.local.
2024-04-17 20:18:14.484 DEBUG (zeroconf-ServiceBrowser-_googlecast._tcp-140) [glocaltokens.scanner] add_service _googlecast._tcp.local., Google-Home-Mini-29ae64ab4e080e694c3841070cd7644f._googlecast._tcp.local.
2024-04-17 20:18:14.486 DEBUG (zeroconf-ServiceBrowser-_googlecast._tcp-140) [glocaltokens.scanner] add_service _googlecast._tcp.local., Nest-Audio-e50fd47c87bbf56ef1257b070e2434aa._googlecast._tcp.local.
2024-04-17 20:18:14.492 DEBUG (zeroconf-ServiceBrowser-_googlecast._tcp-140) [glocaltokens.scanner] add_service _googlecast._tcp.local., google-nest-hub-4ae2907234514ba1954994340072fb11._googlecast._tcp.local.
2024-04-17 20:18:14.493 DEBUG (zeroconf-ServiceBrowser-_googlecast._tcp-140) [glocaltokens.scanner] add_service _googlecast._tcp.local., Google-Nest-Mini-e353550561dd49108d3570250f060c82._googlecast._tcp.local.
2024-04-17 20:18:14.498 DEBUG (zeroconf-ServiceBrowser-_googlecast._tcp-140) [glocaltokens.scanner] add_service _googlecast._tcp.local., Google-Nest-Mini-0be5c02d8b7583d851572d4d5cb38dd6._googlecast._tcp.local.
2024-04-17 20:18:14.501 DEBUG (zeroconf-ServiceBrowser-_googlecast._tcp-140) [glocaltokens.scanner] add_service _googlecast._tcp.local., google-nest-hub-bd0565c7a18963dfc862db5f1e815f7c._googlecast._tcp.local.
2024-04-17 20:18:14.508 DEBUG (zeroconf-ServiceBrowser-_googlecast._tcp-140) [glocaltokens.scanner] add_service _googlecast._tcp.local., google-nest-hub-e9af4b7896da4d5e693e80a740594432._googlecast._tcp.local.
2024-04-17 20:18:14.511 DEBUG (zeroconf-ServiceBrowser-_googlecast._tcp-140) [glocaltokens.scanner] add_service _googlecast._tcp.local., Google-Nest-Mini-4faeb7a25243c703309fe0d8780037ae._googlecast._tcp.local.
2024-04-17 20:18:14.602 DEBUG (zeroconf-ServiceBrowser-_googlecast._tcp-140) [glocaltokens.scanner] add_service _googlecast._tcp.local., Chromecast-15549c64a418ab36813e98a9e3f4de43._googlecast._tcp.local.
2024-04-17 20:18:15.898 DEBUG (zeroconf-ServiceBrowser-_googlecast._tcp-140) [glocaltokens.scanner] update_service _googlecast._tcp.local., google-nest-hub-e9af4b7896da4d5e693e80a740594432._googlecast._tcp.local.
2024-04-17 20:18:15.919 DEBUG (zeroconf-ServiceBrowser-_googlecast._tcp-140) [glocaltokens.scanner] update_service _googlecast._tcp.local., Google-Home-Mini-29ae64ab4e080e694c3841070cd7644f._googlecast._tcp.local.
2024-04-17 20:18:16.173 DEBUG (zeroconf-ServiceBrowser-_googlecast._tcp-140) [glocaltokens.scanner] update_service _googlecast._tcp.local., Google-Nest-Mini-e353550561dd49108d3570250f060c82._googlecast._tcp.local.
2024-04-17 20:18:16.473 DEBUG (SyncWorker_3) [glocaltokens.scanner] Got 12 devices. Iterating...
2024-04-17 20:18:16.474 DEBUG (SyncWorker_3) [glocaltokens.scanner] Add discovered device: NetworkDevice(name='Living Room TV', ip_address='fe80::bbc8:4475:d22a:d8de', port=8009, model='BeyondTV', unique_id='5AE8C920E50CAF6AF9C335A77E00B556')
2024-04-17 20:18:16.474 DEBUG (SyncWorker_3) [glocaltokens.scanner] Add discovered device: NetworkDevice(name='Family room speaker', ip_address='10.8.0.52', port=8009, model='Google Nest Mini', unique_id='E3AA27640D9DF6EBB608BA0E8705983D')
2024-04-17 20:18:16.474 DEBUG (SyncWorker_3) [glocaltokens.scanner] Skip discovered cast group: All
2024-04-17 20:18:16.474 DEBUG (SyncWorker_3) [glocaltokens.scanner] Add discovered device: NetworkDevice(name='Donga speaker', ip_address='10.8.0.58', port=8009, model='Google Home Mini', unique_id='57BAA75A5DDC645A4EC71112DE629904')
2024-04-17 20:18:16.475 DEBUG (SyncWorker_3) [glocaltokens.scanner] Add discovered device: NetworkDevice(name='Piano speaker', ip_address='10.8.0.102', port=8009, model='Nest Audio', unique_id='E2A0190D8352D98950F7C0A4FFC7574A')
2024-04-17 20:18:16.475 DEBUG (SyncWorker_3) [glocaltokens.scanner] Add discovered device: NetworkDevice(name='Lab display', ip_address='10.8.0.61', port=8009, model='Google Nest Hub', unique_id='6758069934A6DED4572241914CF57287')
2024-04-17 20:18:16.475 DEBUG (SyncWorker_3) [glocaltokens.scanner] Add discovered device: NetworkDevice(name='Lab speaker', ip_address='10.8.0.51', port=8009, model='Google Nest Mini', unique_id='7BFD76215484A72AB224162FF1F54BE4')
2024-04-17 20:18:16.475 DEBUG (SyncWorker_3) [glocaltokens.scanner] Add discovered device: NetworkDevice(name='Back Office speaker', ip_address='10.8.0.50', port=8009, model='Google Nest Mini', unique_id='B43EDF6B84C02C9809AB0B790C07583D')
2024-04-17 20:18:16.475 DEBUG (SyncWorker_3) [glocaltokens.scanner] Add discovered device: NetworkDevice(name='Display do', ip_address='10.8.0.86', port=8009, model='Google Nest Hub', unique_id='CD544361D9022F3A8FED77FDA53A80B9')
2024-04-17 20:18:16.475 DEBUG (SyncWorker_3) [glocaltokens.scanner] Add discovered device: NetworkDevice(name='G', ip_address='10.8.0.69', port=8009, model='Google Nest Hub', unique_id='667F36A83AD244ADFA4DE8C7B73DFDA4')
2024-04-17 20:18:16.475 DEBUG (SyncWorker_3) [glocaltokens.scanner] Add discovered device: NetworkDevice(name='Master bedroom speaker', ip_address='10.8.0.57', port=8009, model='Google Nest Mini', unique_id='065EA55A4F8A771F08291D019E308F67')
2024-04-17 20:18:16.475 DEBUG (SyncWorker_3) [glocaltokens.scanner] Add discovered device: NetworkDevice(name='Chromecast', ip_address='10.8.0.97', port=8009, model='Chromecast', unique_id='83D4D6F415651DBAAF48D387B2757F54')
2024-04-17 20:18:16.475 DEBUG (SyncWorker_3) [glocaltokens.client] Iterating in 0 homegraph devices
2024-04-17 20:18:16.475 DEBUG (SyncWorker_3) [glocaltokens.client] Successfully initialized 0 Google Home devices
2024-04-17 20:18:17.064 DEBUG (MainThread) [custom_components.google_home] Finished fetching sensor data in 5.664 seconds (success: True)

@KapJI
Copy link
Collaborator

KapJI commented Apr 17, 2024

So,

  1. Master token fetching works
  2. Network scan works and finds 12 devices
  3. But homegraph response is empty

I'd check if you can control these devices from the app if you login with the same account.

@noinformationavailable
Copy link
Author

So,

  1. Master token fetching works
  2. Network scan works and finds 12 devices
  3. But homegraph response is empty

I'd check if you can control these devices from the app if you login with the same account.

All control normally. They are on the same network and can also control them from within home assistant google cast and all show up as being pinged by monitors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants