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

Can't find Google Home device on separate vlan #774

Open
heyepic opened this issue Oct 17, 2023 · 6 comments
Open

Can't find Google Home device on separate vlan #774

heyepic opened this issue Oct 17, 2023 · 6 comments

Comments

@heyepic
Copy link

heyepic commented Oct 17, 2023

Describe the bug

I have about 15 Google Home devices. I recently took advantage of a feature on my Amplifi Alien router which creates a new SSID for IoT devices. I'm in the process of removing all devices from current WiFi and moving them to the new IoT SSID.

The problem is when the integration grabs all devices, it did not detect the new device I moved to a separate vlan. Any ideas as to how to make sure it sees these moved devices? The display in question is "Office Display" which is a Nest Gen 2 Hub. You'll see it in the logs below.

The IoT SSID Nest Hub is currently connected to the internet and I can see it in the Google Home app with it living on its new SSID.

Version of the integration

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

Latest version 1.10.0

Logs

2023-10-17 09:52:13.119 DEBUG (MainThread) [custom_components.google_home] Failed to fetch timers/alarms information from device Office Display. We could not determine its IP address, the device is either offline or is not compatible Google Home device. Will try again later.
2023-10-17 09:52:13.120 DEBUG (MainThread) [custom_components.google_home] Failed to fetch timers/alarms information from device Family Room Receiver. We could not determine its IP address, the device is either offline or is not compatible Google Home device. Will try again later.
2023-10-17 09:52:13.120 DEBUG (MainThread) [custom_components.google_home] Failed to fetch timers/alarms information from device Garage Mini. We could not determine its IP address, the device is either offline or is not compatible Google Home device. Will try again later.
2023-10-17 09:52:13.120 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms for Google Home device Master Bedroom Home - https://192.168.1.178:8443/setup/assistant/alarms
2023-10-17 09:52:13.121 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms for Google Home device Garage speaker - https://192.168.1.134:8443/setup/assistant/alarms
2023-10-17 09:52:13.121 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms for Google Home device SHIELD - https://192.168.1.170:8443/setup/assistant/alarms
2023-10-17 09:52:13.122 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms for Google Home device Lenna Office Home - https://192.168.1.17:8443/setup/assistant/alarms
2023-10-17 09:52:13.122 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms for Google Home device Basement Home - https://192.168.1.43:8443/setup/assistant/alarms
2023-10-17 09:52:13.123 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms for Google Home device Onkyo Receiver - https://192.168.1.69:8443/setup/assistant/alarms
2023-10-17 09:52:13.123 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms for Google Home device Game Room Display - https://192.168.1.49:8443/setup/assistant/alarms
2023-10-17 09:52:13.124 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms for Google Home device Master Bathroom Mini - https://192.168.1.199:8443/setup/assistant/alarms
2023-10-17 09:52:13.124 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms for Google Home device Family Room Home Hub - https://192.168.1.242:8443/setup/assistant/alarms
2023-10-17 09:52:13.124 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms for Google Home device Basement Google TV - https://192.168.1.203:8443/setup/assistant/alarms
2023-10-17 09:52:13.124 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms for Google Home device Guest Room Display - https://192.168.1.167:8443/setup/assistant/alarms
2023-10-17 09:52:13.125 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms for Google Home device Kitchen Display - https://192.168.1.113:8443/setup/assistant/alarms
2023-10-17 09:52:13.235 DEBUG (MainThread) [custom_components.google_home] Failed to perform request to SHIELD, API returned 404. The device(hardware='SHIELD Android TV') is possibly not Google Home compatible and has no alarms/timers. Will retry later.
2023-10-17 09:52:13.235 DEBUG (MainThread) [custom_components.google_home] Getting alarm volume from Google Home device SHIELD
2023-10-17 09:52:13.235 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms/volume for Google Home device SHIELD - https://192.168.1.170:8443/setup/assistant/alarms/volume
2023-10-17 09:52:13.253 DEBUG (MainThread) [custom_components.google_home] Failed to perform request to SHIELD, API returned 404. The device(hardware='SHIELD Android TV') is possibly not Google Home compatible and has no alarms/timers. Will retry later.
2023-10-17 09:52:13.253 DEBUG (MainThread) [custom_components.google_home] Getting Do Not Disturb setting from Google Home device SHIELD
2023-10-17 09:52:13.253 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/notifications for Google Home device SHIELD - https://192.168.1.170:8443/setup/assistant/notifications
2023-10-17 09:52:13.259 DEBUG (MainThread) [custom_components.google_home] Successfully retrieved alarms and timers from Garage speaker. Response: {'alarm': [], 'timer': []}
2023-10-17 09:52:13.260 DEBUG (MainThread) [custom_components.google_home] Getting alarm volume from Google Home device Garage speaker
2023-10-17 09:52:13.260 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms/volume for Google Home device Garage speaker - https://192.168.1.134:8443/setup/assistant/alarms/volume
2023-10-17 09:52:13.263 DEBUG (MainThread) [custom_components.google_home] Successfully retrieved alarms and timers from Master Bedroom Home. Response: {'alarm': [], 'timer': []}
2023-10-17 09:52:13.263 DEBUG (MainThread) [custom_components.google_home] Getting alarm volume from Google Home device Master Bedroom Home
2023-10-17 09:52:13.263 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms/volume for Google Home device Master Bedroom Home - https://192.168.1.178:8443/setup/assistant/alarms/volume
2023-10-17 09:52:13.268 DEBUG (MainThread) [custom_components.google_home] Failed to perform request to SHIELD, API returned 404. The device(hardware='SHIELD Android TV') is possibly not Google Home compatible and has no alarms/timers. Will retry later.
2023-10-17 09:52:13.273 DEBUG (MainThread) [custom_components.google_home] Received alarm volume from Google Home device Garage speaker - Volume: 62(raw=0.6200000047683716)
2023-10-17 09:52:13.273 DEBUG (MainThread) [custom_components.google_home] Getting Do Not Disturb setting from Google Home device Garage speaker
2023-10-17 09:52:13.273 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/notifications for Google Home device Garage speaker - https://192.168.1.134:8443/setup/assistant/notifications
2023-10-17 09:52:13.275 DEBUG (MainThread) [custom_components.google_home] Received alarm volume from Google Home device Master Bedroom Home - Volume: 1(raw=0.009999999776482582)
2023-10-17 09:52:13.275 DEBUG (MainThread) [custom_components.google_home] Getting Do Not Disturb setting from Google Home device Master Bedroom Home
2023-10-17 09:52:13.275 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/notifications for Google Home device Master Bedroom Home - https://192.168.1.178:8443/setup/assistant/notifications
2023-10-17 09:52:13.286 DEBUG (MainThread) [custom_components.google_home] Received Do Not Disturb setting from Google Home device Garage speaker - Enabled: False
2023-10-17 09:52:13.299 DEBUG (MainThread) [custom_components.google_home] Received Do Not Disturb setting from Google Home device Master Bedroom Home - Enabled: False
2023-10-17 09:52:13.302 DEBUG (MainThread) [custom_components.google_home] Successfully retrieved alarms and timers from Basement Home. Response: {'alarm': [], 'timer': []}
2023-10-17 09:52:13.302 DEBUG (MainThread) [custom_components.google_home] Getting alarm volume from Google Home device Basement Home
2023-10-17 09:52:13.302 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms/volume for Google Home device Basement Home - https://192.168.1.43:8443/setup/assistant/alarms/volume
2023-10-17 09:52:13.312 DEBUG (MainThread) [custom_components.google_home] Successfully retrieved alarms and timers from Master Bathroom Mini. Response: {'alarm': [], 'timer': []}
2023-10-17 09:52:13.313 DEBUG (MainThread) [custom_components.google_home] Getting alarm volume from Google Home device Master Bathroom Mini
2023-10-17 09:52:13.313 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms/volume for Google Home device Master Bathroom Mini - https://192.168.1.199:8443/setup/assistant/alarms/volume
2023-10-17 09:52:13.315 DEBUG (MainThread) [custom_components.google_home] Successfully retrieved alarms and timers from Guest Room Display. Response: {'alarm': [], 'timer': []}
2023-10-17 09:52:13.316 DEBUG (MainThread) [custom_components.google_home] Getting alarm volume from Google Home device Guest Room Display
2023-10-17 09:52:13.316 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms/volume for Google Home device Guest Room Display - https://192.168.1.167:8443/setup/assistant/alarms/volume
2023-10-17 09:52:13.331 DEBUG (MainThread) [custom_components.google_home] Received alarm volume from Google Home device Guest Room Display - Volume: 68(raw=0.6800000071525574)
2023-10-17 09:52:13.331 DEBUG (MainThread) [custom_components.google_home] Getting Do Not Disturb setting from Google Home device Guest Room Display
2023-10-17 09:52:13.331 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/notifications for Google Home device Guest Room Display - https://192.168.1.167:8443/setup/assistant/notifications
2023-10-17 09:52:13.339 DEBUG (MainThread) [custom_components.google_home] Successfully retrieved alarms and timers from Kitchen Display. Response: {'alarm': [], 'timer': []}
2023-10-17 09:52:13.339 DEBUG (MainThread) [custom_components.google_home] Getting alarm volume from Google Home device Kitchen Display
2023-10-17 09:52:13.339 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms/volume for Google Home device Kitchen Display - https://192.168.1.113:8443/setup/assistant/alarms/volume
2023-10-17 09:52:13.340 DEBUG (MainThread) [custom_components.google_home] Received Do Not Disturb setting from Google Home device Guest Room Display - Enabled: False
2023-10-17 09:52:13.343 DEBUG (MainThread) [custom_components.google_home] Received alarm volume from Google Home device Basement Home - Volume: 66(raw=0.6600000858306885)
2023-10-17 09:52:13.343 DEBUG (MainThread) [custom_components.google_home] Getting Do Not Disturb setting from Google Home device Basement Home
2023-10-17 09:52:13.343 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/notifications for Google Home device Basement Home - https://192.168.1.43:8443/setup/assistant/notifications
2023-10-17 09:52:13.353 DEBUG (MainThread) [custom_components.google_home] Received alarm volume from Google Home device Master Bathroom Mini - Volume: 71(raw=0.7142857313156128)
2023-10-17 09:52:13.353 DEBUG (MainThread) [custom_components.google_home] Getting Do Not Disturb setting from Google Home device Master Bathroom Mini
2023-10-17 09:52:13.353 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/notifications for Google Home device Master Bathroom Mini - https://192.168.1.199:8443/setup/assistant/notifications
2023-10-17 09:52:13.356 DEBUG (MainThread) [custom_components.google_home] Successfully retrieved alarms and timers from Family Room Home Hub. Response: {'alarm': [], 'timer': []}
2023-10-17 09:52:13.356 DEBUG (MainThread) [custom_components.google_home] Getting alarm volume from Google Home device Family Room Home Hub
2023-10-17 09:52:13.356 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms/volume for Google Home device Family Room Home Hub - https://192.168.1.242:8443/setup/assistant/alarms/volume
2023-10-17 09:52:13.377 DEBUG (MainThread) [custom_components.google_home] Received alarm volume from Google Home device Family Room Home Hub - Volume: 72(raw=0.7200000286102295)
2023-10-17 09:52:13.377 DEBUG (MainThread) [custom_components.google_home] Getting Do Not Disturb setting from Google Home device Family Room Home Hub
2023-10-17 09:52:13.377 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/notifications for Google Home device Family Room Home Hub - https://192.168.1.242:8443/setup/assistant/notifications
2023-10-17 09:52:13.381 DEBUG (MainThread) [custom_components.google_home] Received Do Not Disturb setting from Google Home device Basement Home - Enabled: False
2023-10-17 09:52:13.382 DEBUG (MainThread) [custom_components.google_home] Successfully retrieved alarms and timers from Lenna Office Home. Response: {'alarm': [], 'timer': []}
2023-10-17 09:52:13.383 DEBUG (MainThread) [custom_components.google_home] Getting alarm volume from Google Home device Lenna Office Home
2023-10-17 09:52:13.383 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms/volume for Google Home device Lenna Office Home - https://192.168.1.17:8443/setup/assistant/alarms/volume
2023-10-17 09:52:13.386 DEBUG (MainThread) [custom_components.google_home] Received Do Not Disturb setting from Google Home device Master Bathroom Mini - Enabled: False
2023-10-17 09:52:13.387 DEBUG (MainThread) [custom_components.google_home] Successfully retrieved alarms and timers from Game Room Display. Response: {'alarm': [], 'timer': []}
2023-10-17 09:52:13.388 DEBUG (MainThread) [custom_components.google_home] Getting alarm volume from Google Home device Game Room Display
2023-10-17 09:52:13.388 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms/volume for Google Home device Game Room Display - https://192.168.1.49:8443/setup/assistant/alarms/volume
2023-10-17 09:52:13.389 DEBUG (MainThread) [custom_components.google_home] Received Do Not Disturb setting from Google Home device Family Room Home Hub - Enabled: False
2023-10-17 09:52:13.398 DEBUG (MainThread) [custom_components.google_home] Received alarm volume from Google Home device Kitchen Display - Volume: 68(raw=0.6800000071525574)
2023-10-17 09:52:13.398 DEBUG (MainThread) [custom_components.google_home] Getting Do Not Disturb setting from Google Home device Kitchen Display
2023-10-17 09:52:13.398 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/notifications for Google Home device Kitchen Display - https://192.168.1.113:8443/setup/assistant/notifications
2023-10-17 09:52:13.434 DEBUG (MainThread) [custom_components.google_home] Received alarm volume from Google Home device Lenna Office Home - Volume: 66(raw=0.6600000858306885)
2023-10-17 09:52:13.434 DEBUG (MainThread) [custom_components.google_home] Getting Do Not Disturb setting from Google Home device Lenna Office Home
2023-10-17 09:52:13.434 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/notifications for Google Home device Lenna Office Home - https://192.168.1.17:8443/setup/assistant/notifications
2023-10-17 09:52:13.444 DEBUG (MainThread) [custom_components.google_home] Received alarm volume from Google Home device Game Room Display - Volume: 10(raw=0.10000000149011612)
2023-10-17 09:52:13.444 DEBUG (MainThread) [custom_components.google_home] Getting Do Not Disturb setting from Google Home device Game Room Display
2023-10-17 09:52:13.444 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/notifications for Google Home device Game Room Display - https://192.168.1.49:8443/setup/assistant/notifications
2023-10-17 09:52:13.451 DEBUG (MainThread) [custom_components.google_home] Received Do Not Disturb setting from Google Home device Game Room Display - Enabled: False
2023-10-17 09:52:13.471 DEBUG (MainThread) [custom_components.google_home] Received Do Not Disturb setting from Google Home device Kitchen Display - Enabled: False
2023-10-17 09:52:13.496 DEBUG (MainThread) [custom_components.google_home] Failed to perform request to Basement Google TV, API returned 404. The device(hardware='Chromecast') is possibly not Google Home compatible and has no alarms/timers. Will retry later.
2023-10-17 09:52:13.496 DEBUG (MainThread) [custom_components.google_home] Getting alarm volume from Google Home device Basement Google TV
2023-10-17 09:52:13.496 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms/volume for Google Home device Basement Google TV - https://192.168.1.203:8443/setup/assistant/alarms/volume
2023-10-17 09:52:13.509 DEBUG (MainThread) [custom_components.google_home] Failed to perform request to Basement Google TV, API returned 404. The device(hardware='Chromecast') is possibly not Google Home compatible and has no alarms/timers. Will retry later.
2023-10-17 09:52:13.509 DEBUG (MainThread) [custom_components.google_home] Getting Do Not Disturb setting from Google Home device Basement Google TV
2023-10-17 09:52:13.509 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/notifications for Google Home device Basement Google TV - https://192.168.1.203:8443/setup/assistant/notifications
2023-10-17 09:52:13.519 DEBUG (MainThread) [custom_components.google_home] Failed to perform request to Basement Google TV, API returned 404. The device(hardware='Chromecast') is possibly not Google Home compatible and has no alarms/timers. Will retry later.
2023-10-17 09:52:13.687 DEBUG (MainThread) [custom_components.google_home] Received Do Not Disturb setting from Google Home device Lenna Office Home - Enabled: False
2023-10-17 09:52:15.124 DEBUG (MainThread) [custom_components.google_home] Onkyo Receiver device timed out while performing a request to it - Raw data: None
2023-10-17 09:52:15.124 DEBUG (MainThread) [custom_components.google_home] Getting alarm volume from Google Home device Onkyo Receiver
2023-10-17 09:52:15.124 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/alarms/volume for Google Home device Onkyo Receiver - https://192.168.1.69:8443/setup/assistant/alarms/volume
2023-10-17 09:52:17.126 DEBUG (MainThread) [custom_components.google_home] Onkyo Receiver device timed out while performing a request to it - Raw data: None
2023-10-17 09:52:17.126 DEBUG (MainThread) [custom_components.google_home] Getting Do Not Disturb setting from Google Home device Onkyo Receiver
2023-10-17 09:52:17.127 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/notifications for Google Home device Onkyo Receiver - https://192.168.1.69:8443/setup/assistant/notifications
@Giom-V
Copy link

