Script help
BobsXTension at comcast.net
BobsXTension at comcast.net
Thu Apr 2 13:54:56 EDT 2020
On 4/2/20 1:44 PM, BobsXTension at comcast.net wrote:
>
> Charlie
>
> I have a similar situation with my sun room heaters.
>
> I run a repeating global script every 5 minutes to check the
> temperature and turn one or both heaters for 5 minutes.
>
> If you want to avoid too many off-on cycles, if the fans are not
> currently running, turn them on for like 8 minutes
>
> then every five minutes suspend the turn off for another 5 minutes.
>
> Bob Ober
>
>
if . . . then
try
suspend event "Garage Overhead Light" for 5 * minutes
on error
write log "Garage Overhead Light event not found,
turning on Garage Motion Light for ten minutes" color red
turnon "Garage Overhead Light" for 8 * minutes
end try
end if
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20200402/b9a88702/attachment.html>
More information about the XTensionList
mailing list