I have ST, ST power outlet, harmony and echo. I want to have Alexa tell harmony to switch ON the power outlet and turn on my devices. It seems that in Harmony activities, a smart power outlet can’t be moved to the top of the activity.
Is there any option to have it all done in one shot?
I know this hasbeen discussed in the past, but I’m tired today and I don’t remember exactly where.
Anyway, there are a couple of different ways to do it. The main point is that SmartThings can request that harmony activities be turned on. So rather than having harmony turn on the smart power outlet, you want to have smartthings turn on the smart power outlet and then turn on the harmony activities. You can do this with a delay in between in case you need to wait for the power to turn on, which is pretty common. In that case you can either daisy chain it or use web core. (I’ll let other people explain those details if you need them)
And once you have a way of doing it from the SmartThings side, you can just set up a virtual switch to start that process and then you would have echo turn on that virtual switch.
This is the same way that we have echo start a routine or change a mode. So here’s the FAQ for that approach.
So again the idea is to set up a sequence in SmartThings where first the power outlet comes on and then shortly afterwards SmartThings Requests the harmony activity that does all the regular harmony stuff. And you trigger that sequence by a virtual switch coming on. That way you can have echo turn on that virtual switch and everything will happen.
Sorry I can’t give you more details, but I’m sure other people will be glad to fill-in if that’s not enough to get you started.
I think I have this working using webcore. I can tell alexa to turn on Xbox TV, it turns the outlet on waits 5 seconds and turns the harming activity.
Can’t figure out how to tell alexa to turn off the activity. Do I need to create another routine for that? Telling Aleza Turn off xbox TV doesn’t seem to work.
Thanks for your help
Subscribe to SmartThings Developers newsletter for the latest news and events: