jlegault Posted August 18, 2021 Posted August 18, 2021 I have a GE Smart Switch in the garage. I would like the act of turning on this switch (either physically or by a program) to trigger a timer. That timer would count down and automatically turn off the light. First program that starts the timer: Garage Start Timer - [ID 000C][Parent 0001] If 'Garage_MainLight' is switched On Then $GarageTimer = 10 Else - No Actions - (To add one, press 'Action') Second program: Garage Light Timer - [ID 0020][Parent 0001] If $GarageTimer > 0 Then Wait 1 minute $GarageTimer -= 1 Else Set 'Garage_MainLight' All Off Set 'Garage Tool Light' All Off The first program is not triggering. In the event log I see that the switch reported on and off status when I physically turned it off and on. Wed 08/18/2021 14:17:03 : [ ZW098_1] ST 0 (uom=78 prec=0) Wed 08/18/2021 14:17:08 : [ ZW098_1] ST 100 (uom=78 prec=0) Why is the first program not triggering? Am I not understanding how the ISY works, or is this Zwave buggery. Thanks!
Mecheng70 Posted August 18, 2021 Posted August 18, 2021 (edited) I am away from my ISY, but does this have to do with status and not switched? Check the drop down to see if you can switch it to status. If that is the case and you get that to work, why do you have the system count down versus using a wait $GarageTimer variable with the Set 'Garage_MainLight' All Off and Set 'Garage Tool Light' All Off all in the THEN. Edited August 18, 2021 by Mecheng70 clarified
oberkc Posted August 18, 2021 Posted August 18, 2021 The GE smart switch is z-wave!? I have had zero luck using "switched on" with GE switches. "Status" seems to work for me, but not "switched on". There is one trick that I am aware of: right-click on the switch node and choose "zwave>>add/refresh button press node". Once the node is added, see if this new node triggers your program. I understand that other z-wave devices might work better in this regard.
jlegault Posted August 19, 2021 Author Posted August 19, 2021 5 hours ago, Mecheng70 said: I am away from my ISY, but does this have to do with status and not switched? Check the drop down to see if you can switch it to status. If that is the case and you get that to work, why do you have the system count down versus using a wait $GarageTimer variable with the Set 'Garage_MainLight' All Off and Set 'Garage Tool Light' All Off all in the THEN. I was looking for more control to have multiple sensors and the switch interacting with a shutoff, but that would work. I will play with it. 5 hours ago, oberkc said: The GE smart switch is z-wave!? I have had zero luck using "switched on" with GE switches. "Status" seems to work for me, but not "switched on". There is one trick that I am aware of: right-click on the switch node and choose "zwave>>add/refresh button press node". Once the node is added, see if this new node triggers your program. I understand that other z-wave devices might work better in this regard. That worked like a charm. Button status work great as a trigger. THANKYOU! It throw a "DOF" and "DON" event that will trigger a program. Wed 08/18/2021 20:17:35 : [ ZW098_253] DOF 0 (uom=78 prec=0) Wed 08/18/2021 20:17:37 : [ ZW098_253] DON 100 (uom=78 prec=0)
oberkc Posted August 19, 2021 Posted August 19, 2021 58 minutes ago, jlegault said: That worked like a charm. Button status work great as a trigger. THANKYOU! Yes, "status" works on mine also. If, however, your logic works better with a "control" condition, try the "add/refresh button press node" trick. It might work for you (it does for me.)
Recommended Posts