Thank you very much. This worked.
I had the added complication that I wanted to make sure that if the lights were changed while the timer was on, it would not turn off the lights. Luckily the z-wave counter returns the % of the light not just on and off.
Just in case anyone else is looking at this trail here is is how I got around this:
I got around it as follows:
If NightTime <> 0 Then
If Counter ZWHallGroundOn = 0 Then
Zwave BasicSetCommand UCM02Zwave 10 0 30
Do GroundFlOff After 360 Seconds Using HallGround
End If
End If
Response GroundFlOff
If Counter ZWHallGroundOn = 30 Then
Zwave BasicSetCommand UCM02Zwave 10 0 0
End If
End of Response
I'm not sure if there is an easier way of doing this but this worked for me.Last edited on Thursday Nov 21st, 2013 09:41 am by lab-art
|