Help Using Computed Attributes

Luis S.8 days ago

Hi everyone,
I'm looking for someone who understands how to use computed attributes in Traccar and can explain them clearly with a real-world example.

I’ve read the documentation, but I’d really appreciate a practical explanation or use case to better understand how to configure and apply them correctly.

Thanks in advance!

Anton Tananaev8 days ago

What's wrong with the examples in the documentation?

Luis S.7 days ago

I used this computed attribute, but it's still showing an error.
Captura de pantalla 2025-08-06 a la(s) 1.44.35 p.m..png
Captura de pantalla 2025-08-06 a la(s) 1.44.48 p.m..png

Anton Tananaev7 days ago

Are you trying to remove tampering or keep it?

Luis S.7 days ago

Yes, I’m trying to remove the tampering alarm

Anton Tananaev7 days ago

Your expression does completely opposite. You should do something like this:

alarm == 'tampering" ? null : alarm
Luis S.6 days ago

After correcting the computed attribute expression, how do I link it to the device?

Anton Tananaev6 days ago

The same way you link anything else.

Luis S.6 days ago

Thank you! I had to restart the server because it wasn't showing up.