> For the complete documentation index, see [llms.txt](https://help.qtech.co.nz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.qtech.co.nz/qtech/cellular-remote-control/sms-lite/alarms.md).

# Alarms and escalation

How alarms move through the phone list, and how to reply.

Alarms occur when an input changes state and phones are messaged then alarms escalated to the next phone along with a prompt to the recipient phones to reply to the notification.

## How an alarm moves through the phones

Each time an input changes, a message is sent to each of the phones associated with the input, in order with a delay between each message. By default, notifications are sent with a 10-minute delay between messages to each phone number configured for the input.

When programming the alarm escalations to phone numbers it is important to note that the numbers step in numerical order, for example: Ph1→Ph2→Ph4 and Ph1→Ph2→Ph3 will work, however if you were to attempt to program Ph4→Ph2→Ph3, the configuration text would be accepted but the escalation order would be Ph2→Ph3→Ph4.

## Replying to an alarm

| Reply                                   | What happens                                                                                                                                            |
| --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `OK [input]`, for example `OK Pump`     | This will stop any further escalation of the alarm to the numbers in the phone list for that input status change.                                       |
| `BUSY [input]`, for example `BUSY Pump` | Forces the SMS Lite to send the alarm message to the next phone number in the list.                                                                     |
| No reply                                | If there is no response after 10 minutes (or whatever the escalation time is set to), then the SMS Lite will send a text to the next programmed number. |

It will begin at the top of the list the next time the input is activated.

## The messages

| When                                  | Message                                                                                                     |
| ------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| Alarm, to everyone but the last phone | `Shed1 Pump has turned ON. Reply OK Pump or BUSY Pump. You are the 2nd person of 3 to be sent this message` |
| Alarm, to the last phone              | `Shed1 Pump has turned ON. Reply OK Pump. You are the 3rd person of 3 to be sent this message`              |
| Someone acknowledged                  | `[site] [input] alarm has been acknowledged.`                                                               |
| Nobody acknowledged                   | `[site] [input] alarm was NOT acknowledged by anyone.`                                                      |
| The input returned to normal          | `[site] [input] has turned OFF.`                                                                            |

The escalation sequence will stop after the last person on the escalation list receives their message. This is to prevent repeated messages, and every phone will have a text showing what the alert was. An escalation sequence will restart after an input has reset and been reactivated.

To only notify Events, the device can be configured to suppress prompts for ACK or BUSY responses. See [Configure](https://help.qtech.co.nz/qtech/cellular-remote-control/sms-lite/configure.md).
