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

# Configure and update with Workbench

Configure settings and update the firmware from a Windows PC over USB.

The settings made in Workbench permit end users, integrators and resellers to personalise the SMS Lite quickly, update the firmware and avoid the need to configure them via SMS messages.

{% hint style="info" %}
**Applies to:** firmware v4.10 or later. Rev C (C1) boards on V4.10 can use the USB interface for Workbench configuration. The firmware upgrade process is for SMS Lites with Rev D hardware with firmware v4.10 or later. SMS Lite rev D hardware with firmware v4.09 or earlier is not supported by Workbench until it has been upgraded by QTech. See [Which version do I have?](https://help.qtech.co.nz/qtech/cellular-remote-control/sms-lite/which-version.md)
{% endhint %}

## What you need

* QTech Workbench v2.14 or later, on a PC running Windows 10 or later
* A USB cable, Type A to Mini-B
* A DC power supply for the SMS Lite

## Install Workbench

1. Download Workbench from the [QTech website](https://qtech.co.nz/product/workbench/).
2. Workbench uses the Microsoft .NET V4.6 Framework which must be installed or configured on your PC before installing Workbench.
3. Run the installer and accept the software licensing agreement to install Workbench.

{% hint style="warning" %}
Install Workbench **before** connecting to an SMS Lite. When connecting to the SMS Lite for the first-time with Workbench, the Microsoft Windows operating system will attempt to install the correct USB driver. Ensure that the device driver is completely installed before attempting to configure the SMS Lite. During installation of Workbench, the USB driver will also create a virtual com port assignment for serial communications to the SMS Lite.
{% endhint %}

## Connect

1. Connect the DC power supply to the SMS Lite and wait for about 5 seconds for it to power up.
2. Connect the USB cable to the SMS Lite and launch Workbench.
3. From the top Workbench menu click **Device Type**, select **SMS Lite** and then press the **Connect** button.

Once connected the **Online** indicator changes from red to green, you can now configure the device.

![Workbench connected to an SMS Lite, showing the Overview settings](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FTz5uZgiqnjIYePGLyWhB%2Fworkbench-connected.png?alt=media)

### If it won't connect

* The connection to Workbench will time out if not connected within 30s after power up. If connection to Workbench is difficult, try closing the app, removing the USB cable, repower the SMS Lite, reinsert the cable and launch Workbench again to connect.
* If communications cannot be established at all check that the com port that Workbench is trying to open, matches the com port displayed in the Windows device manager.
* Try uninstalling the USB driver and com port, unplug the device and then re-insert the plug and allow the operating system to fully install a new driver.

## Change settings

Settings are organised in groups or categories. Click the category on the left-hand side menu tree. The buttons at the bottom of the main window have these functions:

| Button           | What it does                                     |
| ---------------- | ------------------------------------------------ |
| Read from Device | Returns the current device settings              |
| Write to Device  | Saves new configuration settings to the device.  |
| Factory Defaults | Restores the device to factory default settings. |

{% hint style="warning" %}
Remember to **Write to Device** when you have finished configuring the SMS Lite.
{% endhint %}

The **Overview** category lists parameters that provide common device settings adjustable by the user.

| Setting                 | What it does                                                                                                                                                                                                                                                                                         |            |
| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- |
| Firmware version        | Configured using the firmware upgrade process, for reference purposes when requesting support.                                                                                                                                                                                                       | Read only  |
| MAC address             | Module Identifier unique to the device radio module, not configurable by user, for reference and servicing purposes only                                                                                                                                                                             | Read only  |
| Device PIN              | Unique Identifier for SMS Lite communications                                                                                                                                                                                                                                                        | Read only  |
| Enable Power On Message | If PH1 (the master phone number) is programmed with a valid phone number then on power up the device will send a message to PH1 indicating the device has restarted. This is useful for detecting a return from a power outage                                                                       | Read/write |
| Enable Quiet Escalation | If quiet escalation is selected, message recipients (listed in the phone list) will not be told that the alarm escalation is occurring or told that they can acknowledge (ACK) or pass on (BUSY) the message. This is useful for simulating a broadcast message that does not require acknowledgment | Read/write |
| Escalation Time Delay   | This controls the rate at which messages are sent to each member of the phone list who will be notified when an input changes state. Valid range is 1-60. Event escalations or alarm notifications can be separated in seconds (sec) or minutes (min)                                                | Read/write |

For normal alarm escalation use a longer escalation time (more than 5 minutes) and turn Quiet escalation to no (OFF). This will allow alarms to propagate to phones in the phone list and give users time to acknowledge the alarms. To emulate alarms going out to all phones (associated with an input) at once set the escalation time delay to 1 second and turn quiet escalation on (yes).

## Factory defaults

Clicking the **Factory Defaults** button in Workbench will revert the device to the default settings. The device will be rebooted automatically and be disconnected from Workbench. When **Connect** is clicked the new (default) values will be correctly loaded (read) from the device. Sending the SMS `Defaults` command message to the device will also cause it to revert to its factory settings.

| Setting                | Default                                                 | Change it with            |
| ---------------------- | ------------------------------------------------------- | ------------------------- |
| Site name              | `SMS-Lite`                                              | Text command              |
| Input and output names | `INP1` to `INP4`, `RLY1` and `RLY2`                     | Text command              |
| Phone numbers          | Erased (blank). Reprogramme PH1 after setting defaults. | Text command              |
| Escalation time        | 10 minutes                                              | Workbench or text command |
| Quiet escalation       | Off                                                     | Workbench or text command |
| Debounce time          | 0 seconds                                               | Text command              |
| Power-on message       | On                                                      | Workbench                 |
| Maximum phones         | 8                                                       | Fixed                     |
| Compact message format | On                                                      | Fixed                     |

## Update the firmware

{% hint style="info" %}
**Applies to:** SMS Lites with Rev D hardware with firmware v4.10 or later. It is recommended that you confirm that you can connect to Workbench normally and have the USB drivers installed before you attempt to do a Firmware upgrade.
{% endhint %}

Follow these steps to upgrade the firmware on the device. Ensure the new firmware version is stored in a folder on your PC first.

![The Workbench firmware upgrade screen](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FmqChqFu51wt0UAfwZ38W%2Fworkbench-firmware-upgrade.png?alt=media)

1. Turn the power off the device.
2. Insert the USB plug into the connector.
3. Start Workbench.
4. Choose device type **SMS Lite**, then click **Firmware Upgrade (RevD)**.
5. Select the firmware file (`.bin`) from a folder on your PC.
6. Click **Start**.
7. Plug in the Power and wait. It may take a small time to start programming.
8. The programming status will be shown in a window on the screen.
9. On completion repower the device.
10. Remove the USB cable or continue after the device has restarted to go on to configuring the device (click the **Connect** button on the screen in Workbench to reconnect).
