I haven't seen this posted anywhere, so I thought I'd write up my experience.
I wanted to control my TV, set top box, receiver, etc with my Echo and I'm a bit paranoid about IFTTT. I saw that the new Samsung Smartthings hub is compatible with both Echo and with the Logitech Harmony Hub. Long story short, Alexa can now turn on my TV, receiver, set to the right input, and change channels! I also have two Philips Hue Bloom lights behind my TV and they can be set to different colors depending on the channel. (Syfy and HGTV simply MUST have different colors.. obviously
)
To do this, you set up "Activities" in the logitech harmony hub software. For example, if I want Alexa to be able to tune to HGTV, I create an HGTV activity in the harmony hub software. The activity will turn on the TV, set its input, set the receiver's input, and turn on the set top box by default. You then edit the Start portion of the activity to add a command to the set top box to set the correct channel. I created separate activities for each channel that I wanted Alexa to tune to: HGTV, Syfy, BBC, CNN, etc. the activities are all identical except for that last step where you set the channel you want on the set top box.
Also, if you want to have your lights change when you change channels, the Harmony hub activity is the place to add it. It can control lots of different kinds of lights. I have it turn off my family room lights (Insteon) and change colors of my Hue lights depending on the channel... because... why not?!
One note of caution, when you set up your devices in the harmony hub, make sure to set the power defaults. By default the harmony hub wants to turn everything off when you change activities. I never want my set top box to go off, so I changed the power settings to be always on.
In the Smartthings software, you add a new entertainment device (buttons and remotes), and add the Harmony Hub. Once you enter your harmony credentials, it will let you chose which Activities you want to import as Smartthings Devices. It will add them as devices with the same name as the harmony activities, except it will add "[Harmony Activity]" to the end of the name. Rename the activities and delete the "[Harmony Activity]" from the name, otherwise Alexa will get confused later.
After the Harmony and the Smartthings hubs are set up, you can then link it in the Alexa app. You select Link to Smartthings hub in the smart home settings. After you enter your smartthings credentials into the alexa app, you will get a dropdown to chose which of your smartthings hubs to use, and then which smartthings devices (the ones you renamed above) you want Alexa to be able to control.
That's it. Your echo can now turn on your TV and change channels. "Alexa, turn on HGTV" will turn on all of the devices and tune to the correct channel (or if everything is on, it just changes the channel). "Alexa, turn off HGTV" will turn off all of the devices. I also have harmony Activity called The TV, so I can say "Alexa, turn on/off the TV"
It's working great so far!
The one thing that's a pain in the butt, is that when you add new Harmony activities, you have to delete the devices from the Smartthings app, and unlink the Smartthings hub from the Echo, and then re-add/re-link everything. Also, sometimes Alexa will say "that device does not support that activity" when you turn the TV off, but it turns off fine.
Anyway, I've been trying to find a good solution for this for a while and I'm pleased with how this turned out. I hope this info will be of use!
- Troy