cancel
Showing results for 
Search instead for 
Did you mean: 
Replies are disabled for this topic. Start a new one or visit our Help Center.

Google Home Action URL

benhelps
Community Member
Hi,
 
The Google Assistant community suggested I should ask this here, so...
 
Seems this hasn't fully worked for many years, any idea of a timeframe to solution?

e.g. an Action of something like http://192.168.0.216:1880/event?action=auto-lux-lights-off
 
doesn't work on Google Home.
 
And no, I don't want to just use a paid service like IFTTT
1 Recommended Answer

maymun
Solutions Expert
Solutions Expert

Hi benhelps, it's not currently possible to pass a local endpoint to a cloud integration with Google. What you can do instead is to run a remote server (eg. a VPS or Firebase cloud functions), recieve the smart home intents from there, then pass it to your local devices.

 

Another option is to familiaize yourself with local home, and see if it suits your needs: https://developers.google.com/assistant/smarthome/concepts/local

View Recommended Answer in original post

14 REPLIES 14

benhelps
Community Member

Darn - not boding well for these forums being frequented and/or this problem having been solved in the years Google Home's have existed yet.

Muddi
Community Specialist
Community Specialist

Hey benhelps,

 

Thanks for posting. My apologies for the late response here. Looks like I need permission to access the link that you've shared. Please take a screenshot of the page so we can check it. Also, do you have a Google Home or Nest speakers?

 

Looking forward to your response.

 

Cheers,

Muddi

benhelps
Community Member

No, the link is just to an internal endpoint on my home network, I'm trying to get a Google Home routine to call that endpoint.

 

I just have older Google Home Mini speakers.

Muddi
Community Specialist
Community Specialist

Hey benhelps,

 

Got it! Could you tell us what end point you are pertaining to? Does it work before? What is the current firmware version of the Google Home app and Google Home Mini?

 

Keep us posted.

 

Cheers,

Muddi

benhelps
Community Member

The endpoint listed above is just on my local node-red home automation. As may be guessed that particular end point just turns on the automation for light brightness being dictated by outside lux. It is just a simply GET call with no other data fed in.

 

The Google Home Mini firmware is 282045 and the phone app version is 2.53.1.5 

Muddi
Community Specialist
Community Specialist

Hey benhelps,

 

To confirm, are you a developer?

 

Thanks,

Muddi

benhelps
Community Member

While I develop in my spare time, I was directed here to ask my question by the Google assistant community as they couldn't answer.

I don't know if there is a more appropriate place to ask after whether Google Home routines are yet capable of a URL action, ?

maymun
Solutions Expert
Solutions Expert

Hi benhelps, it's not currently possible to pass a local endpoint to a cloud integration with Google. What you can do instead is to run a remote server (eg. a VPS or Firebase cloud functions), recieve the smart home intents from there, then pass it to your local devices.

 

Another option is to familiaize yourself with local home, and see if it suits your needs: https://developers.google.com/assistant/smarthome/concepts/local

benhelps
Community Member

Interesting. So are there any requirements for a cloud endpoint? I could park a receiver on the back of a cloud webserver and route messages from there to my internal node-red server.

maymun
Solutions Expert
Solutions Expert

It needs to be able to accept HTTP calls and provide responses within 9 seconds. (For an integration to be certified and published, we would like this number to be less than 700ms). It also needs to be able to get resolved by common DNS providers.

benhelps
Community Member

Hmm, so just HTTP or also on port 80? And are 700ms responses OK to be in essence simple acks or do they need to be proper routed responses from the home server?

maymun
Solutions Expert
Solutions Expert

I am not sure if you can provide a port as part of your endpoint specified in the console, but you can try (and see if Google sends you the requests from that port). If not, just roll with port 80 (indicating no port after the endpoint).

Your responses need to indicate success/failure (which controls the Assistant's response to the end user), so it is the round time for you to talk with your local server/device, get the result of the request, and respond it back to Google. In order to respond to queries (eg. "Hey Google, what is the brightness of my livingroom light set to?"), you need to be able to access to your local server or the device, and retrieve that info anyways.


You can learn more on the smart home intents you will be responding to here:
https://developers.google.com/assistant/smarthome/concepts/intents

 

Best of luck with the development!

Muddi
Community Specialist
Community Specialist

Hey benhelps,

 

For developers, it is best to connect with the right team. Please go to https://bit.ly/3b3n8M8. There's also a community page where you can post your questions, and get the help that you need. We can consider this thread complete, so I will lock the thread shortly unless I can help out with anything else. 

 

@maymun: Thanks for helping here. 

 

Cheers,

Muddi

Muddi
Community Specialist
Community Specialist

Hey benhelps,

 

I haven’t heard back, so I'll be locking this thread if we won't hear back from you again in 24 hrs. Feel free to create a new one if you have more questions or have other concerns in the future.

 

Cheers,

Muddi