SMS Octopush Module
Complete Module Documentation
Everything you need to install, configure, and use the SMS Octopush Module effectively.
Overview
The SMS Octopush Module integrates Ignition with the Octopush SMS service, enabling instant SMS notifications for critical alarms. This documentation covers installation, configuration, and best practices for using the module effectively.
Installation
System Requirements
Before installing the SMS Octopush Module, ensure your system meets the following requirements:
- Ignition Version: 8.0 or higher
- Java: Java 11 or higher (included with Ignition)
- Network: Outbound HTTPS access to api.octopush.com
- Octopush Account: Active account with API credentials
Installing the Module
Follow these steps to install the SMS Octopush Module:
- Download the module file (
.modl) from your OperaMetrix account - Log into your Ignition Gateway
- Navigate to Config > System > Modules
- Click Install or Upgrade a Module
- Select the downloaded
.modlfile - Accept the license agreement
- The module will appear in the modules list once installed
Verifying Installation
After installation, verify the module is working correctly:
- Check the module status in Config > System > Modules
- The module should show a green status indicator
- Navigate to Config > Alarming > Notification to see the new Octopush profile type
Configuration
Configuring API Credentials
To connect to Octopush, you need to configure your API credentials:
- Log into your Octopush account at octopush.com
- Navigate to API > API Keys
- Copy your API Login and API Key
- In Ignition, go to Config > Alarming > Notification
- Create a new notification profile of type Octopush SMS
- Enter your API credentials in the configuration panel
Creating a Notification Profile
Create an Octopush notification profile in Ignition:
- Go to Config > Alarming > Notification
- Click Create new Alarm Notification Profile
- Select Octopush SMS as the profile type
- Configure the following settings:
Configuring Message Templates
Customize the SMS message content using Ignition expression language:
The default template includes alarm name, priority, and timestamp. You can customize it using the following variables:
{name}- Alarm display path{priority}- Alarm priority level{eventValue}- The value that triggered the alarm{eventTime}- When the alarm occurred{ackUser}- User who acknowledged (for ack events)
ALERT: {name}
Priority: {priority}
Value: {eventValue}
Time: {eventTime|dateFormat("HH:mm:ss")}
Reply ACK to acknowledge.Usage
Adding to Alarm Pipelines
To use the Octopush SMS profile in your alarm pipelines:
- Open your project in the Ignition Designer
- Navigate to the Alarm Notification Pipeline
- Add a Notification block
- Select your Octopush SMS profile
- Configure the contact info expression to return phone numbers
# Return phone numbers for on-call roster
def getContactInfo():
# Get on-call users from schedule
users = system.user.getScheduleAdjustments("OnCall")
phones = []
for user in users:
phone = system.user.getUser("default", user).get("phone")
if phone:
phones.append(phone)
return phonesTwo-Way SMS Communication
The module supports receiving SMS replies for alarm acknowledgment:
- When an operator receives an SMS alert, they can reply with "ACK" or "OK"
- The module processes incoming messages via Octopush webhook
- Matching alarms are automatically acknowledged in Ignition
- The acknowledgment is logged with the operator's phone number
Webhook Configuration: Configure the webhook URL in your Octopush account to point to your Ignition gateway.
Scripting Functions
The module provides scripting functions for sending SMS programmatically:
# Send a single SMS
system.octopush.sendSMS(
profileName="Production SMS Alerts",
phoneNumber="+33612345678",
message="Equipment maintenance required in Zone A"
)
# Send to multiple recipients
recipients = ["+33612345678", "+33698765432"]
for phone in recipients:
system.octopush.sendSMS(
profileName="Production SMS Alerts",
phoneNumber=phone,
message="Shift change reminder: Please check all stations"
)Troubleshooting
Connection Issues
Problem: Module cannot connect to Octopush API
Solutions: 1. Verify your API credentials are correct 2. Check that your server has outbound HTTPS access to api.octopush.com 3. Verify your firewall allows connections on port 443 4. Check the Ignition gateway logs for specific error messages 5. Test API connectivity using the module's test button in configuration
SMS Delivery Failures
Problem: SMS messages are not being delivered
Solutions: 1. Verify the phone number format includes country code (e.g., +33612345678) 2. Check your Octopush account balance 3. Verify the destination country is supported by your Octopush plan 4. Check the delivery status in Octopush dashboard 5. Review the module logs in Ignition Gateway
Acknowledgment Not Working
Problem: SMS replies are not acknowledging alarms
Solutions: 1. Verify the webhook URL is correctly configured in Octopush 2. Check that your Ignition gateway is accessible from the internet (or use a reverse proxy) 3. Verify the reply format matches expected keywords (ACK, OK) 4. Check gateway logs for incoming webhook requests 5. Ensure the sender's phone number matches the contact info in Ignition
Ready to Get Started?
Download the SMS Octopush Module and start sending critical alerts in minutes.