Send Command to Teltonika device

Amiros 2 years ago

I would like to send a custom command through the Traccar interface to start or stop the engine. Could you please provide me with the hexadecimal value of these commands?

Anton Tananaev 2 years ago

Why hexadecimal? I'm pretty sure it expects text format.

Amiros 2 years ago

I've looked through the teltonika documentation and found a few commands such as 'getgps', 'getinfo'... are you sure you're talking about these commands?

Anton Tananaev 2 years ago

Don't know, but I'm sure it accepts text.

Amiros 2 years ago
Anton Tananaev 2 years ago

Looks correct.

Amiros 2 years ago

body of send command API:

{
    "id": 0,
    "attributes": {
        "data": "getinfo"
    },
    "deviceId": xxxx,
    "type": "custom",
    "textChannel": false,
    "description": null
}

response 200:

{
    "id": 0,
    "attributes": {
        "data": "getinfo"
    },
    "deviceId": xxxx,
    "type": "custom",
    "textChannel": false,
    "description": null
}
Tracker 2 years ago
Amiros 2 years ago

Joystick Thanks a lot