Ignition Color Error Traccar 5.9

gLeWa year ago

Hello, I have a problem, after the Traccar 5.9 update, the icons of the vehicles are not seen when I have a Computed Attributes - Color - ignition ? "positive" : "negative"
https://prnt.sc/IObN0yWgFTlL

I did several tests
With tracar 5.8 it works fine
Traccar Server 5.9 and App 5.8 look good
Tracar Server and App 5.9 are not seen.

When I remove the Computed Attribute from the group of vehicles, they are seen again, but always in green and they do not change when the ignition is off.

https://prnt.sc/ca0s1bEAh_Zz
This vehicle dont have assigned the Computed Attribute Color

https://prnt.sc/vecg9udvU_k4
This Vehicule have assigned the Computed Attribute Color

Anton Tananaeva year ago

The color names have changed to match the theme:

  • info
  • success
  • error
  • neutral
gLeWa year ago

Hi Anton thanks for the fast reply, im trying to search on the documentation but i can't find.

Im not a programmer, so now we can have 4 different colors??

ignition ? "positive" : "negative"

info = ????
success = Ingition On ???
error = ???
neutral ????

I need to change to
ignition ? "success " : "neutral " ??

Thanks in advance

Anton Tananaeva year ago

Have you tried it?

gLeWa year ago

info = Color Blue
success = Green
error = Red
neutral = Red

Error and Neutral give both color red.

Also i try to put all the 4 toughener and doesn't work, always green

ignition ? "info" : "success" : "error" : "neutral"

So i can use only 2??? and what the difference between Error and Neutral

gLeWa year ago

Sorry

Error = Red
Neutral = Grey

We can uso only 2 colors??

Are a way to use a color for when the ignition its on but the car its stopped for more than 5 minutes for example??

Last question are any chance to have the same color of ignition in this area
https://prnt.sc/buRhFOywKc8G