Just in time for Halloween. I had this:
front porchmotion
front porch light 100%
if it's halloween
say "Happy Halloween kids. Boo" (outside speakers)
end if
hs.waitsecs 60
lights back to 40%
Here's what happened. Despite the fact that I told the event not to trigger for 60 secs, triggered again (and again).
Waitsecs seemed to take much longer than 60 secs. The end result is that script timed out and HS began turning lights off at random. What a mess.
Tomorrow I'm going to work on waitsecs.
John
front porchmotion
front porch light 100%
if it's halloween
say "Happy Halloween kids. Boo" (outside speakers)
end if
hs.waitsecs 60
lights back to 40%
Here's what happened. Despite the fact that I told the event not to trigger for 60 secs, triggered again (and again).
Waitsecs seemed to take much longer than 60 secs. The end result is that script timed out and HS began turning lights off at random. What a mess.
Tomorrow I'm going to work on waitsecs.
John
Comment