RTU5024 SMS Commands Tutorial

RTU5024 Gate Opener SMS Commands

RTU5024 SMS Commands TutorialRTU5024 is a GSM single relay controller which is very famous due to it’s low price . The controller comes in two different versions , One is for indoor use and the other version is for out door use . The indoor version have a some what good metal housing and the outdoor version have a plastic housing with seal to protect the inner parts from water damage . The package consist of the RTU5024 device ,  GSM Antenna and a card that have two QR codes printed on top of them . One QR code is for the user manual of RTU5024 gate opener and the other is for downloading the RTU5024 Gate Opener mobile app .You need a QR code scanner app/software  in order to scan and get the links for them . There are two methods that you can use to control the unit . Using SMS commands and by using the mobile app . In this tutorial lets find out how to use RTU5024 with SMS commands.In this article lets discuss how to control the gate opener by sending SMS messages. If you are interested in controlling RTU5024 with the mobile app . Please ,Checkout our RTU5024 mobile App tutorial .

RTU5024 Gate Opener Setup

You cannot use the gate opener right out of the box . There are few steps that need to be taken in order to use the RTU5024 gate opener . Here are the main things that you have to do .

Antenna Attachment

RTU5024 SMS Commands Tutorial - Antenna setupAs we have mentioned early the antenna of the RTU5024 gate opener comes detached .So , You have to attach it . Position and inset the GSM antenna’s male port to the female GSM port of the controller. Change the orientation of the antenna to the direction that you wants it to be.Hold the antenna orientation . Rotate the hex nut of the antenna  clock-wise while pushing it towards the gate openers GSM female port . Tighten the hex nut so that, The antenna firmly so that , there is no chance to loose the tightness.

SIM Insert

RTU5024 SMS Commands Tutorial - SIM InsertRemove the screw at the bottom of the controller . Remove the sim door . Unlock the sim lock by shifting the lock in the opposite to the direction (Lock direction) mentioned on the Sim lock . Turn the top part of the sim holder up . Insert or slide the sim inside that turned part of the sim holder (Make sure the sim orientation is correct) . Turn the sim holder part down. Then , slide it in the lock  direction that mentioned in the sim holder. Put the sim door back and put the sim door screw back.



Power Connection

RTU5024 SMS Commands Tutorial - Power connectionNow your RTU5024 gate opener is ready to use . The only thing missing is the input power to the unit . Use a 12Vdc power supply that capable of providing at least 1A current output . Unscrew the screws of the power connector of the unit . Identify the positive and the negative wires of the power supply (Use a multi meter if necessary ) and insert the positive wire to the positive terminal and negative wire to the negative terminal. Tighten each screw of the terminal . Power the unit up . Now you are ready to go .

GTU5024 Gate Opener SMS Commands

