Skip to content

Automation

Automations allow you to create rules that are executed automatically, reducing manual work and making the system more convenient to use. Here are several examples of what automations in EleaAlert can do:

  • When the EleaTouch button is pressed, change the Alarm status in the system for that same button or for any other device, and display your Alarm message on the Elea Alarm platform.

  • When an event is received indicating that the EleaLeak water sensor has detected a leak, send an email with the ability to compose the message using templates.

  • When an event is received indicating that a room is empty and the door is open, display an alarm on Elea Monitor.

Getting Started

To create a rule, we designed a convenient panel where you build your rule step by step. The process starts on the Automation page:

Now click Create Rule and enter a name and description:

After that, you will be taken to the page where you build your future rule. You can choose between building from scratch or using a ready-made preset.

As you can see, the template section contains common rules. By clicking on one of them, you will immediately jump to step 6 (Review) to better understand how the rule works.

Trigger

If you choose to create a rule from scratch, you will be taken to the trigger selection page. A trigger is what starts the execution of the rule, making the entire process automated. You can choose either an event coming from a device or a specific time when the rule should run.

Note

An Event is technical information about messages sent by the device. We use these events on the platform to understand how the device actually works and to build automations.

Schedule

For example, this is what the Schedule trigger settings page looks like. You can choose the time and day of the week when the rule will be executed.

Event

If you select the Event trigger type, you will be taken to a page where you must choose the devices from which events will be received, and then select the specific event that the rule will react to. On the first step, you can choose between:

  • All devices inside the current workspace - useful if you want every offline event to be sent to your email.

  • All devices in a group - similar to workspace, but limited to a specific group.

  • All devices in a category - useful if you want all EleaTouch devices to enable Alarm, and all EleaReset devices to disable it.

  • Selected devices - for all other cases and more complex rules, for example when you want to process events from several specific devices.

Each time you select an option, you will see which devices are included.

The second step is selecting the event that applies to all chosen devices. You will only see the events common to the selected devices.

For example, let's select all devices in the EleaButton Reset category. We see that there is only one device available. We select the Button pressed once event and click Next.

Conditions

Next, you can choose execution conditions. This means that when an event occurs or a scheduled time is reached, instead of executing the rule immediately, you can add additional checks.

  1. For example, we can check the time.

  1. Or check the device state, for example whether the Alarm is enabled or whether the door is open.

  1. Or check the device type. For example, if you selected multiple groups in the previous step and now want to process events only from Gateways.

Keep in mind that conditions are not required to create a rule.

Actions

Now we come to the actions - what the rule will actually perform. You can choose from the following options:

  1. Send a notification. First, you choose what type of message you want to see on the monitor or in the EleaAlert system. You can select an existing notification or create your own. After that, you choose where you want to send the notification. You can send it only to our platform, but since each notification is associated with a device, you must select the device below - either the one that received the event or another one. You can also choose email and send messages via email. Or you can select a monitor, where you must specify the monitor id number (from Configuration page). You can read more about monitors here.

    For example, we choose:

  2. You can also change the Alarm status for a specific device or a group of devices.

  1. Or add a delay, for example to send a notification later. This works because actions are executed sequentially.

Here is what we selected for this example:

Review

The final step is reviewing what we configured in step 6 (Review):

Here you can edit the name and description and save the rule. After saving, it will appear in the main list with a short description of what it does:

Here you can disable the rule using the toggle, view its execution history, edit it, or delete it.