Tutorial: Setup a schedule

This tutorial shows how to setup a schedule in Web Manager. To make the example more realistic, we will create schedules for a heating system.

We imagine to have a room, a thermostat, a switch for the heating system and a condition that the room should hold a specific temperature. The temperature information comes from a Server Item and the switch to turn on/off the heating will also be a Server Item.

Create a conditional event

A conditional event combines a condition and one or more actions to execute. The result of the condition is either true or false - depending on that value, the defined action will execute.  

The heating will be turned on when the temperature is less or equal 22 degrees.

Prerequisite steps before: create actions and the condition.

Step by step

  1. Open the Scheduler app.

  2. Select the folder where to create the conditional event and click Add > Conditional Event from the menu.

  3. In the form enter the Name, the Condition and the actions

Tutorial video

Create a cyclical event

Let's imagine we want to analyze the temperature behavior of the room when the heating is switched on for one hour.

Every day we turn on the heating at 10 pm and every 5 minutes we want a report to save the temperature. Every day at 11pm the heating should stop again.

Prerequisite steps before: create actions.

Step by step

First we need an additional action as described before. This new action saves an existing report instance. Enter the Name of the new action, select the XCommand Reporting > Savereport and select the report and its destination folder.



Next we will create the cyclical event.

  1. Select the folder where to create the cyclical event and click Add > Cyclical Event from the menu.

  2. In the form enter the Name, dates, the Cyclical interval and the three actions

Tutorial video

Create a start-stop time event

Start-stop time events are very similar to cyclical events, the difference is that start-stop time events have no cyclical action.  

Let's imagine, in our heating scenario, the temperature sensor is not working and we want the heating just work by time - controlled by a timer clock.

Every day from 11 am to 12 am the heating should be switched on. 

Prerequisite steps before: create actions.

Step by step

  1. Select the folder where to create the start-stop time event and click the Add > Start-Stop Time Event from the menu.

  2. In the form enter the Name, dates and the Start and Stop Action.

Note: "Start date/time" and "End date/time" are related to the action itself - not to the period of execution. To check the days of execution, have a look to the calendar view.

Animation

Create a one-time event

In our heating example we will create a one-time event which saves a report with the room temperature once a week on Mondays at 10 am.

Prerequisite: SaveTrendingReport action from Create a cyclical event.

Step by step

  1. Select the folder where to create the one-time event and click Add > One-Time Event from the menu.

  2. In the form enter the Name, the Start date/time, the Action, the Recurrence and the Weekdays

Tutorial video

Download examples

You can import the examples of this tutorial in your system with Web Manager > Explorer > Import.