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?
WHy do you need to invent the bicycle if there are already commands interface including custom commands?
Porque será bem simples e intuitivo pro usuário apenas clicar no botão, do que ficar procurando comandos salvos
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
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?