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 Add Homebridge to Google Home App #7

Closed
sthety1 opened this issue Dec 10, 2024 · 14 comments
Closed

Can't Add Homebridge to Google Home App #7

sthety1 opened this issue Dec 10, 2024 · 14 comments
Labels
bug Something isn't working

Comments

@sthety1
Copy link

sthety1 commented Dec 10, 2024

When in the Google Home app, when I try to add Homebridge, it shows connected and then an error stating 'Something went Wrong'

To Reproduce:

Expected behavior:

Logs:

Show the Homebridge logs here.
Remove any sensitive information.

Homebridge Config:

Show your homebridge config.json here.
Remove any sensitive information, such as your homebridge-gsh / google-smarthome token.

Screenshots:

Environment:

  • Node.js Version:
  • NPM Version:
  • Homebridge Version:
  • Homebridge GSH Plugin Version:
  • Homebridge Config UI X Plugin Version:
  • Operating System:
@sthety1 sthety1 added the bug Something isn't working label Dec 10, 2024
@NorthernMan54
Copy link
Collaborator

That’s odd, I just unlinked and relinked my account without issue

can you share a screenshot of the error? I’m wondering where in the process it is erroring

@sthety1
Copy link
Author

sthety1 commented Dec 10, 2024

I'm using the same google account for HB and within Google home and this happens. Here is a recording. I've tried both Github and Google.

ScreenRecording_12-10-2024.17-52-56_1.mp4

@sthety1
Copy link
Author

sthety1 commented Dec 10, 2024

Others have also said this on the discord channel as well.

@NorthernMan54
Copy link
Collaborator

At that point in the authentication / setup flow it is requesting the devices from your setup. Is the homebridge-gsh plugin installed and linked with the same account ? Any error logs from the plugin ?

The error you're seeing is the retrieval of devices failing for your account.

@sthety1
Copy link
Author

sthety1 commented Dec 17, 2024

Ok thanks. I might try with a different google account to see if I get the same issues to link to HB and the Google Home app.

@peterchabs
Copy link

peterchabs commented Dec 18, 2024

I'm having the same problem, Homebridge console also reports not finding any Accessories.

ScreenRecording_12-18-2024.10-46-19_1.MP4

@NorthernMan54
Copy link
Collaborator

In homebridge what do the logs for the plugin show ? It should show connecting to the service and # accessories shared

@sthety1
Copy link
Author

sthety1 commented Dec 18, 2024

Screenshot 2024-12-18 at 1 07 49 PM
This is what is shows. It won't bring any devices since I can't connect on the google home. I have tried multiple google accounts and even GitHub and made sure the account I am using in home bridge is the same one in the google home app.

@NorthernMan54
Copy link
Collaborator

Can you go back further in the log, or restart the plugin so that the # of discovered accessories is displayed

[17/12/2024, 20:29:48] [Google Smart Home] Discovered 79 accessories
[17/12/2024, 20:30:03] [Google Smart Home] Sending Sync Request

Also is your internet connection stable ? Those lost connection messages could be an issue with the plugin getting access to the cloud servers.

@peterchabs
Copy link

peterchabs commented Dec 19, 2024

In homebridge what do the logs for the plugin show ? It should show connecting to the service and # accessories shared

It says connected, but 0 accessories found.

[12/19/2024, 9:49:07 AM] [Google Smart Home] No more instances discovered, publishing services
[12/19/2024, 9:49:07 AM] [Google Smart Home] Loaded 0 accessories from Homebridge - pre filter
[12/19/2024, 9:49:07 AM] [Google Smart Home] Returned 0 accessories from Homebridge - post filter
[12/19/2024, 9:49:07 AM] [Google Smart Home] Discovered 0 accessories
[12/19/2024, 9:49:07 AM] [Google Smart Home] Monitoring 0 services for changes

[12/19/2024, 9:50:24 AM] [Google Smart Home] Received SYNC intent
[12/19/2024, 9:50:24 AM] [Google Smart Home] {
"inputs": [
{
"intent": "action.devices.SYNC",
"requestId": "17952288331438640880"
}
],
"requestId": "17952288331438640880"
}
[12/19/2024, 9:50:24 AM] [Google Smart Home] No supported devices found. See https://git.io/JfuHW
[12/19/2024, 9:50:26 AM] [Google Smart Home] Received SYNC intent
[12/19/2024, 9:50:26 AM] [Google Smart Home] No supported devices found. See https://git.io/JfuHW
[12/19/2024, 9:50:26 AM] [Google Smart Home] {
"inputs": [
{
"intent": "action.devices.SYNC",
"requestId": "15424523751066751156"
}
],
"requestId": "15424523751066751156"
}
[12/19/2024, 9:50:26 AM] [Google Smart Home] Received SYNC intent
[12/19/2024, 9:50:26 AM] [Google Smart Home] {
"inputs": [
{
"intent": "action.devices.SYNC",
"requestId": "15159484567186835292"
}
],
"requestId": "15159484567186835292"
}
[12/19/2024, 9:50:26 AM] [Google Smart Home] No supported devices found. See https://git.io/JfuHW
[12/19/2024, 9:50:27 AM] [Google Smart Home] Received SYNC intent
[12/19/2024, 9:50:27 AM] [Google Smart Home] No supported devices found. See https://git.io/JfuHW
[12/19/2024, 9:50:27 AM] [Google Smart Home] {
"inputs": [
{
"intent": "action.devices.SYNC",
"requestId": "3682975212494417584"
}
],
"requestId": "3682975212494417584"
}

@NorthernMan54
Copy link
Collaborator

@peterchabs This is why linking is failing, the plugin can't find any accessories. What does the Homebridge UI show ?

Also this plugin takes homerbidge devices and exposes them to google. You do have homebridge running, with plugins configured etc?

@peterchabs
Copy link

peterchabs commented Dec 19, 2024

@peterchabs This is why linking is failing, the plugin can't find any accessories. What does the Homebridge UI show ?

Also this plugin takes homerbidge devices and exposes them to google. You do have homebridge running, with plugins configured etc?

Yes, I do. I'm just trying to retrieve the single TP-Link accessory that is shown in the video I originally posted above.
Screenshot 2024-12-19 at 10 20 19 AM
Screenshot 2024-12-19 at 10 21 13 AM
Screenshot 2024-12-19 at 10 27 15 AM

@NorthernMan54
Copy link
Collaborator

I'm kinda stumped here, as the plugin uses the same accessory search code as the UI, so it should be the same or similar. Are you running child bridges ? I'm wondering if it's a sequence issue during startup, and if your running child bridges you could restart the GSH Bridge to have it do discover after everythings running

@NorthernMan54
Copy link
Collaborator

Also could you enable DEBUG in the plugin config, and share the log from the first minute ( The discovery phase )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants