I’m trying to use the PLEG plugin to turn my hallway lights on at night when a pincode is entered into my kwikset zwave lock. So far I have it working with some issues:
-
I only have one Pincode, and it is set as index #1. When I use pincode index 1 as an input in PLEG, the input does not work. I have to use * instead? Not a big issue, but wondering why setting pincode 1 won’t work.
-
I have conditions set as:
TurnLightsOn = PinCode and Night and DiningOff and MainHallOff
This works and I thought I was in the clear, but later that evening when we turned out all the lights, the hallway lights came right back on, and would keep turning on until I bypassed the PLEG. Do I have to add some kind of timer to “PinCode” so that it resets itself? I know the other conditions are met when we turn the lights out but I did not know that PinCode sticks also?
Thanks in advance!