Light Switch. Trigger on button press, not state change


#1

Hello.

I would like to use one of my Zwave switches to control other lights as well (the whole room for example).

I created a piston that triggers on “state changes to”.
It works great when the switch is OFF and I switch it to ON.

I would like it to work when the state doesn’t change also.
For example: some lights in the room are ON but the light associated with said switch is OFF.
If I press OFF, I would like to turn the whole room OFF but since there is no state change, no action is taken.

Is this possible to do currently?
Is this a possibility to do with a software update? Or does this require a different hardware (different switch) ?

thank you


#2

I don’t think the regular GE zwave switches do this, you can confirm in the IDE live logging by pressing OFF when it’s off to see if there’s any activity. I don’t know of any other switches that reports a press when the button is the same as its current state.


#3

Not sure if this will help, but here’s what I did. I just look at the button press, not the state. If one button gets pushed, I increment the level of the lights. If the other button gets pushed, I turn the lights off. I think I’m using a custom device handler as the original one didn’t recognize the individual button pushes.


#4

Yes, but your “switch” is showing up with Keypad capabilities. That’s why it’s showing up in your green screenshot as Keypad 1. so, what type of switch do you have and what DTH are you using?


#5

The GE Zwave switches have two “button” functions you can pull out and use in WebCore if you have the right DTH. If you double tap up it comes as button 1 and if you double tap down it comes as button 2. But these are independant of the load side of the switch. Of course, you could respond to these by changing the state of the load on the z-wave switch as well. But you’d have to include that in your WebCore piston. But there is no DTH for any switch that I know of that would detect a press of a button irregardless of the state of the switch.