SIGNL4 Integration with the AT&T IoT Platform

The AT&T IoT Platform provides a scalable, rapid solution development platform, made up of tightly integrated components that can be customized to help you solve your business challenges.

Gathering events from IoT devices and sending team alerts in case of critical incidents is a broad field. It starts with simple prototypes using a Raspberry Pi and goes up to industrial IoT scenarios, machine data or distributed systems in the field.

SIGNL4 is a mobile alert notification app for powerful alerting, alert management and mobile assignment of work items. Get the app at https://www.signl4.com.

The AT&T IoT Platform provides a scalable, rapid solution development platform to help you solve your business challenges. The integration with SIGNL4 is straightforward. In the following we will show an example on how to send alert notifications using SIGNL4 in case of MQTT events coming from devices in the field.

Prerequisites

AT&T IoT Flow

Go to the Flow dashboard at the AT&T IoT Platform at https://flow.att.io. Here you can create a new flow.

We have created the following nodes:

HTTP GET Test: This provides you with a custom URL for easy testing in a browser.

Payload – URL Test: When the above URL was called this node is triggered and just set a static text to be sent to SIGNL4.

MQTT: This MQTT node connects to an MQTT broker in our case we just used the free one available at https://test.mosquitto.org. When an MQTT message arrives this node triggers and provided the data to the next one.

Format to JSON: We use a function to format the MQTT message into a nice JSON format to be processed by SIGNL4.

SIGNL4 Webhook: Here we go. This is our SIGNL4 webhook “https://connect.signl4.com/webhook/{team-secret}”. You would need to change this in order to match your SIGNL4 team secret.

Response: We send back the HTTP response in case we used the above HTTP GET request. As a result you will see the SIGNL4 eventID in the browser window.

DEBUG: Just some debugging to see what we send to SIGNL4.

The flow is publicly available at https://flow.att.io/explore. Just search for SIGNL4 here.

AT&T IoT MQTT

The easiest way to test the above flow is to use the HTTP GET URL and enter it into your browser. This will trigger the flow and as a result you will get back the SIGNL4 eventID.

If you would like to test the MQTT part as well you might want to use the MQTT test client MQTTLense available at https://chrome.google.com/webstore/detail/mqttlens/hemojaaeigabkbcookmlgmdigohjobjm. You can connect this one to the MQTT broker, which in our case is Mosquitto at https://test.mosquitto.org. With MQTTLense you can just publish a message with a matching topic, in our case “signl4”.

Now you just need to adapt the flow to your needs or copy the SIGNL4 node to your own flows whenever you need reliable alerting to mobile teams. That is it.

The alert in SIGNL4 might look like this.

SIGNL4 Alert


Learn more at signl4.com. Last update: 2024-10-01 08:26.