Google assistant - "BROADCAST" command as TTS

project_alerts
webcore
googleassistant
googlehome

(Eddy) #1

Hi there,

I found that the “broadcast” command can act as a Text to speech
Basically just type in google assistant "broadcast "

My question is: Is there a way to send a google assistant command via webcore or is there an app that currently does it?

Not really that good with google api, but i believe that would be feasible?
what do you guys think?


(Matthew Valeri) #2

Unfortunately, there is no way to send a command to Google Home. There is a DTH but you need to be running another system 24/7 with special software on it.


#3

Have you tried that using IFTTT? I know you can set up custom commands to be sent to Google home/assistant through IFTTT.


(Eddy) #4

Hi yes i use IFTTT, but this is a different approach

So just to give you guys an example
If you have a google home, just summon google assistant on your phone and type in “broadcast welcome home”

You will hear it through your google home speakers
I was wondering if we have some kind of a http post of such a command and implement it in webcore


#5

If you have an Android phone and are familiar with Tasker this might work


(Eddy) #6

Thanks!
Yeah that will work for sure, meh i guess, wanted to find a way to remove the android device from the equation

For those willing to do this, yes the above method works


#7

Man I wish I had found this guide a few weeks ago, I had to figure it out the hard way lol


(Greg) #8

I’ve been looking for something similar too. Unfortunately I’ve had no luck as of yet.
I’ve got voice working in Python, but the problem is the assistant sdk doesn’t allow for text input yet


(Ian Houser) #9

I know it’s Node, not Python, but take a look at this: https://github.com/endoplasmic/google-assistant/blob/HEAD/examples/console-input.js
Someone brought the Assistant SDK to Node and that’s an example of a console-only way to interact. I kind of got it working on my Raspberry Pi 3, but haven’t spent much time with it since. From this I think it’d be a webhook away from working decently in a ST setup.

(This would still require a dedicated device running the code)


(Greg) #10

Oh wow, its been updated.

I’ve just checked it and yes, you can do broadcasts! I might try and whip something up to integrate with ST


(Eddy) #11

For those interested in this
Pls look at this post instead
https://community.smartthings.com/t/wip-google-assistant-relay-google-home-audio-notifications/?source_topic_id=109972


(ChrZZ) #12

Hi get an “Access denied” on this page you are referring to. Why?


(Jerry George) #14

@ChrZZ Try this