battery level trough forward.url

Cooper 9 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}&amp;longitude={longitude}&amp;device={uniqueId}&amp;accuracy=1&amp;battery={battery}&amp;speed={speed}&amp;direction={course}&amp;provider=Traccar&amp;api_password=aaa&lt;/entry>

battery={battery}

Thank you

Anton Tananaev 9 years ago

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