3rd Party Services - Amazon and Google

I am trying to add amazon and Google Home but it is just erroring out on me. I added the apps before but then uninstalled them in Hubitat I thought I was good just go through Google and Amazon.

@bobbyD

On Google Side I am getting The parameter "state" must be set in the query string
On amazon side I get unable to link account with Alexa.

My email is gellison@twcny.rr.com.

Can you check my account to see if anything is wrong with it?

I think that means you are not sharing any devices. You need the app on the HE hub for google to talk to. I think when you go to auth on Google it will add the app back if you have deleted it. You MUST select at least one valid device (try a switch) for it to connect and work.

I find it easier to install the app on HE first, then go link Google/Alexa, the devices selected in the app will be pre-selected when you link it to HE.

I don’t think on Google i am getting to the point to select devices on the oauth page. I can select my hub but it just goes to that original message. I have the app installed again. I have also rebooted the hub also.

Did you select some devices in the app?

It is the Google home installer helper or is there a different app? It doesn’t show any devices to select.

I am not really sure what that app does you have there, the one you want is just called "Google Home"

I don’t have that built in app.

Maybe on Google you have to go through google first to get the app added in HE, not sure since it has been a long time since I set mine up and I only use it for testing. That seems to be what the docs indicate: Google Home | Hubitat Documentation

You sure you don't have a left over google home app already installed on the hub?

Hopefully @bobbyD has some better ideas.

I checked your hub and it is no longer connected to the cloud. I would troubleshoot any network related issues before trying to connect to [Google Home] (Google Home | Hubitat Documentation) again.

Also, when online, be sure to follow the instructions in above document.

I just switched back to my original admin email gellison one. Is there a place to see if I am connected to your cloud service?

I think the best way for you to check is settings > Networking > Network Test (at top of page)

Then do a ping test to cloud.hubitat.com, this will check the DNS and if you can reach the hubitat server at the same time. If that passes it should be connected.

Also I think the registered hubs page here: My Hubitat if the hub is offline everything will be greyed out? Cannot be certain on that one though.

https://my.hubitat.com/hubs

It is showing this on my hubitat page.

It shows this when you go to HUB details.

Last Checkin:
10/18/2023 - 09:49:25 - I redid the DNS Servers for the hub.

This is probably when I switched it from DHCP to static IP.

I changed the dns servers and also included my local router DNS. It is showing this now.

Last Checkin:
10/26/2023 - 10:50:02
Active?:
Yes
Dashboard Menu Links:
Cloud Dashboard Menu

It looks good now. I was able to start linking devices to Goog Home.

1 Like

When it is greyed out like that I think its means it is not connected.

image

I would highly suggest you set a reserved IP on the router and switch the hub back to DHCP, it is less problematic as you can see. Then the hub will get all the settings from the router.

And this is why Google and Amazon would not work.

The most convenient way is to check the notification in the upper right corner of the hub's web interface. There should be a message stating that hub lost connection. Based on recent incidents it appears that the messaging system may not be working as expected. We are looking into it.

...it also means that the mobile device may not be connected to the same network. So is not 100% accurate that hub isn't connected to the cloud.

I tested it on my PC while on a VPN so the hub was unreachable due to the VPN, but it will not greyed out. But I was still on the same LAN so maybe it thought it would be able to reach it? Thats why I thought it might be a good indicator.

I was able to get Alexa and Google Home connected after adding my ISP's DNS servers and also my local DNS ip for my router.

2 Likes