No announcement yet.

[script] Schedule event at a fixed time

  • Filter
  • Time
  • Show
Clear All
new posts

    [script] Schedule event at a fixed time

    There's a script command that lets you run an event in some number of seconds, but not one that lets you run one at a particular time. I wrote this script to address that gap, specifically so I could have one button event schedule another event for the next morning -- in this case, the light alarm that was based on the false sunrise script.

    Revision History:
    2002-01-27 v1.0: first upload to new Script Library

    Put it in your script directory. Call it from other events or scripts with a parameter saying when, and what event, like this:
    schedule_event.txt("main","06:15 Light Alarm")
    This will run the event named Light Alarm at 06:50 tomorrow morning. Times should be 24-hour and will automatically be moved to the next day if it's already past that time today.

    Nucleus Home Automation
    Attached Files
    News, support, and updates for Rover, Network Monitor, TimeIcons, and more