If your device reports it, you should get it automatically.
hola, que dispositivo usas?
@Jose: MT-1
@Anton: yes my device's wire connected to ignition but it appear i am not getting the ignition on and off data in demo server. am I suppose to get this data in your demo server or not?
Yes.
I have connected ACC wire to ignition of the vehicle. How can I get the data in Traccar when the ignition is on and off?