battery level trough forward.url

Cooper8 years ago

Is there any possibility how to pass battery level trough forward.url call? I can't see any reference on https://www.traccar.org/api-reference/
I am looking for something like:

<entry key='forward.url'>http://192.168.@.@/api/gpslogger?latitude={latitude}&longitude={longitude}&device={uniqueId}&accuracy=1&battery={battery}&speed={speed}&direction={course}&provider=Traccar&api_password=aaa</entry>

battery={battery}

Thank you

Anton Tananaev8 years ago

You can use "attributes" parameter to include all additional parameters in JSON format.