Overview of Timed Events in xPLHal
In addition to executing scripts in response to xPL messages being received, xPLHal includes a Timed Events Engine that allows scripts to be executed based on specific dates or times.
xPLHal supports two different types of timed events - "Single" and "Recurring".
Single events are those which occur only once, on a specified date, and at a specified time. As soon as the event has been executed, it will be removed from the events database.
Although you specify an absolute date and time when a single event should occur, you can optionally specify a level of randomisation. This will cause the event to occur a random number of minutes after the specified time, and can add a more realistic feel to your home automation system.
You can view all currently defined single events by clicking on the "Single Events" node, which can be found under the "Events" section in the xPLHal Manager.
Recurring events are those which are configured to occur repeatedly on a regular basis. For example, a recurring event could be executed every weekday, or every Saturday, or every day. As with single events, the actual time that the event occurs can be randomised to add a more realistic feel to your home automation system.
You can view all currently defined recurring events by selecting the "Recurring Events" node from below the "Events" node in the xPLHal Manager.