Switch turned On when already On


#1

1) Give a description of the problem
I am not sure if this is possible but if it is, I haven’t found a way. What I would like is for WebCore to detect if I turn the switch on when it is already on.

2) What is the expected behavior?
In my livingroom I have my pot lights on a switch. What I want is if the lights are already on and I turn the switch on again, then my lamps turn on. I would like to do the reverse to turn them off

3) What is happening/not happening?
Nothing as I don’t know how to set this up, or if it is even possible.

Thanks!


#2

Are the lights smart?


#3

I’m not completely sure what you mean but you could disable command optimisation.
That means that whatever state your light is in, the command will run.
EDIT. I think I may have misread your query.


#4

(Disable command optimisation) like @bobbles said.

@dr_jared88 If pot lights switch is on (not subscribed)
&
Pot lights switch changes to ON (subscribed)
Then
With lamps
Turn on.

Is this what you mean?


#5

Yes that is what I mean, but I don’t think that configuration works. Maybe I need to try it again.


#6

Upload a green snapshot of your current piston along with any logs. Then it may be easier for people to diagnose. :grinning: thanks.


#7

Ok, I haven’t played with command optimization before but I will give it a shot and report back. Thanks for the help!


#8

If you have a piston set to turn on a light at say midnight. Well if it’s already on then Command Optimisation stops it from sending the on command again because there is no need. So disabling it will allow it to send it again anyway.

It’s a very handy feature especially for complex pistons so I would suggest only disabling it if you must. :+1:t3:


#9

It depends on the switch. For example. My GE Dimmer switches will not send another on command if I hit the switch again.

My GE non dimmer switches will send that on command again.

So command optimization will not help in this instance.