Shion: Scheduling

This document contains information about using scheduling devices with Shion.

iCal + AppleScript

Since Shion supports AppleScript, it's simple to use this to create device schedules that work with iCal. For example, to create a "Lights Out" event that shuts down all the devices at the end of the day, use the following procedure:

  1. Create a snapshot called "Lights Out" when all of the devices are deactivated.

  2. With the Script Editor, create an AppleScript that activates the "Lights Out" snapshot:

    tell application "Shion" to activate snapshot named "Lights Out"

    Save the Lights Out.scpt file on the local disk.

  3. Open iCal and create a "Lights Out" event.

  4. Edit the event and add an alarm with the following properties:

    Type: Run Script
    Script: Lights Out.scpt
    Time: 0 minutes before

    It should look something like this:

  5. Save the "Lights Out" event.

When this is complete, the devices will all shut off at the scheduled time. Using this technique and a dedicated Shion calendar, you can easily schedule your environment to change how and when you like.

If you have a Mac that comes with an Apple Remote, you may be interested in learning how to use your Apple Remote with Shion.