Send Command to Teltonika device

Amiros5 months 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 Tananaev5 months ago

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

Amiros5 months 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 Tananaev5 months ago

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

Amiros5 months ago
Anton Tananaev5 months ago

Looks correct.

Amiros5 months 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
}
Joystick5 months ago
Amiros5 months ago

Joystick Thanks a lot