Rename Attribute In State Panel

wolfbg6 years ago

In old versions like Traccar 3.14 there was button called "Attribute Alias". With that button was easy to rename some value sent from device to what I like. For example I have "Fuel1" and "Temp1" .
How can I rename those in Traccar 3.17?

Anton Tananaev6 years ago

You can use computed attributes.

wolfbg6 years ago

I have tried and also have read all the threads I could find but to no avail. That is why I opened a new topic. I could not figure out the expression I should use. Please help!

Anton Tananaev6 years ago

If you don't want to modify original value just use "fuel1" or "temp1" as an expression.

wolfbg6 years ago

I don't want to modify original value. When I rename "Fuel1" with "Tank" it duplicates the values in state panel. Now I have Fuel1 88.65 and Tank 88.65

Anton Tananaev6 years ago

Now you can hide the original value. There is an attribute in user settings for that.

wolfbg6 years ago

Thanks

wolfbg6 years ago

Is it possible to add measurement unit like "liter" after Tank 88.65 - Tank 88.65 lit

Anton Tananaev6 years ago

Yes, if you use correct attribute.