Ignore specific alarm

I am try alarm ? (alarm != 'poweron' ? alarm : null) : null in attributes calculated with attibutes value = ignition, alarm, event.

:s

Jose B6 years ago

Atention to write : powerOn ( not poweron)

Still, does not work

I've tried both.
Still, does not work.

when running de test, the system return Message: "No Content"

i see in other page this parameters.. i go test now!

<entry key='filter.skipAttributes'>result</entry>
<entry key='filter.skipAlarm'>true</entry> Ignore alarms - true or false

Hello,
I AM test If
Event

"event == "powerOn" ? null : null"

It is okay to me!

Hello,
I tested the event

"event ==" powerOn "? null: null"

and it worked for me!

Jose B6 years ago

hello,

For me Alarm (not event) PowerOn, powerOff and shock still does not work

2018-06-13 11:54:14  WARN: org.traccar.processing.ComputedAttributesHandler.computeAttribute@86![0,5]: 'alarm == 'powerOn'? null : alarm;' undefined variable alarm - Variable (... < ComputedAttributesHandler:86 < *:97 < BaseDataHandler:29 < ... < GeocoderHandler:69 < ...)

:(

Jose B6 years ago

Same error until today - many tests. I gave up now.
JB

Same problem.. no success until now. I need a mail notification for overspeed and powercut only.

hello, it did not really work for me.
I made filter rules directly on email hosting, to ignore emails with powerOn and powerOff

My Version: 3.7

Jose B6 years ago

Chrystian, This is a workaround: this solution does not prevent increase of database and [also] does not prevent the wasting of computer resources.

JB

So, we are need a solution for this problem.