Geofence Notifications

parelius7 years ago

I am not reciving any notifications when device is exiting or entering geofences.....
Notifications is enabled.
Notifications for ingition works, so email settings is correct.

Any help will be greatly appreciated :)

Here is my config:

<entry key="config.default">./conf/default.xml</entry>

    <entry key='database.driver'>com.mysql.jdbc.Driver</entry> 
    <entry key='database.url'>jdbc:mysql://127.0.0.1:3306/traccar?allowMultiQueries=true&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&sessionVariables=sql_mode=''</entry>
    <entry key='database.user'>xxxxxxx</entry> 
    <entry key='database.password'>xxxxxxxxx</entry>    
    
    <entry key='mail.smtp.host'>smtp.xxxxxx.xx</entry>
    <entry key='mail.smtp.port'>465</entry>
    <entry key='mail.smtp.ssl.enable'>true</entry>
    <entry key='mail.smtp.from'>xxxxxx@oxxxxxxx.xx</entry>
    <entry key='mail.smtp.auth'>true</entry>
    <entry key='mail.smtp.username'>xxxxxxx</entry>
    <entry key='mail.smtp.password'>xxxxxxx</entry>

    <entry key='event.enable'>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='event.statusHandler'>true</entry>
    <entry key='event.maintenanceHandler'>true</entry>

    <entry key='report.ignoreOdometer'>true</entry>
    
    <entry key='web.port'>80</entry>
    <entry key='database.positionsHistoryDays'>180</entry>

    <entry key='status.timeout'>600</entry>

</properties>
Anton Tananaev7 years ago

Have you linked geofences to your devices?

parelius7 years ago

Is there an another way then add geofences to users, then click on notifications, click on enter and exit geofence on by mail.....?

Anton Tananaev7 years ago

You have to link your geofences to devices. Have you done that?

parelius7 years ago

Im feeling realy stupid now....

All working perfect now :)

please I need help
I think I have everything set up and I do not know what's going on, I do not have the geofence.

<?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>

    <entry key='web.port'>80</entry>

    <entry key='geocoder.enable'>false</entry>

    <entry key='database.driver'>com.mysql.jdbc.Driver</entry>
    <entry key='database.url'>jdbc:mysql://localhost/traccar?allowMultiQueries=true&amp;autoReconnect=true&amp;useUnicode=yes&amp;characterEncoding=UTF-8&amp;sessionVariables=sql_mode=''</entry>
    <entry key='database.user'>root</entry>
    <entry key='database.password'>admin</entry>
    
    <entry key='server.timeout'>120</entry>

<clave de entrada = 'mail.smtp.host'> smtp.gmail.com </entry>
<entry key = 'mail.smtp.port'> 465 </entry>
<entry key = 'mail.smtp.ssl.enable'> true </entry>
<clave de entrada = 'mail.smtp.from'> reportes.trackingpar@gmail.com </entry>
<entry key = 'mail.smtp.auth'> true </entry>
<clave de entrada = 'mail.smtp.username'> reportes.trackingpar@gmail.com </entry>
<entry key = 'mail.smtp.password'> XXXXXX </entry>


<clave de entrada = 'mail.smtp.host'> smtp.gmail.com </entry>
<entry key = 'mail.smtp.port'> 587 </entry>
<entry key = 'mail.smtp.starttls.enable'> true </entry>
<clave de entrada = 'mail.smtp.from'> reportes.trackingpar@gmail.com </entry>
<entry key = 'mail.smtp.auth'> true </entry>
<clave de entrada = 'mail.smtp.username'> reportes.trackingpar@gmail.com </entry>
<entry key = 'mail.smtp.password'> XXXXXX </entry>

</properties>
Anton Tananaev5 years ago

Your config is invalid. What is clave de entrada?