Unable to get notifications working

xrak en4 years ago

I tried setting up a geofence to send telegram notifications when vehicle entered the geofence but it is not working. Here's what I have done so far:

  1. Set up and successfully tested sending the test notification over Telegram
  2. Tried setting up an "ignition on" to be sent over web and telegram for all devices (https://ibb.co/hY0PygQ)
  3. Drove car to make sure both ignition on and entering geofence events get triggered.
  4. No telegram notifications received.
  5. Checked "all events for today" and I am seeing ignition on there but nothing for geofence. Also, I did not see any web popups when the events should have been triggered.
  6. Checked server log file and did not see anything other than incoming reports from the device.
  7. The map is showing the correct location of the device. Other parameters such as speed are showing fine.
    Let me know what else I can check to further debug this issue? Thanks.
xrak en4 years ago

Here's the config if it helps:

<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>
<properties>
    <entry key='config.default'>./conf/default.xml</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='notificator.types'>web,mail,telegram</entry>
    <entry key='notificator.telegram.chatId'>-********</entry>
    <entry key='notificator.telegram.key'>********</entry>
    <entry key='geocoder.enable'>true</entry>
    <entry key='geocoder.type'>google</entry>
    <entry key='geocoder.key'>********</entry>
    <entry key='geocoder.onRequest'>true</entry>
    <entry key='geocoder.ignorePositions'>true</entry>
    <entry key='geocoder.reuseDistance'>200</entry>
    <entry key='status.timeout'>300</entry>
    <entry key='gl200.timeout'>200</entry>
    <entry key='server.timeout'>200</entry>
    <entry key='event.enable'>true</entry>
    <entry key='status.updateDeviceState'>true</entry>
    <entry key='processing.copyAttributes.enable'>true</entry>
    <entry key='processing.copyAttributes'>ignition</entry>
    <entry key='report.trip.useIgnition'>true</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>
</properties>