How show battery level

Tracking Faso10 months ago

@Anton I'll try with my three models and I'll get back to you

Tracking Faso10 months ago

@Cristian try on your side also to put the models I will do the same to see if it works without putting the attributes

Cristian10 months ago

in my version 5.9 of Traccar it did not work. I would have to try it in the latest version.

Anton Tananaev10 months ago

Remember that you still need to wait for the new data. It won't change what's already in the database.

Cristian10 months ago

apply the change on a gps that was reporting and in motion.

Tracking Faso10 months ago

@Anton Tananaev Adding the device model works well for me with the latest version of traccar. thanks for the help

netluca110 months ago

I'm sorry, so just enter the exact model?
type FMA120 or FM1100

netluca110 months ago

Congratulations @syztan Cristian, the icons you inserted are beautiful, not to mention the mini-dashboard next to the search.
Can you enlighten us on how to integrate them into traccar?

Cristian10 months ago

the icons can be obtained from here
https://mui.com/material-ui/material-icons/

and then you must modify the code in this file, as a reference I indicate you some lines, you only have to respect the code, you can add or replace part of the code.
https://github.com/traccar/traccar-web/blob/master/modern/src/main/DeviceRow.jsx#L7
https://github.com/traccar/traccar-web/blob/master/modern/src/main/DeviceRow.jsx#L108

Jérôme10 months ago

Hello, for information at home I have 6 FMB003...
Same version, everything the same... only 1 gave me his battery, I never understood why...
If you have a solution, I'm interested :)

Tracking Faso9 months ago

@Jérôme here is the solution https://www.traccar.org/forums/topic/how-show-battery-level/#post-95475 also you need to activate the battery level data in the i/o part of your device.

Jérôme9 months ago

Thanks for the feedback but still doesn't work for me.
My 6 devices are configured with the same I/O part and only 1 gives me the battery.

Same model and same version...