What attributes do you see in Traccar?
What do you mean? According to my gps vendor's instruction, they told me to up an alerts based on the Field IDs on the Traccar platform.
When a High-G event is detected, the Oyster3 will log a record containing:
Last known GPS time and position (FID 0)
The Peak Force (FID 24)
The Average force (FID 24)
The Duration of the High-G event (FID 24)
I found the following attributes in MySQL table. Does it help?
{"index":1919,"event":11,"pdop":0.0,"ignition":false,"input":2,"output":0,"status":2,"battery":5.276,"deviceTemp":32.0,"rssi":17,"solarPower":4.881,"distance":1.250180018E7,"totalDistance":2.504610734E7,"motion":false,"hours":145220000}
OK, so you want not just an event, but also additional event data? Because the event id is there in your attributes.
Yes, Event id 46 = High G Event
If an event id 46 is received, how do to trigger an alarm notification on Traccar?
You should check protocol documentation to know the meaning of those event ids.
You can convert it into an alarm notification in Traccar using a computed attributes.
Whenever I type the below formula in Computed Attributes and then save it,
event =="11" ? "Impact Detection" : null
It displays as below. Why? Something wrong in my GUI?
event =="11" ? "Impact Detection" : null
Are you sure you're using the latest version of Traccar?
I fixed the issue. After the computed attribute was made, how do I configure the notification by the computed attribute? Only Alarm is found.
Description Attribute Expression
High G Event alarm event =="46" ? "Impact Detection" : null
Type of Notification All Devices Alarms Channels
Alarm Yes Vibration Web
First of all, you need to use one of the standard alarms. For example "accident". Then you can create a notification for it.
Thank you for your inputs. I did it successfully.
Description Attribute Expression
High G Event alarm event =="46" ? "vibration" : null
If I would like to retrieve the event data, should I raise a request to you buying professional service?
Yes, please send an email to discuss it.
Anyone have an experience in receiving DM Oyster3 High-G detection event on Traccar? How do I config an extra data attribute to receive the event? Below please find the log.
High-G Impact Detection