Device moving and stop alerts do not work

bemeto20176 years ago

I do not receive alerts by device moving and stop. I have read in the documentation that as of version 3.14 the criteria used by traccar to determine if the device is stopped or moving changed to something more complex. I can not understand it Can someone tell me what parametrs I should put in the traccar.xml file?

I currently have these parameters. I do not know if anyone is influencing:

<entry key='filter.enable'>true</entry>
<entry key='coordinates.filter'>true</entry>
<entry key='coordinates.minError'>50</entry>
<entry key='coordinates.maxError'>30000</entry>
<entry key='filter.invalid'>true</entry>
<entry key='filter.zero'>true</entry>
<entry key='geocoder.enable'>true</entry>
<entry key='geocoder.type'>google</entry>

Thank you.

Turbovix6 years ago

1st - If you are told about the alerts sent by email, you must configure the information of your email server as informed in the Traccar documentation.

     <entry key = 'mail.smtp.host'> smtp.gmail.com </ entry>
     <entry key = 'mail.smtp.port'> 465 </ entry>
     <entry key = 'mail.smtp.ssl.enable'> true </ entry>
     <entry key = 'mail.smtp.from'> email@email.net </ entry>
     <entry key = 'mail.smtp.auth'> true </ entry>
     <entry key = 'mail.smtp.username'> email@email.net </ entry>
     <entry key = 'mail.smtp.password'> 12345 </ entry>

2º - You must enable the alerts of your interest in the Traccar Web Interface.

3º - There are other parameters in the documentation that can be used to improve the notifications.

4º - There are other types of alerts that can be used: SMS and PUSH

bemeto20176 years ago

Hi Turbovix.

The parameters for sending emails are configured. I have not copied that part of the traccar.xml file but I am currently receiving device alerts online, overspeed geofence from different vehicles.

The problem I have is that it does not send me notifications by device moving and device stoping having them activated. And that's why I ask what parameters I should put.

Thank you.

Turbovix6 years ago

Hello bemeto2017, now I understand your doubt!
Have you enabled the alerts in question in the web interface?

https://uploaddeimagens.com.br/imagens/screenshot-png-5ed323eb-a3c1-41ba-96e7-4ce7606fa7cc

Turbovix6 years ago

By enabling this parameter you can better calibrate motion / stop events.

event.motion.speedThreshold

Attention, in the modules that work (Suntech) I enable the events that I wish to receive that are numerous, perhaps this configuration is lacking in your case.