---
title: "Device output control"
canonical: "https://docs.xirgoglobal.com/space/SD/27152103/Device+output+control"
format: markdown
---
There are a couple of options for how You can control the output of an SDK device.

### Control of the output using an SMS or GPRS command. (Without using a script)

First, You have to set up the device settings template.

In the settings template, open Hardware → Out1 → OUT1 settings

On the right side of the settings template, select: “Set on S1”

Save the settings template.

![image-20260113-091211.png](media://aca84eb7-2b15-4ab9-ad68-34ed551cde3f)


Once it’s configured in such a way, You will be able to control the output using an SMS message or GPRS command.

SMS message example:

Output **activation**: bestpassword S1=1

Output **deactivation**: bestpassword S1=0

---

### Control of the output via SCRIPT using an SMS or GPRS command.

First, assign the XIRGO_SCEN_COMMON_WLT_V9.3 script to the SDK device.


![image-20260113-091400.png](media://0a8f1625-7f93-4cce-aed0-8d63aaa269c8)


A new branch will appear after the selection of the script.  
**Control OUT1** of the script provides settings to control output 1. Set two conditions when the output is going to be on and off.

![image-20260113-091502.png](media://fe70a231-8df1-4f3d-9e89-8ae8fd7590ac)

Configure the SMS output settings to enable and disable static signal.

![image-20260113-091552.png](media://f1bc33c0-d83d-4ef7-90ce-251a7530dfa2)


Configure static signal to be controlled with SMS. After the SMS “On” is sent, static signal will be enabled even after device restart.


![image-20260113-091712.png](media://40373962-15fa-4952-ada2-3f747420ceb6)


![image-20260113-091745.png](media://bf53249f-df2e-4d01-b5a3-7f4d10b053a8)


  
Enable the **Script access** in the device's output controls.

![image-20260113-091829.png](media://643c00eb-9f73-40a9-8f3b-354f901dbcc1)


In order to monitor the Output state on the telemetry server, sensors that were chosen for each parameter must be added to **Data recording** section  
If you are using a settings template that gives you an option to use **simple **data recording, enable o values as shown in the example below.

![image-20260113-091929.png](media://384cb94c-dbec-43f1-a43d-e69077296351)

  
The values will be sent to your monitoring platform on the same sensor number you defined in the data recording packet.