In order to setup or control the RTU5024 gate opener you have to send SMS commands . These SMS commands consists of  values and controller instructions . Every command starts with the password of the controller and a hash (#) which separates each parameter of the SMS command . However , If the correct SMS command received to the controller ,  a reply SMS will be sent from the controller to the number that send the command . There are two type of commands , One is setup commands and other is control commands. Let’s discuss them . Code section in red – Type as it is . Code section in green – Variables (Insert values instead).

RTU5024 Setup SMS commands

RTU5024 Setup SMS commands involves changing the controller settings such as . Setting Authorized numbers , Setting relay time , Setting password ..etc . Here are some of them and what they do . Type the Command without spaces , All in capital , No symbols except for question mark (?) and hash (#) which is used to separate each parameter of the command .

Adding Master Phone Number

Master phone number is the phone number located at 001 memory location of RTU5024 gate openers authorized phone number list . This phone number is the only phone number that will receive a SMS reply in the event of relay state change due to call in action (Relay state change by call in the controller’s SIM number) . Here is how to setup the master phone Number.


Password – Current password of the controller . TEL– controller instruction. . Phonenumber – Phone number that you wants to add as the master phone number (Type with the country code +xx or 00xx format).

Reply SMS – You will get a SMS from the controller like this – 001:Phonenumber . 001 being the memory location of the RTU5024 Gate Opener.

Adding Authorized Phone Number

Authorized phone number is a phone number that allowed to change the RTU5024 gate openers relay by call in action. However , This depends on the settings you selected on the access control command section.


Memlocation – Memory location to save the number (a number between 001 to 200 , If you selected a memory location that already occupied by a number that number will be replaced with the new number )  . Phonenumber – Phone number that you wants to allow to access the call in action feature .

Reply SMS – You will get a SMS from the controller like this – Memlocation:Phonenumber

Remove Phone Number

You can remove a phone number in the Authorized number list . But , The deletion is by the memory location not by the phone number . So , you might have to use the Check Number command to check the number at the memory location before using this command .


Memlocation – Memory location of the number to be removed (a number between 001 to 200 )  .

Reply SMS – You will get a feedback SMS – Memlocation:Empty .

Set a Password

You can set the RTU5024 gate openers password using this command . The default password is 1234. The password should be a number with four digits.


Oldpassword – Current password of the controller . Newpass – Password that you want to set as the New password. PWD – Controller instruction .

Reply SMS – You will get a feedback SMS – Password:Newpass .

Set Relay Time

You can set the relay ON time in a narrow range (01 sec to 19 sec) . This will turn ON the relay for a set amount of time and turns OFF the relay .But ,You can type 00 as the Time if you wants the relay to be ON until it changed by SMS command or call in relay action.


Time – Current password of the controller (00- 19) . GOT – Controller instruction .

Reply SMS – You will get a reply SMS – Relay On Time:Time .XX – Time in seconds

Access Control

This command defines what numbers can use the call in relay action function of the RTU5024 controller . There are mainly two types of numbers , One is Authorized numbers and other is All numbers (not recommended) . If you selected authorized numbers .Then , Only the numbers in the authorized number list can access the call in relay action feature . But , If you selected all numbers access then any number that call your controller will cause relay state to change.

All number access


AA – a Controller instruction .

Reply SMS –  Allow All Numbers can access it.

Authorized number access


AU – Controller instruction .

Reply SMS –  Allow User Numbers can access it Only.

SMS Confirmation

SMS confirmation is the message you will get to the master phone number in the event of relay state change due to call in relay action. If you enable it with a SMS command you will get a SMS every time the relay change due to call in action. But , If you disable it you wont get a SMS message.



R – a Controller instruction .

Reply SMS –  Relay Action Return SMS ON.



N – Controller instruction .

Reply SMS –  Relay Action Return SMS OFF.


You can reset the controller to it’s factory settings by sending the Reset SMS command. This will reset the password and other settings of the controller to it’s original values.


RESET – Controller instruction .

Reply SMS –  RESET success ! Please Reboot Device.,

Turn Relay ON

You can turn the Relay ON or OFF using SMS commands . Simply send the given commands .You will get a feedback message stating the relay state of the RTU5024 gate opener.

Relay ON


ON – a Controller instruction .

Reply SMS –  The Relay Is ON.

Relay OFF


OFF – Controller instruction.

Reply SMS –  The Relay Is OFF.

RTU5024 Status SMS commands

These are the commands that can be used to check the status or values saved in the RTU5024 Gate opener. However , These settings doesn’t involves changing any setting of the gate Opener.

Get Phone Number

This command will return the phone number that saved in given memory location . However , If the memory location wasn’t occupied you will get a reply like this – “Memorylocation:Empty”.


TEL , ? – Controller instructions . Memorylocation – Memory location that you wants to check the phone number at .

Reply SMS –  Memorylocation:Phonenumber.

Get Relay ON Time

If you wants to know the current relay ON time settings , Send this command. In return you will get the relay ON time. But , If you get the value “00” which means that the relay is set to always ON until otherwise changed by a SMS or call in action .


GOT, ? – Controller instructions .

Reply SMS –  Relay On Time:Time .XX – Time in seconds

Get Signal Quality

This command will return the GSM Signal quality value of the controller . A value between 00 to 30 (00 being weak signal and 30 being good) . However , GSM value over 14 will be enough to communicate with the RTU5024 controller.


CSQ , ? – Controller instructions .

Reply SMS – Singnal Quality :XX . XX – signal Quality value.

Conclusion – RTU5024 SMS Commands

In conclusionRTU5024 gate opener can be controlled both using SMS commands and mobile app . You can change the settings inside the controller using the both methods . But , SMS commands will give you some options that not available with the mobile app . Although , Sending SMS commands are hard but it gives you full control of the features . This method also useful when it comes to non smart phone users . Try both methods and decide what method fits you .

Frequently Asked Questions

  • Are these commands work on any GSM controller device ?

    No , They are not .These are the most common controller commands . But , different manufactures uses different set of commands . This tutorial can be used as basics for such devices . Please , Ask for the user manual from the seller and refer to it for the controller commands.

  • Can I use this device in Australia  ?

    No , You can’t . Since , Non of Australian mobile providers using 2G technology .This device will not works on such countries . If you are living in a country that doesn’t have any 2G signal coverage , You should buy a 3G or 4G controller instead . I.O.T controllers also can be used in such cases.

  • Does G.S.M Frequency matters ?

    Yes , Before you buying this devices . Google your service providers G.S.M frequency band . If the device doesn’t support that frequency band even you have 2G service providers , The device will not respond to your commands . You need to match the frequency bands .

  • How to add custom commands ?

    This controllers have limited amount of commands programmed into them .Unfortunately , You cannot add custom commands .But ,If you can disassemble the controller and look inside it , You will find a G.S.M module inside . Google the model number of that module and look for the “AT commands” of that module . You can program your own Microcontroller to communicate with this G.S.M module and create your own set of commands and replies . Download the datasheet of that G.S.M module for more information .

Disclaimer – The content of this article may change over the time . Since , Different manufactures use different command codes ,The commands that we used in this article may or may not work on your device. Please , Read the manual of the device before proceeding . This tutorial involves working with high voltages that may harm you and others around you .Take the necessary precautions before working with mains voltages . If you are inexperienced , please follow this tutorial under someones (person with experience) supervision .We are not responsible for any damages caused by following this tutorial.  This tutorial does not provide any hacking or illegal activity.  .
Author : Senel Nanayakkara
Published on : 05|04|2021