Icono de batería en protocolo GT06

Ronald3 days ago

I have a GPS personal tracker that works with the GT06 protocol, but when it reports, the device sends the actual battery level and then disappears until it sends the data again later. The question is, is it possible to keep the battery level icon permanently displayed and update the values ​​when the GPS sends them? Is this possible with attributes only? Thanks.

Anton Tananaev3 days ago

You can use attribute copying.

Ronald3 days ago

Hi Anton. Thanks for responding. Could you explain how I use it? I mean, what would the expression be?.

Anton Tananaev3 days ago

Attribute copying doesn't have any expressions.

Hi Ronald, if you can, please post here how you can help me too.
Thank you very much.

Anton Tananaev2 days ago

Have you checked the documentation?

On traccar.xml:

<entry key='processing.copyAttributes.enable'>true</entry>
<entry key='processing.copyAttributes'>battery,batteryLevel</entry>

Dont forget to restart the server. :)