Time Based events
Time based events can be used if we need to change the content for a certain repeated event, such as turning the screen off for nights and weekends or showing the lunch menu between 11 AM and 2 PM, but it’s not complicated enough to warrant using the scheduler.
-
Start date: Here you can define when the action should start
-
End date: Here you can define when the action should last
-
Each day: If you turn it off you can select the affected days
-
Time of day: You can define specific time to start the action
The Time of day is in 24hour format and is mandatory.
Behavior
-
When the content starts (either by being assigned or the device restarting) any action that was supposed to run in the last 23 hours 59 minutes will be grouped together, and the last one from each type will be executed. (The last jump to/next page/previous page/popup action, the last Interact widget action for each individual widget, the last output sensor event for each sensor id. All other types of actions will be executed.)
-
After the initial phase, the content will execute the actions when needed. (0-15 seconds after the exact minute).
-
To turn off the screen for nights and weekends, you need to set up two events. The first one will turn off the screen “Each day” at 18:00. The second one will turn on the screen at 8:00 on weekdays only. This way, if the device restarts, there will always be at least one turn on or turn off action in the last ~24hours. If there are more, the most recent one will be executed.
-
The action required is a “Static sensor or device event” with “Screen on/off” type. The sensor id should either be left empty or set to the same value for the “On” and “Off” actions.