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

# Commands

Text commands for status, statistics and switching outputs.

The QTech SMS Controller uses SMS/text messages to provide multiple people with alarms, status conditions and the ability to control devices (and receive a confirmation SMS) – all from your smart phone. To switch outputs, your number must have **Allow Control** ticked in the address book.

{% hint style="info" %}
**Applies to:** the SMS Controller (PD8611-4G) with firmware v3.03.
{% endhint %}

## Information

| Text                             | Reply                                                                                                                                                                                        |
| -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `status`                         | The SMSC replies with all the I/O values/states.                                                                                                                                             |
| `stats`                          | The SMSC replies with how many SMS’s have been sent, how many SMS send attempts have failed due to low signal strength (RSSI), and when the SMSC was last reset by cycling the power supply. |
| `reset stats`                    | The SMSC will reset the status information.                                                                                                                                                  |
| Any other text, even a blank one | The SMSC will confirm the acceptable message formats for the control abilities.                                                                                                              |

## Control outputs

Only people with **Allow Control** ticked in the address book can control outputs. Use the output's name as set in SMS Messenger Workbench.

| Text                 | What it does                         |
| -------------------- | ------------------------------------ |
| `Turn on [name]`     | Turns the digital output on          |
| `Turn off [name]`    | Turns the digital output off         |
| `Toggle [name]`      |                                      |
| `Pulse [name]`       | A 1 second output                    |
| `Set [name] [value]` | Sets the analogue output to \[value] |

For example, “pump” would be a good suggestion as the control text would be `turn on pump`.

The RAW range for the Analogue outputs is 0 (4mA)-1023 (20mA). When Scaling is switched OFF, RAW Values are to be used to set Outputs. When Scaling is switched ON, Values within the Range specified are to be used to set Outputs. See [Configure with SMS Messenger Workbench](https://help.qtech.co.nz/qtech/cellular-remote-control/sms-controller/workbench.md).

If **Reply with confirmation of control** is set to Yes, an SMS will be sent from the controller to confirm that the command has been received. Each output's **Recognised SMS Commands** are the commands to be used when setting the output.

{% hint style="info" %}
Consider saving frequently used texts as a template in your cell phone.
{% endhint %}
