Ubidots Integration

Send alerts from Ubidots Industrial IoT platform to ilert and ensure your machines' uptime

Ubidots is an Industrial Internet of Things (IIoT) platform designed for developers and businesses to easily connect, collect, and visualize sensor data. It offers tools for data analysis, real-time monitoring, and automated actions, making it ideal for applications in industries such as manufacturing, healthcare, and environmental monitoring. This article provides step-by-step instructions on sending alerts from the Ubidots platform to ilert to ensure critical issues are escalated to responsible specialists as quickly as possible.

In ilert: Create a Ubidots alert source

  1. Go to Alert sources -> Alert sources and click Create new alert source.

  2. Search for Ubidots in the search field, click the Ubidots tile, and then Next.

  3. Give your alert source a name, optionally assign teams, and click Next.

  4. Select an escalation policy by creating a new one or assigning an existing one.

  5. Select your Alert grouping preference and click Continue setup. You may click Do not group alerts for now and change it later.

  6. The next page shows additional settings, such as customer alert templates or notification priority. Click Finish setup for now.

  7. On the final page, an API key and/or webhook URL will be generated. You will need it later.

In Ubidots: Create a Trigger Event

  1. On the top bar, click on Data -> Events.

  1. Now click on the "+" to create a new Trigger Event.

  1. Select a Variable and configure a trigger as you like. Click on Next to proceed to the next step.

  1. Now click on ADD ACTION.

  1. Select Trigger webhook from the list.

  1. Enter the previously in ilert created integration URL into the URL field.

  1. Copy and paste the following payload:

{
	"eventType" : "alert",
	"deviceId" : "",
	"deviceName" : "",
	"lastValue": "",
	"lastValueTimestamp" : "",
	"triggerValue" : "",
	"triggerTimestamp" : "",
	"variableId" : "",
	"variableName": ""
}
  1. Now fill the payload with the help of the tag button.

  1. To send resolve events, click on Back to Normal.

  1. Enable Back to normal action and copy following payload:

{
	"eventType" : "resolved",
	"deviceId" : "",
	"deviceName" : "",
	"lastValue": "",
	"lastValueTimestamp" : "",
	"triggerValue" : "",
	"triggerTimestamp" : "",
	"variableId" : "",
	"variableName": ""
}
  1. Fill out the payload with the tag button.

  1. Save the Trigger action to finish the setup.

FAQ

Will alerts in ilert be resolved automatically?

Yes, as soon as "Back to normal action" is configured and a variable in Ubidots is back to a normal state, the associated alert is automatically resolved in ilert.

Last updated