Skip to main content

Configuration

Alarm Notification Profile

After installing the module, create an Alarm Notification Profile of type Teltonika Notification.

Profile Settings

Gateway

ParameterTypeRequiredDescription
NameTextYesName of the Alarm Notification Profile instance
DescriptionTextNoDescription of the Alarm Notification Profile instance
EnabledBooleanYesEnable/Disable the Alarm Notification Profile
HostTextYesIP address or hostname of the Teltonika router

Credentials

ParameterTypeRequiredDescription
UsernameTextYesRouter authentication username
PasswordPasswordYesRouter authentication password

Advanced

ParameterTypeRequiredDefaultDescription
LegacyBooleanYesfalseUse Legacy API instead of REST API
ModemTextConditional-Modem identifier (required when Legacy is false)

Auditing

ParameterTypeRequiredDescription
Audit ProfileDropdownNoOptional audit profile for logging notifications

API Modes

The module supports two API modes to accommodate different Teltonika firmware versions.

REST API Mode (Default)

Modern Teltonika routers use a token-based REST API.

Requirements:

  • Firmware with REST API support
  • Modem field must be configured

Authentication flow:

  1. Module sends credentials to /api/login
  2. Receives authentication token (valid ~5 minutes)
  3. Token is cached and reused
  4. SMS sent via /api/messages/actions/send

Legacy API Mode

Older Teltonika firmware uses URL-based authentication.

To enable:

  • Set Legacy to true
  • Modem field is not required

Authentication:

  • Credentials passed as URL parameters
  • SMS sent via /cgi-bin/sms_send
Which Mode to Use?

Try REST API mode first. If you receive authentication errors, switch to Legacy mode.


User Contact Configuration

For users to receive Teltonika SMS notifications, their contact information must include phone numbers in the SMS contact type.

Adding Contact Information

  1. Navigate to Config > Security > Users, Roles
  2. Edit the user
  3. In the Contact Info section, add a contact of type SMS
  4. Enter the phone number in international format (e.g., +33612345678)
Phone Number Format

Phone numbers should include the country code. The module automatically converts international format (+33...) to the format required by Teltonika routers (0033...).


Per-Alarm Custom Message

The module supports per-alarm custom messages via the Extended Configuration of each alarm.

To configure a custom message for a specific alarm:

  1. Open the alarm configuration in the Designer
  2. Expand the Extended Config section
  3. Find the Teltonika Notification Properties category
  4. Set the Custom Message property

When a custom message is defined, it overrides the notification block's message template for that specific alarm.


Auditing Configuration

When an audit profile is configured, the module logs:

FieldDescription
Action"Teltonika SMS"
ActorUsername of the notification recipient
TargetAlarm path with event ID
Value"SUCCESS" or "FAILURE"
TimestampTime of notification attempt

Multi-Modem Configuration

For routers with multiple SIM cards, specify which modem to use:

  1. Find the modem identifier in your router's web interface
  2. Enter it in the Modem field (e.g., modem1, 3-1)

Each notification profile can use a different modem, allowing you to:

  • Route critical alarms through a dedicated SIM
  • Balance load across multiple SIMs
  • Use different carriers for redundancy