SmartThings Community

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

alexa
project_alerts
project_voice
project_sensors

#1

Breaking News!!! As of August 2018, a SmartThings-connected Contact or Motion Sensor can now trigger an Amazon echo routine if you live in the US or the UK !!!

Amazon has now added the ability for some sensors to trigger an Amazon echo routine (not a smartthings routine), which does let you trigger other smart home devices which are not connected to SmartThings without having to speak an echo command! Or you can set it up so that your echo devices will speak a customized phrase. :tada:

And even better, that contact sensor can be a virtual contact sensor. So you can set up the logic on the SmartThings side however you want, then use webcore to set the virtual contact sensor open or closed as you need it, and that will trigger the echo routine. Or you can use a custom DTH which is both a virtual contact sensor and a virtual switch, and then turning the switch on will mark the sensor as “opened.“ So then you don’t need webcore, you can just turn the switch on and off with the official smartlights feature. :sunglasses::bulb:

The setup using a physical contact sensor is very easy. The set up using a virtual contact sensor is more work, but may well be worth it.

This now works for both US and UK accounts.

See the following How To article in the community-created wiki for details, including a DTH if you want to use the combined sensor/switch method.

http://thingsthataresmart.wiki/index.php?title=How_to_use_SmartThings_to_have_Alexa_do_something_without_speaking_to_it

We should also mention that as of November 10, 2018, Amazon echo buttons (two for $20, about the size of a deck of cards) can also trigger an echo routine. So you can press the button and have the echo routine turn on a virtual switch which then triggers pretty much anything you want in SmartThings. :rocket: The button won’t be visible to smartthings, but it’s a nice alternative means of control if you already have an echo in that room.

https://www.amazon.com/Echo-Buttons-Pack-gaming-companion/dp/B072C4KCQH

Old Information from prior to August 2018*

If this were a wiki entry, I would delete everything in this post from this point on. But because it’s part of a discussion thread, I’m going to leave the old information so that the comments in the remaining posts still make sense. But remember that as of August 28, the answer to this question is now yes, you can, using the Contact sensor method, as long as you are in the US or the UK.

If you are outside the regions where Amazon support this, then you would have to use the older method detailed below.


This question gets asked a lot, mostly because the echo can work with so many different devices, including many that don’t integrate directly with SmartThings. So many people would like to be able to turn on a virtual switch in SmartThings and have that cause echo to activate one of its own echo groups or echo routines.

Prior to August 2018, the only thing that you could do was pretty weird, but it does work, and some community members are using it.

What they did was set up an inexpensive android device right next to an echo device, and then automate that android device speaking a command that the echo will understand.

IMG_4845

This will work fine. It’s just a little strange to set up an automated speaker so you can avoid personally speaking to the echo. :upside_down_face: And of course it doesn’t solve those use cases were the reason you didn’t want to speak to the echo was because you wanted quiet.

If you have a device that can do text to speech (TTS) like a Sonos or some of the other DNLA speakers, you could also use that in the same way, and then the implementation is really simple, because there are already official features in SmartThings to cause a Sonos or similar device to speak a notification. Or use the community-created smartapp Big Talker.

IMG_4846

If you don’t already have this kind of speaker, again, you can just get an android device and use LANnouncer, although the technical set up for that one is much more complex. (LANnouncer can even be triggered by IFTTT recipes without having smartthings in the middle.)

Both of these are based on the same idea: you are going to automate when the second device speaks a specific phrase, and then echo will react to that phrase being spoken just as it would to a person saying it.

So there you have it. You set up automation to tell your second speaker device to say a specific phrase when a specific event happened, and then your echo responds to that just as it would to person saying the same phrase.

that’s the only method that was available until August 2018. But now you can use to contact sensor method instead.


Use SmartThings to make Alexa run a skill
Controlling Alexa devices with Smartthings apps?
Switch to turn on Alexa Group
Control4 integration
Amazon fire TV routines
Revers Alexa and ST Integration
How can I get Smartthings to tell Alexa to turn on my water heater?
Santa Tracker?
Integrating Kuna with SmartThings
FAQ: WIFI Devices in ST? How can I integrate a WiFi device that isn’t on the official compatibility list?
Costco CE Smart Home Wifi plug
FAQ: All in one place--is there a single comprehensive list of all Devices that work with SmartThings?
FAQ: Amazon Smart Plug and SmartThings?
Shark integration
Alexa Notification with delay?
Amazon announces new Alexa devices (Echo Dot, Echo Input, Echo Plus, Echo Sub, Amazon Smart Plug, Amazonbasics Microwave, Echo Wall Clock, Alexa Guard, Ring Camera, Echo Show, Alexa recast, Echo Auto) (September 2018)
Brilliant Control - Claims It Will Work with SmartThings (But still in pre-release)
FEIT WiFi Smart Bulbs 4-pack
A/V devices that actually works well with ST
Integrating WiFi Switches that use the Tuya SmartLife App or eWeLink app
ST triggering Alexa routines
How do you run Routines from Alexa?
(Ron Talley) #2

Thanks for this @JDRoberts! I do use the Amazon Fire Tablets in conjunction with Echo Devices to trigger music and feedback for certain ST Events. It works well! Actually quite well.

