Scheduler

Top  Previous  Next

The scheduler allows you to trigger events inside Girder at set intervals. The intervals can be configured to be very flexible. We'll explain how to use the scheduler by the "Water Grass" example. In this example we want the grass to be water every other Monday at 9am.

 

 

scheduler

Scheduler Main Window

 

 

The first thing to do is to open the scheduler. You can do so from the main menu (View->Scheduler).  You should see a window like the one above without the "Water Grass" entry. To add this click on "Add Scheduler". This will add a scheduler named "New Scheduler" change this to "Water grass", make sure Device is set to 235. 235 is the ID of the scheduler plugin. You can pick other numbers but it's probably good to stick with 235 until you really know what you are doing.

 

Don't forget to check the enabled checkbox or nothing will happen.

 

Next up we need to add the Tasks. Tasks are the parts of a scheduler that determine when it will fire. We want to fire every other Monday at 9am. If not selected click on "Water grass" again and click on "Add Task". A dialog will popup with a selection of different Tasks. Possible selections are:

 

Day of Week

Day of Month

Sunset

Sunrise

Hour

Minute

Day

 

In our case we'll need to choose "Day of Week". The Window should look something like this now:

 

scheduler_task

Scheduler with Tasks assigned

 

As you can see the Day of Week Task was added to the "Water grass" scheduler. To make it do every other Monday we set "Every" to 2. This means trigger this scheduler every 2nd Monday. Spread allows you to offset the trigger by a random number of minutes. For example entering 10 will change the event times by a random number of minutes between -10 and 10. This will create the illusion that a human is actually doing the triggering. Which could potentially be good for thwarting thieves into thinking someone is home since the action doesn't occur on exactly the same time every day. After you press OK the scheduler is active.

 

To make the scheduler actually do a task, take the event and attach it to an action on the action tree.

 

Availability

This is a Girder Pro and up feature.