# 11 SMS sender ### General SMS sender is a service that lets users configure WCC Lite to send SMS on a set tag triggers.

SMS sender functionality is available since firmware version v1.5.4, of WCC Lite.

### Configuring SMS sender To configure WCC Lite to use SMS sender and user must fill in the needed parameters in Excel configuration. These parameters are shown in the tables below. *SMS sender parameters for Devices tab:*
**Parameter** **Type** **Description** **Required **Default value** (when not specified) **Range**
Min Max
namestringUser-friendly device nameYes
descriptionstringDescription of the deviceNo
device\_aliasstringDevice alias to be used in configurationYes
enablebooleanEnabling/disabling of a deviceNo101
protocolstringSelection of protocolYes **SMS sender**
host
array
List of phone numbers to send SMS to, separated by space.Yes
[![image-1632837719431.png](https://wiki.elseta.com/uploads/images/gallery/2021-09/scaled-1680-/image-1632837719431.png)](https://wiki.elseta.com/uploads/images/gallery/2021-09/image-1632837719431.png) *SMS sender parameters for the Signals tab:*
**Parameter** **Type** **Description** **Required **Default value** (when not specified) **Range**
Min Max
signal\_namestringUser-friendly signal nameYes
device\_aliasstringDevice alias from a Devices tabYes
signal\_aliasstringUnique signal name to be usedYes
source\_device\_aliasstringdevice\_alias of the source deviceNo
source\_signal\_aliasstringsource\_alias of the source signalNo
enablebooleanEnabling/disabling of a signalNo101
log integerEnable logging in the event log No00
job\_todostringSpecific SMS sender tag typeYes send-sms, device-control, device-status
tag\_job\_todostringSMS sender tag for **send-sms**: *text message* Yes
triggerstringTrigger expression for the SMS to be sentNo (Only for send\_sms)value!=0
To configure the SMS sender, 3 types of signals are mandatory. These values should be written inside the *job\_todo* field for each signal: - **send-sms** - This signal takes value from the provided *source\_signal\_alias* field and checks if the value evaluates as true against the *trigger* field. If it is true, the SMS sender will send the text from the *tag\_job\_todo* field to the specified phone numbers. - **device-control** - This signal controls if the SMS sender is enabled or disabled. Its *tag\_job\_todo* parameter should be set to enable. It takes value from the *source\_signal\_alias* field and evaluates it against the *trigger* field. If the *trigger* is evaluated as true, the SMS sender will be enabled, otherwise, it will disable the SMS sender. - **device-status** - This signal indicates if the service is enabled or not. Its *tag\_job\_todo* parameter should be set to *enabled.* Trigger expressions can be configured with basic comparison operators: - Less than **<** - Greater than **>** - Less than or equal to **<=** - Greater than or equal to **>=** - Equal **==** - Not equal **!=** *Example configuration of SMS sender (Signals tab):* [![image-1689241823615.png](https://wiki.elseta.com/uploads/images/gallery/2023-07/scaled-1680-/image-1689241823615.png)](https://wiki.elseta.com/uploads/images/gallery/2023-07/image-1689241823615.png) Configuration --> [Download](https://wiki.elseta.com/attachments/109)