Event or alarm?
In the event report, I get the following, I think it is an Event. Because in case of Alarm, Type should be alarm. Correct me if I am wrong.
Fix Time Type Data
2022-08-15 10:02:59 Speed limit exceeded 50.00 km/h
2022-08-15 10:03:07 Speed limit exceeded 50.00 km/h
No in both cases.
This was not the one time, each time I receive a packet I was getting a Speed event.
Route Packets information
BWM-820 2022-08-15 10:20:13 Show Address Yes 11.00 km/h
BWM-820 2022-08-15 10:20:30 Show Address Yes 11.00 km/h
BWM-820 2022-08-15 10:20:42 Show Address Yes 21.00 km/h
BWM-820 2022-08-15 10:20:55 Show Address Yes 36.00 km/h
BWM-820 2022-08-15 10:21:04 Show Address Yes 49.00 km/h
BWM-820 2022-08-15 10:21:11 Show Address Yes 58.00 km/h
BWM-820 2022-08-15 10:21:19 Show Address Yes 56.00 km/h
BWM-820 2022-08-15 10:21:27 Show Address Yes 50.00 km/h
BWM-820 2022-08-15 10:21:34 Show Address Yes 30.00 km/h
BWM-820 2022-08-15 10:21:51 Show Address Yes 30.00 km/h
BWM-820 2022-08-15 10:22:00 Show Address Yes 47.00 km/h
Events
2022-08-15 10:21:10 Speed limit exceeded 58.00 km/h
2022-08-15 10:21:17 Speed limit exceeded 56.00 km/h
2022-08-15 10:21:24 Speed limit exceeded 50.00 km/h
Just tested locally and it works correctly for me.
Sir can you please share the configuration you set locally so that I can compare what I was missing.
I used default configuration + the entry you provided in the original comment.
Should I restart the server after changing config file?
Yes, of course. You haven't done that?
Yes, I did that too,
I have used following config,
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>
<properties>
<entry key='config.default'>./conf/default.xml</entry>
<!--
This is the main configuration file. All your configuration parameters should be placed in this file.
Default configuration parameters are located in the "default.xml" file. You should not modify it to avoid issues
with upgrading to a new version. Parameters in the main config file override values in the default file. Do not
remove "config.default" parameter from this file unless you know what you are doing.
For list of available parameters see following page: https://www.traccar.org/configuration-file/
<entry key='report.trip.useIgnition'>true</entry>
<entry key='report.trip.minimalTripDistance'>500</entry>
<entry key='report.trip.minimalTripDuration'>300</entry>
<entry key='event.overspeed.notRepeat'>true</entry>
<entry key='event.motion.speedThreshold'>5</entry>
-->
<!-- <entry key='database.driver'>org.h2.Driver</entry> -->
<!-- <entry key='database.url'>jdbc:h2:./data/database</entry> -->
<!-- <entry key='database.user'>sa</entry> -->
<!-- <entry key='database.password'></entry> -->
<entry key='database.driver'>com.microsoft.sqlserver.jdbc.SQLServerDriver</entry>
<entry key='database.url'>jdbc:sqlserver://localhost:1433;user=sa;password=;databaseName=traccar;</entry>
<entry key='database.user'>sa</entry>
<entry key='database.password'></entry>
<entry key='event.overspeed.notRepeat'>true</entry>
</properties>
but still no impact. :-(
After setting the above configuration, when I started the trip, it is now showing 1 event for each set of Speed limits exceed. Thanks.
Is this config removed?
key='event.overspeed.notRepeat'>true</entry>
Not able to find this in config page
I think we removed it and now that's the default behavior.
Hi,
I have followed the https://www.traccar.org/configuration-file/ and set
<entry key='event.overspeed.notRepeat'>true</entry>
in traccar.xml. But OverSpeed event is still occurring with every packet received. Please guide am I missing anything?Thanks in advance.
Regards,
Ubaid