Mobile alerting with tracking & escalation for Google IoT Core
Google IoT Core provides a scalable, rapid solution development platform, made up of tightly integrated components that can be customized to help you solve your business challenges. Whether you are collecting data from a Raspberry Pi or industrial machines, the platformcan help you manage your IoT devices in real time. Pairing this powerful IoT platform with SIGNL4 can enhance your daily operations with an extension to your mobile team in the field or on the shop floor.
How it Works
SIGNL4 integrates with Google IoT Core using a simple MQTT flow on the Google Cloud platform.
Service engineers alerted via mobile push, text and voice
Uses Email configuration to connect to your SIGNL4 team
Staff can acknowledge tickets and take ownership
Alerts are escalated in case of no response
Two-way integration to interact or set the device state
On-call scheduling to alert the right people at the right time
IoT Service Alerting
IoT Device Management
Manufacturing, Utility, Oil and Gas, Agriculture, etc.
How To Integrate
Integrating SIGNL4 with Google IoT Core
Gathering events from IoT devices and sending team alerts in case of critical incidents is a broad field. Systems can involve simple prototypes using a Raspberry Pi and can expand into industrial IoT scenarios, machine data or distributed systems in the field.
The following example demonstrates the flow of an event captured on a device through to notification of an engineer using SIGNL4 and Google IoT Core together.
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.
Cloud IoT Core is a fully managed service that allows you to easily and securely manage and connect your IoT devices. 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.
Therefore, we will focus on the Cloud Function part that is used to send the SIGNL4 alert and only briefly mention the other steps.
Prepare the Google IoT Cloud and Pub/Sub
In Google Cloud IoT Core first create a registry. Then a gateway and a device.
In Google IoT Cloud under Pub/Sub create a Topic and a Subscription.
Prepare your Raspberry Pi
A great device for IoT prototyping is the Raspberry Pi. We will use this one as our device and connect it to Google IoT core. As a protocol for sending event data we use MQTT. This is quite an undertaking, however, luckily there is a great sample available already at GitHub:
This sample included a Python file that can be used as is or you can modify it to match your needs. By default it sends a bunch MQTT messages. You might want to modify the code to send an MQTT messages in case a sensor detects something or a button is clicked.
In order for the Python script to work you need RSA keys you can create it with the following command directly on your Raspberry Pi: