Traccar API: Battery level

Pekka4 years ago

Hi,

I have Minifinder Atto GPS tracker connected to Traccar and I'd like to get device's battery level from Traccar API. The device is sending it's battery level, I can see it from GUI. However, I cannot find how I could request it via API. It's not visible in reponse from /devices endpoint. Do I need to add attribute for it?

Anton Tananaev4 years ago

Not from the devices endpoint. It's a part of position attributes.

Pekka4 years ago

Not from the devices endpoint. It's a part of position attributes.

Indeed it is. How did I miss that? Thanks Anton.