description |
---|
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.
-
Go to Alert sources -> Alert sources and click Create new alert source.
-
Search for Ubidots in the search field, click the Ubidots tile, and then Next.
-
Give your alert source a name, optionally assign teams, and click Next.
-
Select an escalation policy by creating a new one or assigning an existing one.
-
Select your Alert grouping preference and click Continue setup. You may click Do not group alerts for now and change it later.
-
The next page shows additional settings, such as customer alert templates or notification priority. Click Finish setup for now.
-
On the final page, an API key and/or webhook URL will be generated. You will need it later.
- On the top bar, click on Data -> Events.
- Now click on the "+" to create a new Trigger Event.
- Select a Variable and configure a trigger as you like. Click on Next to proceed to the next step.
- Now click on ADD ACTION.
- Select Trigger webhook from the list.
- Enter the previously in ilert created integration URL into the URL field.
- Copy and paste the following payload:
{
"eventType" : "alert",
"deviceId" : "",
"deviceName" : "",
"lastValue": "",
"lastValueTimestamp" : "",
"triggerValue" : "",
"triggerTimestamp" : "",
"variableId" : "",
"variableName": ""
}
- Now fill the payload with the help of the tag button.
- To send resolve events, click on Back to Normal.
- Enable Back to normal action and copy following payload:
{
"eventType" : "resolved",
"deviceId" : "",
"deviceName" : "",
"lastValue": "",
"lastValueTimestamp" : "",
"triggerValue" : "",
"triggerTimestamp" : "",
"variableId" : "",
"variableName": ""
}
- Fill out the payload with the tag button.
- Save the Trigger action to finish the setup.
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.