@rwhapham - No worries, you would run this python script on a device on your network, i use a raspberry pi for example…
Then call the raspberry pi via url from IFTTT
The URL is “http://192.168.1.37/Notify?Message+Goes+Here” where Message+Goes+Here is the TTS String… The + symbol is automagically converted to a space when running the TTS Library.
I had this working externally from my network using some simple port forwarding on my router.
Feel free to drop me a DM if you get stuck or message me on Twitter @3DPrintingKid
Great work, thanks for sharing. We can now use “broadcast” on Google Home / Mini and the mobile assistant to send a message to all devices. On mobile, you can type “broadcast” followed by the message which comes out as the Google voice. With this new feature, is there an easier way to implement this idea? IFTTT doesn’t offer yet the Google Assistant on the “then that” side of rules to accomplish this. Thanks for reading.
So I don’t actually have a Google Home yet, but having a “usable” TTS announcement solution might just be the tipping point to get one. Based upon the work of others, I created a C# app that uses .NET’s built-in speech synthesis to create a WAV file, and a third-party Google Cast library to cast it. When testing on a normal Chromecast, it takes about 6 seconds before anything actually plays (connect, start media channel, play media). Is this the same latency I would see on a Google Home? Or is it somehow better optimized in how it handles media playback requests? Thanks.
mine is slightly less, maybe 3 seconds, the google speakers have a chime before the playback so its event>1second>CHIMEonGH>1 second >CUSTOM TTS or Sound. The chromecasts are about 4 seconds for me at most between event and custom sound, although Wifi slowness can sometimes truncate the first second or so on the chromecasts. Im working on improving the network environment/ wifi signal a bit.
right now im setting up the chromecasts to show live video cam feeds on request and maybe doorbell cam on button press.
if u have ANY google cast or google speaker/mini/audio, this integration is invaluable! @vervallsweg has really opened up hundreds of possibilities here.
it’s not too difficult, if you have a computer that’s always on. for me downloading github desktop and cloning the repo and changing the local ip from the github desktop app menus command line took the longest, maybe 15 min since I’m slow and never done it before.
the rest is ur standard go to the IDE, device handlers, settings, add repo. then update from repo, check check, smart apps update from repo check check update. open ST app, marketplace, smart apps, my apps, web cast, enter the ip:port then discover devices, click on one discovered, check check, save. bam u have speakers in all the smartthings apps.