Traccar not Generating Push and Web Notifications for Speed Limit Exceedance

Hamza7 months ago

Hello Traccar community,

I'm encountering an issue with Traccar where it's failing to generate push and web notifications when a vehicle exceeds the speed limit. Despite the exceedance being properly recorded in the reports, the notifications aren't triggered as expected.

Setup Summary:

Traccar version: 6.1
Notification settings: Speed limit set in device attributes
I've thoroughly reviewed the notification settings, ensuring they are correctly configured. Despite this, notifications are still not being generated upon speed limit exceedance. Additionally, I've verified that push notifications are enabled on the devices.

Moreover, I've noticed that I'm only receiving push and web notifications for commands and device stops. Other notifications, including speed limit exceedances, are not being received. However, these events are visible in the reports.

Could someone kindly assist me in troubleshooting this issue? Is there a specific step I might be overlooking in the configuration, or could there be another underlying issue causing this behavior?

Any guidance or insights would be greatly appreciated.

Thank you

Hamza7 months ago

Speedlimit Attribute
Notifications Channels
Report
Events

Anton Tananaev7 months ago

Have you checked logs for errors?

Hamza7 months ago

No erorr Found..!

2024-05-16 08:22:40  INFO: [T9687b5f0: gt06 > 182.2.76.20] 7878052207f2bd9f0d0a
2024-05-16 08:22:41  INFO: [T9687b5f0: gt06 < 182.2.76.20] 787822221805100d1626cd00cc6ce70c13e1dc1410cf01fe0a3eb5009e9e01000007f3c4d90d0a
2024-05-16 08:22:41  INFO: Skipping notifications for old event
2024-05-16 08:22:41  INFO: [T9687b5f0] id: 865167040330921, time: 2024-05-16 01:22:38, lat: -7.44290, lon: 112.57200, speed: 10.8, course: 207.0
2024-05-16 08:22:41  INFO: [T9687b5f0: gt06 > 182.2.76.20] 7878052207f3ac160d0a
2024-05-16 08:22:45  INFO: [T9687b5f0: gt06 < 182.2.76.20] 787822221805100d162bcd00cc6ec50c13e0c51910d401fe0a3eb5009e9e01000007f4cf7b0d0a
2024-05-16 08:22:45  INFO: [T9687b5f0] id: 865167040330921, time: 2024-05-16 01:22:43, lat: -7.44317, lon: 112.57184, speed: 13.5, course: 212.0
2024-05-16 08:22:45  INFO: [T9687b5f0: gt06 > 182.2.76.20] 7878052207f4d8a90d0a
2024-05-16 08:22:56  INFO: [T9687b5f0: gt06 < 182.2.76.20] 787822221805100d1635cd00cc72c40c13de841c10cd01fe0a3eb5009e9e01000007f597ff0d0a
2024-05-16 08:22:56  INFO: [T9687b5f0] id: 865167040330921, time: 2024-05-16 01:22:53, lat: -7.44374, lon: 112.57152, speed: 15.1, course: 205.0
2024-05-16 08:22:56  INFO: [T9687b5f0: gt06 > 182.2.76.20] 7878052207f5c9200d0a
2024-05-16 08:23:06  INFO: [T9687b5f0: gt06 < 182.2.76.20] 787822221805100d1703cd00cc76ca0c13dc9a1410c701fe0a3eb5009e9e01000007f678f30d0a
2024-05-16 08:23:06  INFO: [T9687b5f0] id: 865167040330921, time: 2024-05-16 01:23:03, lat: -7.44431, lon: 112.57125, speed: 10.8, course: 199.0
2024-05-16 08:23:06  INFO: [T9687b5f0: gt06 > 182.2.76.20] 7878052207f6fbbb0d0a
2024-05-16 08:23:08  INFO: [T9687b5f0: gt06 < 182.2.76.20] 787822221805100d1705cd00cc77780c13dc681410c201fe0a3eb5009e9e01000007f71d610d0a
2024-05-16 08:23:08  INFO: [T9687b5f0] id: 865167040330921, time: 2024-05-16 01:23:05, lat: -7.44440, lon: 112.57122, speed: 10.8, course: 194.0
2024-05-16 08:23:08  INFO: [T9687b5f0: gt06 > 182.2.76.20] 7878052207f7ea320d0a
2024-05-16 08:23:26  INFO: [T9687b5f0: gt06 < 182.2.76.20] 787822221805100d1716cd00cc7cc60c13daf11210c901fe0a3eb5009e9e01000007f8cfb70d0a
2024-05-16 08:23:26  INFO: [T9687b5f0] id: 865167040330921, time: 2024-05-16 01:23:22, lat: -7.44516, lon: 112.57101, speed: 9.7, course: 201.0
2024-05-16 08:23:26  INFO: [T9687b5f0: gt06 > 182.2.76.20] 7878052207f812c50d0a
2024-05-16 08:23:34  INFO: [T9687b5f0: gt06 < 182.2.76.20] 787822221805100d171fcd00cc7f9e0c13d9c71510c401fe0a3eb500b65001000007f9ffd50d0a
2024-05-16 08:23:34  INFO: Skipping notifications for old event
Hamza7 months ago
2024-05-16 08:22:41 INFO: Skipping notifications for old event

What is this ??

Anton Tananaev7 months ago

That's exactly what I was going to say. It probably explains your issue.

Hamza7 months ago

How to fix this

Anton Tananaev7 months ago

You have to figure out why the time is incorrect.

Hamza7 months ago

Some old devices may have incorrect time settings, and sometimes it's not possible to adjust them. Is it possible to disable these skip features in Traccar?

Anton Tananaev7 months ago

Yes, you can change the threshold in the configuration.

Hamza7 months ago

configuration

Where can I find this? also i checked xml file

Anton Tananaev7 months ago

Have you checked the documentation before asking?

https://www.traccar.org/configuration-file/

Hamza7 months ago
<entry key='notificator.timeThreshold'>8640000</entry>

Like this ?

Anton Tananaev7 months ago

Have you tried?

Hamza7 months ago

Not yet