Giom-V commented Oct 20, 2023

I have the same issue with Google home devices on different networks

@leikoilja
Copy link
Owner

it essentially boils down how zeroconf package works and whether or not it can detect the devices living on a different network. Is you home assistant instance on the same network as google home devices?

@heyepic
Copy link
Author

heyepic commented Oct 20, 2023

Main SSID network can communicate with new IoT VLAN as mDNS allows for it. Other Google Home integrations I have setup see the devices on the new VLAN but this add-on does not.

Ideally it works like the Google Cast integration where you can specify if mDNS fails:
image

@leikoilja
Copy link
Owner

it would be interesting to look through the code of how other integrations discover network devices and make use of that in this package as well.

having a configuration to manually add "known hosts" would be great, so any PRs are very welcomed :)

@heyepic
Copy link
Author

heyepic commented Oct 20, 2023

One two three, not it! But I agree, the code is out there to take it seems. :)

Thanks for the add-on, regardless. Have been using it for awhile - and hope to continue to do so.

@faxour
Copy link

faxour commented Jan 9, 2024

Same problem like other said.

Logs:
2024-01-09 23:45:19.736 DEBUG (SyncWorker_1) [glocaltokens.client] Successfully initialized 3 Google Home devices
2024-01-09 23:45:19.747 DEBUG (MainThread) [custom_components.google_home] Failed to fetch timers/alarms information from device xxy speaker. We could not determine its IP address, the device is either offline or is not compatible Google Home device. Will try again later.
2024-01-09 23:45:19.747 DEBUG (MainThread) [custom_components.google_home] Failed to fetch timers/alarms information from device xxx speaker. We could not determine its IP address, the device is either offline or is not compatible Google Home device. Will try again later.
2024-01-09 23:45:19.747 DEBUG (MainThread) [custom_components.google_home] Failed to fetch timers/alarms information from device XXX speaker. We could not determine its IP address, the device is either offline or is not compatible Google Home device. Will try again later.
2024-01-09 23:45:19.747 DEBUG (MainThread) [custom_components.google_home] Finished fetching sensor data in 3.220 seconds (success: True)

My Google Home Pods are in other vlans like homeassistant instance.

greetings

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

4 participants