Now the problem I have is that the rule doesn't change the state of the button if a remote light is manually turned on.
I know there is a better way to build the rule. I would really appreciate any help building a better rule including if I need to change configuration of the switch.
Thanks in advance for taking the time to help
Bill
I am wonder the best rule to accomplish this task.
I am not familiar with the Zen30 so maybe I am missing something, but one problem I see, is if your rule is triggered and if Kitchen 2 is on you turn it off with the first IF.
Then, since you now tuned it off, your rule will turn it back on. Since the second IF is ran after the first IF kitchen 2 will always stay on if it is on when the rule is triggered. You need to have the second IF as an ELSE. You could also just toggle Kitchen 2.
To make sure things are working try creating a simple Rule with one Trigger from one switch and one Action for one light. Like this:
Select Trigger Events:
Zooz Double Switch-Relay turns on
Select Actions to run:
On: Kitchen 2
This is a very simple rule that when you get it to work you know the switch is commanding the light through the hub. Now make it more functional with some conditional logic like this.
First create 2 triggers: Select Trigger Events:
Zooz Double Switch-Relay turns on
OR
Zooz Double Switch-Relay turns off
Second add a condition: Create a Condition
Zooz Double Switch-Relay is on
Third tie it together: Select Actions to run:
IF (Zooz Double Switch-Relay is on) THEN
..On: Kitchen 2
ELSE
..Off: Kitchen 2
END-IF
This should turn your light on and off remotely, let me know if you need more help.
It does. Although I had weird behavior to day where I pushed the relay and nothing happened. The light it controlled was off at the time. Pushed it again and it turned on.
Open the device page for the relay and confirm that it actually turned on when you pressed it. Also if things often don't work you may not have a solid mesh network. Or sometimes shi_ happens for reasons we dont know.
I believe the problem was I was using two different drivers. The generic driver doesn't allow a certain features. The user provided drivers allows better configuration.