eyost Posted March 11, 2015 Posted March 11, 2015 Hi all, I have the following program which the thought is to have the device come on at sunset, wait four hours and then cut off. While the device will come on at sunset, it refuses to turn off after four hours. If Status 'Front Entry (Outdoor)' is Responding And Time is Sunset And Status 'Front Entry (Outdoor)' is Off Then Set 'Front Entry (Outdoor)' On Wait 4 hours Set 'Front Entry (Outdoor)' Off Else - No Actions - (To add one, press 'Action') Is the above correct or am I missing something? Thanks for any help. Ed
Xathros Posted March 11, 2015 Posted March 11, 2015 (edited) The status check in your program is the problem. It forces a reevaluation when the light turns on and cancels the wait. This will do: If Time is sunset Then Set light on Wait 4 Hours Set light off Else -Xathros Sent from my iPhone using Tapatalk Edited March 11, 2015 by Xathros
Recommended Posts