> 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/configure.md).

# Configure

Names, phones, permissions, debounce, escalation and quiet mode.

You can configure the SMS Lite by text message, as on this page, or from a PC with [Workbench](https://help.qtech.co.nz/qtech/cellular-remote-control/sms-lite/workbench.md).

## The message format

All configuration text messages sent to the SMS Lite must comply with the format:

`#[PIN] [object]:[item]=[value].`

| Object           | Item     | Value                                                                                                                                             |
| ---------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Site`           | `Name`   | Name of the site where the SMS Lite is. (8-character limit, no spaces)                                                                            |
| `INP1` to `INP4` | `Name`   | An identifying name for the input. (8-character limit, no spaces)                                                                                 |
| `INP1` to `INP4` | `Phones` | Which configured phone number(s) will receive notifications from this input. For multiple phones separate with a comma, e.g. `Phones=Ph2,Ph3,Ph5` |
| `RLY1`, `RLY2`   | `Name`   | An identifying name for the output. (8-character limit, no spaces)                                                                                |
| `RLY1`, `RLY2`   | `Phones` | Which configured phone number(s) have permission to control this output.                                                                          |
| `Ph1` to `Ph8`   | `Number` | Local or International format (e.g. `021…` or `+6421…`). The phone number(s) that will receive notifications and/or have control.                 |

Configuration messages can be sent individually with one text message per configuration instruction or in a combined text message:

`#12345 Site:Name=Shed1. INP1:Name=Pump. INP1:Phones=Ph1,Ph3.`

The messages are not case sensitive, but capitalisation of any names you configure will be retained.

{% hint style="info" %}
By default an input will send messages to all phones and an output can be controlled by any phone in the phone list. Use the `Phones=` item only if you want to have specific control or reception by certain specified phones.
{% endhint %}

We highly recommend the [SMS Lite Configuration Worksheet](https://help.qtech.co.nz/qtech/cellular-remote-control/sms-lite/sms-lite-configuration-worksheet.md) is used to record the Site, I/O names, phone numbers and their escalation order.

## Name the site, inputs and outputs

We recommend renaming the Site Name and the Input and Output names, as these names are used in the text messages and can avoid confusion.

* **Use** alphanumeric characters – only use letters A to Z and numbers 1 to 9.
* **Do NOT** use spaces in the names – e.g. do not use "VSD RUN" or "PUMP SHED".
* **Do NOT** use names longer than 8 characters – keep them short, 4 characters is recommended.
* **Do NOT** use punctuation marks or special characters: do not use `< : ; . , ? / @ #`, emojis etc.
* **Do NOT** duplicate names, each name must be unique.
* Do NOT use reserved keywords in the name of an input, output or site. These include ON, OFF, NAME, PHONE, SITE, DEBOUNCE, DEFAULTS, OK, BUSY, PULSE, STATUS, BAL, STATS, INFO, INPUTS, OUTPUTS, ESCALATE, QUIET.

Example: `#12345 INP1:Name=Pump.`

## Add, change or remove phones

Configure up to 7 additional users to allow notification and control options, using the same process used to configure the Ph1 Master user. Local or international phone number formats can be used:

`#12345 Ph2:number=022987654.` or `#12345 Ph2:number=+6422987654.`

{% hint style="info" %}
**Firmware v4.09 and earlier:** Configure up to 3 additional users.
{% endhint %}

* **Replace a number:** If you wish to replace a number, send a new configuration message containing the position in the list (eg Ph2) and the new number. This number will now have all the previous persons escalations and control permissions.
* **Remove a number:** it is valid to specify an empty value: `#12345 Ph2:number=.`

For security, configuration messages must use the correct PIN number. Any phone can be used for these commands if the PIN in the message matches that printed on the SMS Lite. If the PIN is not correct messages will not be processed.

## Choose who gets alarms and who controls outputs

* Only Ph1 and Ph3 get INP1's alarms: `#12345 INP1:Phones=Ph1,Ph3.`
* Only Ph3 can control RLY1: `#12345 RLY1:Phones=Ph3.`
* No phone can control RLY1: `#12345 RLY1:Phones=.`

You can send a text containing `Inputs` or `Outputs` to check which escalations or control permissions are assigned.

## Debounce the inputs

This feature prevents the SMS Lite from sending multiple messages when connected to devices such as float switches, which can switch on and off several times before settling due to contact bounce. The trigger point / device that is connected to the SMS Lite must stay in that state for the 'debounce' time that is set, before the SMS Lite will send a text message alerting you of a status change.

`#12345 Site:Debounce=10sec.`

The delay is configurable, you can select one of the following options: 0, 5, 10, or 30 seconds, or 1, 5, 10, or 15 minutes. Only these values are allowed. The debounce value is applied to all inputs - you cannot specify different values for each input. To view the current debounce setting, use the `INPUTS` command. It is recommended that the debounce be configured as part of the initial setup before assigning names to inputs and outputs.

## Set the escalation time

{% hint style="info" %}
**Applies to:** firmware v4.10 and later. On earlier firmware, if there is no response after 10 minutes, the SMS Lite will send a text to the next programmed number.
{% endhint %}

By default, notifications are sent with a 10-minute delay between messages to each phone number configured for the input. The time delay can be configured as follows:

`#12345 Site:Escalate=1min.`

Allowable values are in the range 1 to 60 seconds (`1sec` – `60sec`) or 1 to 60 minutes (`1min` – `60min`). Values outside this range will be set to the minimum (or maximum) allowable value. Invalid values (e.g. `1day`), may result in the command not being processed or will set the time to the default value of 10 minutes. The abbreviations for the units (sec, min) must be written exactly as prescribed above. For example, `10s` will be accepted but will not change the escalation time to 10 seconds, the command will not be processed.

## Quiet mode: notify without asking for a reply

{% hint style="info" %}
**Applies to:** firmware v4.10 and later.
{% endhint %}

Normally an alarm is notified to each phone along with a message prompting the message recipient to reply to the alarm. However, you may want to simply notify that the event (e.g. an input turning on) has occurred without explicitly having to acknowledge the alarm, the message would be sent to all the phones associated with the input separated by the escalation delay time.

`#12345 Site:Quiet=on.` This will cause the event to be notified without the prompts. To use normal alarm escalation and acknowledgement behaviour, set quiet mode to OFF. The default value of quiet escalation mode after sending the DEFAULTS command is OFF.

## Send to all phones at once

{% hint style="info" %}
**Applies to:** firmware v4.10 and later.
{% endhint %}

Sometimes it is useful to send an event notification to all phones as quickly as possible with no reply required, as if the message is being broadcast to all phones all at once. To do this:

1. Make sure the input (or all inputs) are configured to notify all phones (check this using the `INPUTS` command).
2. Set the Escalation Time to 1sec (1 second): `#12345 Site:Escalate=1sec.`
3. Set the Quiet mode to ON: `#12345 Site:Quiet=on.`

This will notify an event to all 8 phones (if all phone slots have a phone number) all within 8 seconds.

## Reset to factory defaults

To clear all of the SMS Lite configuration settings and return them to their factory defaults, use the message:

`#12345 Defaults.`

This command will also clear all the programmed telephone numbers. After issuing this command you must re-register the Master User (Ph1) before proceeding. The full list of default values is on the [Workbench page](https://help.qtech.co.nz/qtech/cellular-remote-control/sms-lite/workbench.md).

## Before you change settings

After any configuration changes the SMS Lite will reinitialise all active alarm state information. Check there are no active alarms before reconfiguration as the process will be halted. Send `Status` to the SMS Lite to see the status of any of the inputs or outputs, this can help identify if the alarm escalation has been interrupted by a configuration change.

## If you get an error reply

If you get an error message such as a syntax error from the SMS Lite, check the previous message you sent. Key things to check are the PIN, object or item spelling, there are no spaces in the names, or the full stop may be missing. Correct the error and re-send.

## Videos

{% embed url="<https://www.youtube.com/watch?v=LBN5oNnXSPc>" %}
SMS Lite configuration
{% endembed %}
