Momentary "Off" Button?

(Paul Melian) #1

The elements in play here: Amazon Echo, Logitech Harmony, SmartThings and maybe IFTTT

I am trying to create an “Alexa, turn off Everything” command.

In the Alexa app, I creating a lighting group called “Everything” that has all my smart switches in it, but I want this command to trigger the “Off” activity with the Harmony.

My thought was to create a virtual switch that was typically on, but when turned off it would trigger an IFTTT command to run the activity. My issue, is I can’t figure out an easy way to get this switch turned back on afterwards so it’s ready to be turned off again. Any ideas would help.



I’m sure there are many ways to do this, but one of the easiest in your scenario is to use a regular binary virtual switch and include turning on the switch in the harmony activity. That way it’s on again for the next time. :sunglasses:

There are some people who written some code for a momentary virtual switch which is usually on, I just don’t remember exactly where it is right now.

Found one: