Software Overview  |  Sitemap  |  Downloads  |  Developers  |  Forums
Small_clear_logo_llc

Recipe to Demonstrate Timers

This Script creates a set of timers. Their outputs can be virtually wired to other devices, turning them on and off at different times and days.

Timers use the time of your Virtual Wiring system computer. Make sure your time is set properly.

The Script is as follows:

# Builds some interval timers.
# One turns on certain hours on any day, another turns on on certain days for
# the whole day, and another turns on certain times on certain days.


# intervals on any day
run_script("Scripts/Device/Virtual/TimerInterval", intervals:"00:00 to 6:00, 12:00 to 18:00", id:"interval_timer")

# odd days, all day
run_script("Scripts/Device/Virtual/TimerInterval", intervals:"00:00 to 24:00", days:"1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31", id:"odd_day_timer")

# certain days, certain times
run_script("Scripts/Device/Virtual/TimerInterval", intervals:"11:00 to 14:00", days:"6", id:"day_interval_timer")

Catalina Computing, LLC.

Copyright © Catalina Computing, LLC. (2013-2018)




Page last updated: Mon Dec 2 00:03:05 2013 (UTC)