Time based monitoring can be incredibly useful for receiving alerts when specific events occur within or outside a given timeframe. For example, you can be notified when movement is detected on your site during closed hours or when water is consumed unexpectedly. This guide will walk you through configuring a static scheduling list and using it to define rules for effective monitoring.


Define the formula as follows:
isOpen == 0 and presence == true
This formula checks if the site is closed (isOpen == 0) and if presence is detected (presence == true).
Message: Customize the alert message. For example:
Presence detected on {{context_name}} outside opening hours.
Each time the pir sensor emits an event, the rule is evaluated. As the formula refers to the static planning list, it retrieves the value from the static list at the time of evaluation. If the time is during closing hours, the value returned will be open:0. If the rest of the formula is true, the rule will trigger an alert.