I use LANnouncer and the TTS voice synthesizer for the Amazon Fire Tablets is actually quite pleasing. Having a Fire Tablets connected to the Echo Devices also offers visual feedback for the Echo Devices.

Finally, when you add Action Tiles to the equation, you get a whole lot of bang for buck!


(Mike) #3

Nice write-up. Here’s one very specific question which I’m not sure I’ve heard covered yet.

Let’s say you have a Sonos speaker which has the Echo device built in to it. Can you use one of those to “talk to itself”? In other words, can it speak and listen at the same time?


#4

I believe the maker channel has been renamed/replaced with the Webhooks service. More info on using Notify Me with IFTTT can be found here: http://www.thomptronics.com/notify-me#IFTTT

Is there a way to make a web request in SmartThings without IFTTT? If there is, SmartThings could use Notify Me without the IFTTT “middleman.”


#5

Yes, as @Darwin points out below, you can do it with WebCore.


#6

You should be able to use a WebCore “make a web request” task as an action directly:

URL (value): https://api.notifymyecho.com/v1/NotifyMe?notification=Hello%20World!&accessCode=ACCESS_CODE

Method (value): GET

Content Type (value): FORM


(Michael Deffendall) #7

Thanks! I will need to look into this one.


(Dave D) #8

Hi Ron,
I am looking to setup things similar to what you describe in your post. I am hoping to enable a switch in smartthings (virtual?) to send a custom phrase to an Android device with lannouncer. This device would be positioned such that it is in earshot of a dedicated Echo I have hardwired to a computer running Airfoil. The Alexa routine I currently have configured (works when I speak to the Echo) sets an airfoil speaker to a specific volume and launches a specific Pandora station. I was successful in setting up lannouncer and can play a siren sound on the device from smartthings. I’m stuck as to where to go from here in regards to sending a specific phrase to lannouncer via smartthings. Is there a specific smartapp I’m missing? Any help or direction would be appreciated!
-Dave


(Ron Talley) #9

I use webCoRE for pretty much all of my rules…well any new rules.

Here’s an example of TTS using webCoRE.


(Dave D) #10

Thanks for sharing the example. I’ve heard of webCoRE but don’t know much about it. Time to learn!


#11

Webcore has its own forum, there Will be lots of people there to help you. :sunglasses:


(Ron Talley) #12


(Dave D) #13

Ron…thanks for following up with this example! I am hoping to tie a virtual switch within Smartthings (and eventually Action Tiles) to an almost identical Piston. I successfully installed WebCoRE last night and will hopefully have time later this week to try things out. The possibilities seem endless with WebCoRE! Thanks again for taking the time to share this information.


(Dave D) #14

Are you using anything in addition to Lannouncer (ie Big Talker) to enable text to speech in your setup? I created an identical piston to the simple example you provided. The only change I had to make was to set ttsdevice 'Unknown Device 7" to the Lannouncer device in my setup. The piston appears to execute without any issues. However, no speech can be heard coming from my tablet running Lannouncer. I used CURL to send the same command on one of my computers and received the response “LANNOUNCER: OK” indicating, I believe, that my Lannouncer configuration is correct. One other thing I did notice is that under the settings for audio volumes in Lannouncer, the item “Volume Setting for Text To Speech” is greyed out. The documentation for Lannouncer is fairly detailed but I cannot seem to find any specific information about this particular setting. Have you or others ever come across this issue?


(Ron Talley) #15

Only using LANnouncer on Fire Tablets and a couple of other off branded tablets. The only thing I really change is the setting Enable GCM. (Don’t know if this matters but I remember having issues at first so I always click it)

Make sure that LANnouncer is running in the background.


(Ahmed) #16

Am I correct in understanding that to-date it’s still not possible to have a Alexa routine run by itself from ST? Alexa has routines that allows me to make custom TTS announcements, but unless I actually schedule it to run or speak to trigger it, then it just won’t play. So I have a wifi speaker which works with TTS and I am able to get webCoRE to speak custom TTS . So I’m thinking maybe if i put a echo dot and this speaker next to each other, housed in some enclosure to prevent sound escaping and then put it somewhere like the loft on low volume and then trigger alexa routines by the TTS wifi speaker speaking to the echo do, will that work? Only concern would be the potential of heat buildup if i place the devices inside a enclosure to sound-proof it.


#17

Sorry, the first post in this thread was pretty confusing, but I have now edited it and it should make more sense.

The very good news is that as of August 2018, you can indeed have an Alexa routine run based on an event occurring in SmartThings. It’s just that the only events that it recognizes are motion sensors and contact sensors. But it will work with a virtual contact sensor. Please see the first post in this thread now that it has been edited and I think everything will be clear. :sunglasses:


(Ahmed) #18

Sorry am I missing something? When i load the Alexa app and go to Routines to create a new routine, under the when this happens am I supposed to be able to select a contact sensor? because all I can seem to select is Voice or Schedule


#19

Please read the discussion thread linked to in the first post. There are some quirks in getting everything set up, and if you read through that thread it will explain The details. ( this is a clickable link)


(Ahmed) #20

So it seems maybe it isn’t available in the UK yet. That’s a real shame. This feature is soo overdue and now it’s here, how long do we in the UK have to wait? Why are Amazon so slow at rolling things out outside of USA?