SMS commands to devices

AKM14 days ago

Can Traccar send SMS commands to devices (like regular SMS messages)? If yes, how can I set it up and use it?

Anton Tananaev14 days ago

Yes, it can. You need to enable SMS first. Then you can tick the "text" checkbox on the command screen.

AKM4 days ago

After enable SMS, how can I communicate between device and platform for messaging, from save commands or where. Now I can only send for Account number. I want to send to device.

Anton Tananaev4 days ago

In the device popup there's the send command button. That's what you should use.

AKM4 days ago

In my device command function, I cannot use the saved command I added. It only shows ‘No option’ and displays an error (as shown in the figure). How can I fix this?
Screenshot 2025-09-29 120304.png

AKM4 days ago

Screenshot 2025-09-29 130425.png

Anton Tananaev3 days ago

This probably means your device hasn't sent any data yet.

AKM2 days ago

So, how can I fix this for real time work with save command and selected GPS device. Can you advise me?

Anton Tananaev2 days ago

You have to have your device connected first before you can send any commands.

AKM2 days ago

I already set save commands in device's connection and still no option. That device really worked on traccar platform for real time. What should I do next?

AKM2 days ago

There is some configuration setting need to change in my platform. What would be that?

What command did you save? What protocol are you using?

AKM18 hours ago

I saved an SMS-type command and on the platform, I am using HttpSmsClient.
For the device, I am using the TCP protocol.
Screenshot 2025-10-02 102226.png
Screenshot 2025-10-02 102306.png
Screenshot 2025-10-02 102334.png

Anton Tananaev18 hours ago

That is completely wrong. You should be using a custom command, not "Send SMS" command type.