Smartthings Triggers Google

Depends on Google.

Look at the topic for reference:

G oogle
A ssistant
R elay

So your saying that smartthings could activate GAR then could tell Google to activate a routine

You can mimic a Routine, if your commands in your Routine can be used with GAR.

If your Routine is play happy morning music on the bathroom speaker, then probably.

The SDK has weird limitations, what are not bound to the physical devices.

So like it could tell google hey Google good morning (routine) I see

I am saying, that the SDK used by GAR is limited. GAR cannot execute Google Routines.

But if your Google Routine’s commands can be executed one by one by GAR, then you can mimic it.

  1. Turn lights on
  2. Play music on all speakers
  3. Open blinds
    Etc.

Then you have a good chance to be able to do it.

Probably you will need as well a virtual switch, and WebCoRe.

If ifttt let you create custom actions with Google home… I could create a virtual device the turn on when the location mode changes to morning and then ifttt action tells the bathroom speaker to play the morning routine

Or is there something else that does that???
Other than ifttt

Sorry, I have no idea.

Can web core trigger Google assistant routines?

so what if with action blocks and you get something that press the wiget. Like if you make the wiget that activates the routine

Like a smart app or something???
@GSzabados

One other option, which is weird, but works, is to get an additional speaker device and have it say the command to the Google home.

This could be an android device with LANnouncer or an Echo. I don’t know enough about Google home to know if you can automate makIng it speak a custom command, but if you can, then it could be a Google home mini.

The point is just that the voice assistant doesn’t care who is saying the command, so it can be another voice assistant if you want.

1 Like

That is possible

2 Likes

Or wait but how could you get something in the smartthings routine… Google assistant doesn’t have a action in ifttt

Or is there a smart Things smart app that selects a wiget?

If you had a Sonos you could do it but I don’t

Could you have it broadcast it??

The point is to set up a smartthings routine which causes a voice assistant to speak a custom phrase. Then a different Google device would hear that custom phrase and do whatever you wanted it to do.

This is very easy with echo, because The standard Alexa routines (no raspberry pi or AskAlexa required) let you trigger a custom phrase from a sensor. So you can use a virtual sensor in SmartThings and use that to trigger the Alexa routine. I Already mentioned this above.

FAQ: Can I trigger an Echo Action without Speaking to It?

If you don’t want to use an echo device, you can do the same thing with an android device and LANnouncer, although that’s quite a bit more work.

2 Likes

i figured it out
i am going to use cast-web-api

Could you explain how that helps? I need to figure this out myself as well. Thanks bro

1 Like