Need help using a switch to control an electrically separate zwave device


#1

1) Give a description of the problem
I installed a string led lighting using a Fibaro controller. I want the Fibaro to turn off and on based on using a zwave wall switch which is not electrically connected to the Fibaro. I wrote the piston in webcore but it only works if the switch actually changes output.

2) What is the expected behavior?
Pressing the upper paddle will turn on lights, pressing Lower paddle will turn off Fibaro. Regardless of actual status of the switch. (I just want to use it as two buttons)

3) What is happening/not happening?
The switch state has to physically change in order for the action to work

**4) http://imgur.com/fRM2eqB

5) Attach any logs (From ST IDE and by turning logging level to Full)
(PASTE YOUR LOGS HERE BETWEEN THE MARKS THEN HIGHLIGHT ALL OF THE LOGS SND CLICK ON THE </> ICON


#2

Please post your images directly to the forum, not imgur.

The ‘Physical’ interaction rarely works… the vast majority of device handlers do not provide ‘is physical’ data so it’s of little use.

You also don’t need to restrict to ‘when RGB bulb is on’ as if it’s not on, webCoRE already has optimisations for thatband won’t tell an off device to turn off.

Your piston does not contain an ‘on’ command so it will never turn the RGB strip on, only off.


#3

Try:

On events from Switch 1
IF switch 1’s switch is on
THEN
with RGB Bulb
turn on
ELSE
with RGB Bulb
turn off

On events from RGB Bulb’s switch
IF RGB Bulb’s switch is on
THEN
with switch 1
turn on
ELSE
with switch 1
turn off.


#4

Just wanted to check…what is the wall switch physically wired to? Just the hot and neutral wires in the wall and not any load? Or is the switch also controlling another light?