Harmony hub integration - best practices?


#1

Are there any “how to” posts on using a harmony hub with WebCoRE? A search shows some specific topics, but I’m not finding anything general.

I just installed the hub and have several activities set up, and working with Google Home and IFTTT. It works pretty well, but I’d like to control the hub directly with webCoRE for a few tasks.

Can someone point me in a general direction for the best ways to tie activities or discrete device commands to ST switches and webCoRE pistons?


#2

I haven’t run across any particular tutorials, but you’ll need to install the “Logitech Harmony (Connect)” (https://github.com/SmartThingsCommunity/SmartThingsPublic/tree/master/smartapps/smartthings/logitech-harmony-connect.src) or “Logitech Harmony Trigger” (in SmartThings App, under “Add a SmartApp” > “More”) SmartApp. You’ll need to authenticate to your Harmony account, then the activities will show up in ST. To add them to WebCore, you’ll go to the WebCore SmartApp in the ST app, and make those devices available to WebCore (Settings > Available Devices and Contacts).

Personally, I use the “Logitech Harmony (Connect)” and my Activities show up as devices in ST. I use WebCore to perform actions on them (turn them on/off, or do other things if they are on/off).

I haven’t used the “Logitech Harmony Trigger” app, but it seems to be simpler and obviously not actionable through WebCore. Good luck!


#3

Ok cool. I already have the connect app installed… just haven’t opened it up and added any activities. (I had a lot of trouble getting it to install with authentication token issues).

I’ll add some activities and play around with it. Thanks much.


#4

I have some activities set up that change my receiver sound mode (sports, movie, concert hall, etc), as well as some that change channels. Is there a way in ST to make them not turn off the activity when the switch turns off? In the harmony app they are momentary and not an issue, but in ST the switch stays on. When I turn it off, everything gets turned off.

Am I going to have to use the device power options in Harmony to get around that, and then set up a dedicated power off activity?

EDIT:

Ok scratch that…I had already set the power to stay on… but it’s still turning off when ST switches are turned off.


#5

I’ve found it pretty useful. I had been beating my head against trying to get my Sonos system to play a specific playlist when certain conditions are met. Couldn’t make a playlist work within WebCore, but Harmony supports it. So I created 3 different activities that will play my favorite playlists, and I can turn those activities “on” in WebCore. Likewise, if “Watch TV” stays on for 30 minutes (TV is in the basement) and there’s no motion on the main floor, the main floor lights will dim and my kitchen cabinet lights turn off. (I call it “Hibernating” mode). Lots of ways to act on the Harmony activities, or to use the status of those activities to trigger other things.


#6

curious to know if this will help save whatever hair i have left.

im trying to simply watch tv where my SAMSUNG TV, DENON RECEIVER powers on. unfortunately, these devices are connected to a surge protected outlet, which is connected to a WEMO plug, so these devices are turned off whenever my kids leave or forget to turn them off.

using harmony hub, i cant sequence the activity where the WEMO PLUG turns on first which is what i want to accomplish.

thanks in advance for your kind help.


#7

You can do this. Might be a bit jank but would work.

Create watch tv activity in harmony that turns on the tv and receiver

Create a virtual switch in smartthings

Create another activity that just uses your virtual switch that turns on at activity start and turns off at activity end and select “leave everything as is” when it asks “when this activity starts”

Create a piston:

IF
virtual switch changes to on
THEN
wait 5 seconds
turn on Wemo plug
turn on your activity that controls your tv and receiver
IF
virtual switch turns off
THEN
wait 5 seconds
turn off your activity that controls your tv and receiver
Turn off Wemo plug

You would just turn the activity on that controls your virtual switch and that should toggle the virtual switch, which will fire the piston and turn on the activity that turns on your receiver and tv. You’ll have 2 activities running on the harmony but I think it’ll work.

Edit: tested and this works. Definitely jank but I can’t think of another way of doing it.


#9

can you share your piston for me to work with? so i can use it as a guide and modify it as needed.

thanks.


#10

I deleted it after testing (sorry) if you can’t figure it out, I can do it again when I get off work


#11

thanks. . appreciate it. … .