Creating a timer / schedule

Introduction

The timer allows you to plan the events in the system.  A timer is like a schedule, that can be set to operate once, weekly, or monthly. When the timer is triggered it goes from the normal state into an alarm state. When the timer is turned off it goes back to a normal state.

How to add a Timer / Schedule

To create a "Timer" utility, press add button "" inside the "Group tree" or "System tree" menu. Then choose "Timer". A modal window will appear.

image-20240328-081213.png
image-20240328-084453.png

 

Timer options

 

Description

Timer options

 

Description

Name

 

Write a name to describe your timer/schedule that you can easily recognize and distinguish.

ID

 

System ID is given by the system to the virtual element Timer.

Type

 

Virtual element of type “timer”.

Class

 

System type “devirt”.

Device time

 

Current device time

Period of operation

once

one-time event

weekly

every week

monthly

each month, set the Start time, End time, and day in which the timer will be triggered (on the picture You see the Start time is 4:00, End time is 18:00, day - 27);

schedule

like extended weekly, allows you to set the operating time individually for each day of the week.

Push "ОК", to create a timer.

Now, after reaching the time specified in the "Start Time" (in hours marked in red in schedule mode), the timer will enter into Alarm mode. For this event, you can bind execution logic (see. Adding logic schemes).

Upon reaching the time specified in the "End Time", the timer will return to the Normal mode, this event is also possible binding logic.

If this is installed as a one-time event, then the timer switches at the specified start date and time. If you set a "weekly", "monthly" or "schedule" mode of operation, the timer will be activated on the dates indicated.

More examples of using a timer can be found here: How to use "Timer".

Once timer

Example of a “once” timer period of operation:

Once timer options

Description

Once timer options

Description

Start date

The exact time when the timer will enter into alarm mode.

Year/month/day Hour/minutes/seconds

End date

The exact time when the timer will enter into normal mode.

Weekly timer

Example of a “weekly” timer period of operation:

 

Weekly timer options

Description

Weekly timer options

Description

Start date

The exact time when the timer will enter into alarm mode.

Hour/minutes/seconds

End date

The exact time when the timer will enter into normal mode.

Hour/minutes/seconds

Days when timer is available

Check the days when the timer is available

  • Sunday

  • Monday

  • Tuesday

  • Wednesday

  • Thursday

  • Friday

  • Saturday

Monthly timer

Example of a “monthly” timer period of operation:

 

Monthly timer options

Description

Monthly timer options

Description

Start date

The exact time when the timer will enter into alarm mode.

Hour/minutes/seconds.

End date

The exact time when the timer will enter into normal mode.

Hour/minutes/seconds.

Dates when timer is available

Check the days when the timer is available.

Dates available to check are from 1 to 31.

Schedule a timer

Example of a “schedule” timer period of operation:

Schedule timer options

Description

Schedule timer options

Description

Schedule

The exact time in hours when the timer will enter into alarm mode by a day.

How to use the “Timer” element

Embedded article: How to use “Timer”