Difference between revisions of "V2/Concepts/Automation"

From Senfi Docs
Jump to: navigation, search
(Created page with "=== Rule, Alert === <!--T:20--> In an operating environment such as a smart building, it is important that organizations are able to keep track and be aware of what is going o...")
 
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=== Rule, Alert === <!--T:20-->
+
<h1 class="main-heading">Expression, Event, Alarm</h1>
In an operating environment such as a smart building, it is important that organizations are able to keep track and be aware of what is going on in and around their assets. The way to do that is through monitoring and alerting.
 
  
<!--T:21-->
+
The modern building is alive with activities. Not just human activities, but activities of the systems that exists within, and those that interacts with it from the outside. These activities are mostly unseen and untapped – we typically only make use of a fraction of the data being generated.
Sensors produce measurements which contain data in the form of metrics and tags. Senfi provides multiple ways for users to monitor metric and tag values for conditions which require attention - such as abnormally high values, or when a combination of values indicates something is down - and to take action when it happens.  
 
  
==== Rule ==== <!--T:22-->
+
Building data can be ingested by Senfi to facilitate automation and improve building operations. To do so, Senfi provides an event-driven autonomous workflow engine. Similar to other event-driven architectures, users may define events in Senfi and specify actions to be carried out when an event occurs. Senfi provides a flexible way to define the conditions for triggering events in the form of an expression. Events may also optionally raise alarms, if it is intended to be handled by a human operator.  
User can make use of Senfi's flexible rule engine to be alerted of abnormality in the system they are monitoring.
 
  
<!--T:23-->
+
=== Implementing autonomous workflow in Senfi ===
A '''rule''' in Senfi comprises of:
+
Users may implement autonomous workflows by configuring the following in the CMS:
* Inputs
+
* [[V2/Concepts/Expression|Expression Editor]]
* Conditions
+
* [[V2/Concepts/Event|Event]]
* Output
+
* [[V2/Concepts/Alarm|Alarm]]
* Actions
 
* Rule execution options
 
  
==== Example ==== <!--T:24-->
+
[[File:Concepts_Automation_Engine_Overview.png|800px|center|link=]]
Using our Smart Weighing Scale measurement from earlier, we can form one simple rule as follows:
+
 
* Input: <tt><tvar|battery_level>iot_weighingscale_v1.battery_level</></tt>
+
<!--
* Condition: < 20
+
First, User has to design an Expression specifying conditions that Senfi has to check for, in order to detect the event or situation that the User wishes to be notified of. So when data is being pumped into Senfi, relevant data will go through the Expression for autonomous checking, and if the set of conditions evaluates to true, an Event can be triggered.
* Action: ''Email reminder to replace battery''
+
 
* Rule execution option: Immediately (means evaluate this rule whenever there is any incoming measurement)
+
User can define the actions to be taken when the Event is triggered, such as sending notifications to relevant personnel, sending commands to systems for actions to be taken, or sending out webhooks to external systems such as work order systems.
 +
 
 +
In the case where an Event is a notable situation and requires attention, User can set the Event to trigger an Alarm in the Digital Twin. In this way, all Users monitoring the Digital Twin will be alerted.
 +
-->
 +
 
 +
==== What's Next ====
 +
-----
 +
* Learn about [[V2/Concepts/Expression|Expression]]
 +
* Learn about [[V2/Concepts/Event|Event]]
 +
* Learn about [[V2/Concepts/Alarm|Alarm]]

Latest revision as of 22:04, 4 July 2021

Expression, Event, Alarm

The modern building is alive with activities. Not just human activities, but activities of the systems that exists within, and those that interacts with it from the outside. These activities are mostly unseen and untapped – we typically only make use of a fraction of the data being generated.

Building data can be ingested by Senfi to facilitate automation and improve building operations. To do so, Senfi provides an event-driven autonomous workflow engine. Similar to other event-driven architectures, users may define events in Senfi and specify actions to be carried out when an event occurs. Senfi provides a flexible way to define the conditions for triggering events in the form of an expression. Events may also optionally raise alarms, if it is intended to be handled by a human operator.

Implementing autonomous workflow in Senfi

Users may implement autonomous workflows by configuring the following in the CMS:

Concepts Automation Engine Overview.png


What's Next