Smartthings+Echo+Harmony Hub = Voice Controlled TV! (2016 version)

The following thread is the most up-to-date on the official SmartThings/echo integration, so I would ask your question there.

That said, two quick thoughts.

One) you might want to just use the IFT TT integration between echo and harmony to begin with while you’re figuring everything else out. It’s very easy, does not require any virtual switches, and actually doesn’t use smartthings at all. It does use the “Alexa, trigger Disney Channel” format, and some people don’t like the use of the word trigger. So you may well want to replace it with the official smartthings integration once you work that out. But meanwhile, you’ll have immediate successful voice control of harmony through echo, which is fun. And you get to start working out the quirks of harmony activities, which is going to be essential. Before you can do anything else, you have to have an activity set up in harmony that will do what you wanted to do.

Just look at the first section in the following thread for how to use the IFTTT trigger method. Don’t look at anything else there. The rest of it is all out of date.

  1. The names of your switches should just be simple names. Don’t use “please” or “turn on” or anything like that for your virtual switches. You’re going to be saying “Alexa, turn on {name of your switch}.” You don’t want to be saying “Alexa, turn on please turn on the television.” Your switch names should be as short and distinctive as possible, typically one or two words. So “television” “DVD” etc. it may help to think of these as the button names on the TV remote. When you want to tell Someone else to press a button, which button name would you use? You probably wouldn’t name a button “please turn on the fire TV.” The button name would just be “fire TV.”

You will find a few short names that won’t work because echo has reserve those for their own use. This will include things like play, pause, power, off, Etc. so you have to think of something else to call those. see:

If you’re using the official method, it now creates a virtual switches for your existing harmony activities at the time that you add the harmony hub to smartthings. The last time I looked at it it also appended [harmony] to each switch name, which most people remove since it just gets in the way when you’re talking to echo.

Anyway, make the switch names short and unique. Just putting a please in front of everyone is going to cause echo to give you that response “which device did you mean?”

Hang in there, because once you have this working it’s both very practical and lots of fun. :tada: That’s one reason I recommend starting with the IFTTT method for a few activities while you’re working out the set up for the other method just so you can get the inspiration of having something working right away.

Again, though, look at the first link I posted for the most up to date information on the official integration. :sunglasses:

6 Likes

Thank you JD. Your comments are always extremely helpful. I have read many others! :wink:

3 Likes

JD: Can I ask you a few quick questions. When you set up the simulated switch to power off your “entertainment”, do you: 1) Start sequence = power virtual switch on?
2) End sequence = power virtual switch off?

Or just have the start sequence as power off?

I understanding inserting this power virtual switch in every Harmony activity with the start - on and end = off, but when it converts to smartthings, is this embedded now in the smartthings activity?
Lastly, when you have your new smartthings activity set up such as: “Turn on the TV”, do you just have the start switch but no end switch since you are powering off your “entertainment” with another switch?

Thanks for answering if you can! I’m sorry to bother you again!

It’s not a bother, but it’s pretty far off topic for this thread. Why don’t you ask your question again in the 2016 Harmony thread that I linked to above. :sunglasses:

ok dokey! Thanks!

It looks like this will enable individual command to be sent from Echo to Harmony Hub directly by creating a custom Harmony skill for the Echo.

I’ve the basic CLI version of the above tool working, so now I can send all commands to the Harmony Hub from a PC.

However, I’ve had no luck getting the custom Harmony Echo skill working. Anyone have experience setting up a custom Echo skill?

I know this is a little late, but if you are still around, I want to use echo to control Harmony Hub without IFTTT too. So, inside the Android Samsung App, click marketplace, click smartapps. There is no Amazon Echo in this list. I’m missing something I guess?

Here is another app that lets you control your harmony hub from a local PC.

This is the solution I came up with to MUTE and UNMUTE my tv (through the receiver) using voice commands with Echo/Alexa without changing inputs or powering other devices off.

MY DEVICES: TV, AVR (Sony STRDN1040), Verizon cable set top box, SmartThings hub, Harmony hub, Amazon Echo.

This assumes you already have Alexa/Echo set up correctly to command your activities. (eg. “Alexa, Watch Netflix” – turns on tv and receiver to correct inputs.)

Go into your Harmony app and do the following:

Change the TV, receiver and set top box to the following power setting:

Change Device Settings > Power Settings > I want to keep this device on when switching activities and only turn off if I press the off button.

Save those and then you want to create another activity.

Add Activity > Create “Custom” activity.

