SafeWayHelp Center

Send a command to a device and see its reply

Send Command sends a saved command or your own message to one or many GPS devices over the network. The device's reply appears in the Command History panel and in the Send Command List. You can also keep a command in a queue so it is delivered when an offline device comes back.

Who can do this: Everyone
Sign in to do this
When to use this. When SafeWay support asks you to send a command, to ask a device for its status or location, or to change a device setting for many devices at once.

Before you start

  • You can send commands only to devices on your account.
  • Commands are specific to the device type. Use a saved command (see Command) or the exact text SafeWay support gave you; a wrong command can change how the device works.
  • For several devices at once, you can keep an Excel or CSV file with the IMEI numbers in a column named IMEI (or in the first column).

Step by step

  1. 1

    Open Send Command

    Open Send Command (or SendCommand) from the menu. The SendCommand form is on the left, the Command History panel on the right and the Send Command List below.

    • From Search & Diagnose you can also open this page with the device already chosen and its history shown.
  2. 2

    Pick the devices 1

    Click Devices and type at least 4 digits of the IMEI or the vehicle number. Pick a device; the list stays open so you can pick more. Each picked device shows as a tag; press its x to remove it.

  3. 3

    Or load devices from a file 2

    Under Or load devices from Excel / CSV, choose a .xlsx, .xls or .csv file and press Load. The devices found are added to Devices and a line says how many were loaded. IMEIs that are not on your account are listed in red after Not found / not accessible:.

  4. 4

    Choose the command 3

    Choose a CommandType (WEB or SMS) and pick a saved command in Command. After you pick a device, the Command list shows only the commands saved for that device's type. If there is no saved command, leave Command empty and type the command text in Message.

  5. 5

    Keep it in the queue if the device may be offline (optional) 4

    Switch on Keep in queue if the device is offline if the command must reach a device that is not connected now. Then type a number in Keep in queue for and choose Hours or Days. After that time an undelivered command expires and is not sent.

    • The longest queue time is 90 days.
    • When it is off (the default), a command to an offline device is not kept.
  6. 6

    Send 5

    Press Send. The button shows Queuing ... device(s)..., then a message such as 2 command(s) queued appears above the form. Devices that failed are listed under the message with the reason. Each queued command is added to the Send Command List as Pending, or Queued until a date if you used the queue.

    • Cancel clears the devices, command, message, file and queue settings.
  7. 7

    Wait for the reply 6

    The Command History panel shows the conversation for the selected device: your command on the right and the device's answer on the left with its time. While waiting it shows Waiting for device response.... When the reply arrives it appears in the panel and in the Response column of the list.

    • If the panel has a Refresh button, press it to load the latest replies. Some sites also refresh it every few seconds while a reply is awaited.
    • If the device does not answer within about 10 minutes the command shows No response.
    • To see another device's history, press the chat icon in the Action column of its row.
  8. 8

    Check earlier commands 7

    The Send Command List shows S_No, IMEINumber, Command, Response and Action. It holds the latest 500 commands you sent yourself; an Admin login sees the latest 500 commands sent by everyone. Type in Search to filter, or use Copy, CSV, PDF, Print or Excel.

Send Command
Devices (search and pick one or many)TN 01 AB 1234 (86xxxxxxxxxxxxx)1Or load devices from Excel / CSVChoose file2LoadCommandTypeWEB3CommandSelect CommandMessage (used when no command is selected)Keep in queue if the device is offline4Keep in queue for24 Days
Send5Cancel
6
  • Command History
  • You: command text - 10:15 AM
  • Device: reply text - 10:15 AM
  • Waiting for device response...
7
CopyCSVPDFPrintExcelSearchSearch
S_NoIMEINumberCommandResponseActionAction
View history (chat icon)
View history (chat icon)
View history (chat icon)
The form on the left, the Command History panel on the right, and the list below.

A drawing of the page. Numbers match the steps; grey bars stand for your own data.

Fields explained

FieldWhat to enter or choose
DevicesRequired. One or more devices. Type at least 4 digits of the IMEI or vehicle number to search.
Or load devices from Excel / CSVOptional. A .xlsx, .xls or .csv file with IMEIs in a column named IMEI, or in the first column.
CommandTypeWEB (over the network) or SMS.
CommandA saved command for the device type. Either a Command or a Message is required.
MessageYour own command text. Used only when no Command is selected.
Keep in queue if the device is offline / Keep in queue forOptional. Keeps the command until the device reconnects, for 1 hour up to 90 days. Off by default.
When it worked. A message shows how many commands were queued, each device gets a row in the Send Command List, and the device's reply appears in the Command History panel and the Response column.

Tips

  • Send to one device first and check the reply before sending the same command to many devices.
  • If a device shows No response, check on Log whether it is sending data at all; a device that is off or out of network cannot answer.

Problems and fixes

It says Please select at least one device.
Pick at least one device in Devices, or load a file and press Load, before pressing Send.
It says Select a command or enter a message.
Choose a saved Command or type the command text in Message.
It says Enter how long the command should stay in the queue. or The queue time cannot exceed 90 days.
With the queue switched on, type a number of 1 or more in Keep in queue for, and keep the total at 90 days or less.
The file load says None of the IMEIs in the file matched a device you can access.
Check that the IMEIs are in a column named IMEI (or the first column), have no extra characters, and belong to your account.
A device shows Device not found or not accessible. or Could not queue command (Kafka API unreachable).
The first means the device is not on your account. The second means the server could not pass on the command right now; try again in a few minutes or use the queue option.
The reply stays at No response.
The device did not answer within about 10 minutes. It may be offline, or the command may not be supported by this device type. Check the device on Log and ask SafeWay support for the right command.