How show battery level

Tracking Faso9 months ago

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

Tracking Faso9 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

Cristian9 months ago

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

Anton Tananaev9 months ago

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

Cristian9 months ago

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

Tracking Faso9 months ago

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

netluca19 months ago

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

netluca19 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?

Cristian9 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ôme9 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...