If you want to add new alarm types, you have to define them in the web app.
Thanks for your reply! I have a few more questions regarding custom alarm types in Traccar 6.6.
In previous versions (e.g., 5.x), Computed Attributes could directly trigger alarms without manually defining them in the web app. What changed in 6.6 that now requires manual definition?
If I have 100 custom alarm rules, do I need to manually define all of them in the web app, or is there a way to dynamically generate them like before?
Can you point me to the exact changes in the Traccar codebase (compared to 5.x) where Computed Attributes handling was modified for alarms?
I want to find a way to make custom alarm notifications work efficiently in 6.6 without manually adding too many rules. Your insights would be greatly appreciated!
Thanks in advance.
I can't point you to the exact changes, but you can probably dig through GitHub history to find the right commits.
Thanks .
Hi, everyone, i hope you guys are doing well.
I got a problems since i upgrade my Traccar version from 5.X to 6.6.In the previous version i have many Own notifications and it's woring profect such like:
coolantTemp ? (coolantTemp > 80? "CoolantMoreThan100" : null) : null
bleTemp1 ? (bleTemp1 < -5? "Temp Lower than -5" : null) : null
bleTemp1 ? (bleTemp1 > 60? "Temp More than 60" : null) : null
fuel ? (fuel < 20 ? "Tank Fuel Less Than 20L" : null) : null
// Etc..There are all in Settings-Computed Attributes (Type=Alarm)
But,the new version V6.6 does't Expression , i searched on forum before i asked . I found the
traccar/src/main/java/org/traccar/model/Position.java
using the Pre-Alarm only, So how can i use my Own content notifications ? Thanks.