On Scene different from Off Scene?


(Ben Vincent) #1

Hi All,

I’m trying to figure out how to ‘wire’ this up:

  • I want one switch that I can expose on SmartTiles and via Echo (I’m using a Simulated Switch for this)
  • When you turn the switch on I want a specific set of lights to turn on
  • When you turn the switch off I want it to turn off a different set of lights (basically everything in the room which might have also been turned on).

This basically allows me to have one button for a room, with a simple On state and an all Off state.

Smart Lighting doesn’t give me the condition I need to differentiate between a Simulated Switch being turned on vs off.

Any advise would be appreciated.

Ben


(Jason "The Enabler" as deemed so by @Smart) #2

@taasss

You can do this in the smart lighting app, it will require two different automations.

First one

You want to turn on lights
Choose switch as your trigger
Then choose your virtual switch
Do not have this one turn them off.

Second one
You want to turn off lights
Choose switch as your trigger
Then choose your virtual switch.

That’s it.


(Ben Vincent) #3

Well duh! Yeah that makes sense, I didn’t try doing the Off part, I didn’t realize the rest of the settings would be orientated towards turning things off!

Thanks!


(Ben Vincent) #4

Oh minor issue. The Off event won’t trigger unless the switch is already on. Lights can get turned on manually, any tips on how to handle that?

Ben


(Ben Vincent) #5

I figured it out, I switch to an AlexaHelp switch which ignores the current state when a command is issued.

Thanks

Ben