No, it's not possible to send command or do any other action using computed attributes. They are only for calculating attribute values.
Ok, thanks for answering, is it possible for the development team to do it?
Anything is possible. If you need some customisation send an email to support address to discuss it.
I am not able to access array elements in the computed attribute expression.
it says org.traccar.handler.ComputedAttributesHandler.computeAttribute:142@2:6 undefined property '0' - Property (ComputedAttributesHandler:143 < AttributeResource:63 < ... < OverrideFilter:49 < ...)
Here it the expression,var list = [1, 2, 3, 4, 5]; list[0]
Is there a reason you're asking it on a 6 year old unrelated thread?
Hello,
Please, I need you help me
I want to know if it is possible with a computed attribute I can have a custom command sent to the gps example:
If the device entered the geofence send custom command.
And how would I do this?
Thanks