I named mine “Shut Up” because I think there was an issue with Alexa recognizing/confused using “Mute” and “Silence”. You might have better luck with another name, but that was my experience in trying those first.

Add your receiver as the only device for this activity. When it asks which input to select, “I do not set an input”. Save.

Select the Activity you just created, then choose “Customize this Activity”. Add a step, select your receiver as the entertainment device, then chose the command “mute” from the drop down list. Save.

Create another activity exactly like you just did above - I named this one "Sound” – and customize it the same way adding the mute command.

NOTE: If you already have your Harmony set up with SmartThings + Echo, you will need to unlink and delete all the Things, then re-add them back in.

Now I can say “Alexa, turn on Shut Up” and it will mute, then I can say “Alexa, turn on Sound” and it will unmute. The inputs and power remain on and correct without any changes. If I want to turn off the TV, I simply tell her to and everything shuts off. Hope this helps- I couldn’t find a solution anywhere for a simple mute command.

@JDRoberts

Are you still having trouble getting Netflix to work? I just set this up a couple of days ago. I have two activities for Netflix:

  • watch Netflix
  • exit Netflix

I tell Alexa to turn on Netflix and she says, sorry that activity is not responding. But, the activity works.

If I do it through askAlexa, there is not a problem at all.

Are you using askAlexa?

I don’t use AskAlexa. And at this point I don’t use the official harmony/ST integration as it just did not remain stable enough for me.

Instead, I use the IFTTT Channel method, where there’s no issue with the words. So I can say “Alexa, trigger Netflix” with no problems.

Since I am physically unable to use a button remote I need a method which works reliably. The one I’m using isn’t the most elegant, but it’s been super stable. :sunglasses:

1 Like

JD - how quick is it that way?

  • really appreciate your knowledgeable posts -

At my house there’s a pretty standard eight second lag for an IFTTT request. That’s acceptable to me, but I know it’s longer than a lot of people would like.

There are a couple of other method you can try if you want something faster.

I’m not sure how long the official ST/harmony integration takes now, hopefully someone else will answer.

The Yonomi/harmony integration is noticeably faster than IFTTT at the present time. There are quite a few people using that. It’s just a software app, so no additional cost. It doesn’t integrate with smart things, but it does with both echo and harmony.

If you’re willing to set up your own server, you can use askAlexa.

Personally, I’m waiting to see what the official echo/harmony integration does once it comes out of beta. ( it’s being developed by harmony itself.) I have hopes that this will be the fastest available once it’s released. But we’ll have to wait and see. :sunglasses:

Well, with the little bit I’ve got set up with mine, just four activities, it’s pretty fast.

No more than 3-4 second lag.

I’ve been using ifttt for echo/ harmony integration and can’t complain as the lag is only a few seconds and even though it works great I kept at getting the echo-smarthings-harmony to work also and finally my added activities and edits are showing up on all of smartthings and not just on the harmony smartapp. They’re also showing up on the native alexa app.

they claim it doesn’t work well with numbers, but i literally have a number assigned to every single light (kbl1 for kitchen bar light one, etc) and have had ZERO problems. I have groups with clear names and i created a couple of groups for the same restroom lights because some people say bathroom. I did have a set up issue though with naming also specifically with harmony. It would turn on “kitchen tv” but wouldn’t launch other activities for the same tv.

I followed all the instructions to a tee

  1. Installed harmony smart app on ST
    Went through all the steps to sync and no hiccups
    All the activities/switches are present & accounted for
  2. Installed ST skills on Alexa
  3. Alexa recognized all my activities/switches
  4. Give the command to Alexa “satellite” to watch directv which should turn on and select appropriate inputs for all the appliances for that command. I just hear that dull noise from Alexa when a command is not working.

Echo Works perfect with ifttt and also if I use my remote not with “Amazon Echo and ST”

Any advice would be appreciated as I am about to return it after hours of fustration.

I don’t have a harmony. So shooting from my hip. Shouldn’t there be “more” to the Alexa command?

Typically it’s Alexa turn on / turn off “name of device”?

So possibly Alexa turn on Satellite. I believe Alexa see’s everthing as switches. So when she turns on the satellite switch the hub will run the commands?

You are the man, @JDRoberts.

You can find the correct answer / guide for anything.

1 Like

Hi JDRoberts,

That is just one example. I also have commands such as Watch Movie. This are the names of the activities I set up in the harmony app.

Watch Satellite
Watch TV
Satellite

They all appear in the Echo and the ST app but none work.

I limited one of the activities names to a single word like satellite because I read somewhere that echo has some words they reserve for themselves that can’t be used.

Thanks for the help though.