All Collections
User Guides
Events: Creating Global Events
Events: Creating Global Events
Monitor thousands of devices with a single, global event.
Agustin Pelaez avatar
Written by Agustin Pelaez
Updated over a week ago

Global Events are notifications or alerts that are easily configured across 100's of devices utilizing a common Variable Label across the many devices.

Imagine deploying 10,000 sensors and wanting to have an alert covering all of these devices. Instead of creating 10,000 events, you can simply create one Global Event and monitor common variables across a host of devices within particular Device Group.

Creating a Global Event

**This guide assumes you already have one or more Device Groups. If you do not have any Groups created, learn how to quickly create it with this Device Groups user guide.**

Table of Contents

  1. Step-by-Step

  2. Global Event Configuration Example

  3. Results

  4. Useful Applications

1. Step-by-Step

Step 1: From the "Events" tab, click the "Create Event" icon in the upper-right corner.  
Step 2: Click on “Select Variable" in the Event Configuration.
Step 3: Toggle the variable modal window to the "Device Group" listing.
Step 4: Select the Device Group and Variable Label that will act as the Event trigger. 

IMPORTANT NOTE: Ubidots will automatically populate all Variable Labels that exist across all devices within a Device Group.

2. Global Event Configuration Example

As an example, we'll create an Event to send an Email alert if any variable with label=temperature is greater than 10.  We'll add an Action to send an Email with a custom subject containing the device name. This way, the Email's subject will let us know which device triggered the event.

Email Subject Example:

{{}} - {{}} alert!

3. Results

The newly created Global Event will watch out for any changes in the variables with the Variable Label “temperature” within the device of the Device Group "LoRaWAN Devices".

In our case, the group "LoRaWAN Devices" contains 5 devices:

For demonstration purposes, when a Temperature value is greater than "10" an email alert will be sent. 

Note that each Email is coming from a separate device.

Important Note: If you remove a Device from the Device Group related to the Event, you will no longer receive notification alerts from that device.

4. Useful applications

Global Events can help solve a myriad of challenges during IoT application development and deployments. Here a few use cases to help see you succeed:

  • Create an inactivity event to inform you if any device has stopped sending data.

  • For GPS tracking applications, create a geofence event to see if any device enter or exit a designated area.

  • Create an alert based on the signal strength or the battery strength of a device.

  • Create an event to inform customers if machines experience unexpected breakdowns or delays.

Other users also found helpful...

Did this answer your question?