help with "engine off" function

4574789554752 months ago

I created a button on the popup card, and I wanted to assign it to turning off the vehicle's engine, but I couldn't find it in the code, can anyone tell me the way, or send me the part of the code responsible for this function?

Kaldek2 months ago

What it sounds like you are trying to do here is send a command to a GPS tracker to turn off the engine of the vehicle where the tracker is fitted. Is that right?

Sviatoslav2 months ago

WHy do you need to invent the bicycle if there are already commands interface including custom commands?

4574789554752 months ago

Porque será bem simples e intuitivo pro usuário apenas clicar no botão, do que ficar procurando comandos salvos

Kaldek2 months ago

Traccar does not yet support that. It is however Open Source and you can alter the code to do that. You could also have a separate application or website interface with the Traccar API to send a command.

https://www.traccar.org/api-reference/#tag/Commands/paths/~1commands~1send/post

Sviatoslav2 months ago