Various question about notification/event (3.7)

sicksand8 years ago

hi anton,

  1. what commands to database or server that the ring icon (default muted) in the web interface? this is because it wont send any notifications until it is enable. are there any flag to database or config file?

  2. does the notification only works when the web interface is enable, if it turn off, the notifications does not works?

  3. the globalspeedlimit is in km/h right? but still it does not send any notifications. here are my snippets of traccar.xml

     <entry key='event.enable'>true</entry>
     <entry key='event.overspeedHandler'>true</entry>
     <entry key='event.overspeed.notRepeat'>true</entry>
     <entry key='event.motionHandler'>true</entry>
     <entry key='event.geofenceHandler'>true</entry>
     <entry key='event.alertHandler'>true</entry>
     <entry key='event.ignitionHandler'>true</entry>
     <entry key='distance.enable'>true</entry>
     <entry key='filter.distance'>true</entry>
     <entry key='event.globalSpeedLimit'>50</entry>
     <entry key='event.motion.speedThreshold'>0.01</entry>
     <entry key='report.trip.minimalTripDuration'>300</entry>
     <entry key='report.trip.minimalTripDistance'>500</entry>
     <entry key='report.trip.minimalParkingDuration'>600</entry>
     <entry key='report.trip.greedyParking'>true</entry>`
    

    thanks for the amazing software

Anton Tananaev8 years ago
  1. The question is not clear. Bell icon enables/disables sound for notifications.

  2. No, there are also SMS and email notifications.

  3. Any speed value in the config is in knots.

sicksand8 years ago

thanks for the reply.

  1. noted
  2. what i meant is, the notification/event are triggered ONLY if web interface is enable <entry key='web.enable'>true</entry> in config file or is it triggered via the database?
  3. noted
Anton Tananaev8 years ago

It is triggered through API, so you need to have web app enabled. But all events are also saved in the database.

sicksand8 years ago

hi anton,

i have success the config and get the email on moving and online. but i did not get the email of overspeed. clearly the is overspeed in positions table but there is no row of deviceoverspeed in events table. where can i troubleshoot to get this overspeed notifications working.

Anton Tananaev8 years ago

How and what speed limit have you configured?

sicksand8 years ago

hi anton, my traccar.xml is at the opening thread. here is also my traccar.xml

    <entry key='event.enable'>true</entry>
    <entry key='event.overspeedHandler'>true</entry>
    <entry key='event.overspeed.notRepeat'>true</entry>
    <entry key='event.motionHandler'>true</entry>
    <entry key='event.geofenceHandler'>true</entry>
    <entry key='event.alertHandler'>true</entry>
    <entry key='event.ignitionHandler'>true</entry>
    <entry key='distance.enable'>true</entry>
    <entry key='filter.distance'>true</entry>
    <entry key='event.globalSpeedLimit'>50</entry>
    <entry key='event.motion.speedThreshold'>0.01</entry>
    <entry key='report.trip.minimalTripDuration'>300</entry>
    <entry key='report.trip.minimalTripDistance'>500</entry>
    <entry key='report.trip.minimalParkingDuration'>600</entry>
    <entry key='report.trip.greedyParking'>true</entry>
Anton Tananaev8 years ago

OK, so you have set it up to 50 knots. It's more than 90 km/h. Are you sure your vehicle is moving faster than that?

sicksand8 years ago

yeah pretty sure, there is speedway in my area.

Anton Tananaev8 years ago

I would recommend to update to the latest version of Traccar. I don't remember now what was in 3.7.

sicksand8 years ago

ok will update to the latest version

sicksand8 years ago

hi anton,

i have updated to 3.11, seems to be okay but i dont move my car yet. so how do I troubleshoot the overspeed notifications? where do I set the overspeed value?

Anton Tananaev8 years ago

Check here:

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

You can set it in the config or device attributes.

jay5 years ago

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

I cant seem to open each config