Unable to trigger email notification

sdntech2 years ago

Hi All,
I have Gmail notification set as per documentation - https://www.traccar.org/gmail/
I can trigger test notifications. However, there is no notification received for real events. I have modified traccar.xml with the following entry -

<entry key='speedLimit.enable'>true</entry>
<entry key='speedLimit'>20</entry>

Also the devices sends speed information as I can see that in reporting. Am I missing something?

Thanks,
Amit

Anton Tananaev2 years ago
  1. Do you see events in the report?
  2. Are other notification types working?
sdntech2 years ago
  1. I see only two event types -
    Status online
    Status unknown
  2. Test notification is working, I can receive test emails.
Anton Tananaev2 years ago

I just realized that you misconfigured the speed limit. You can't configure it in the config file.

sdntech2 years ago

It make sense that, speed limit can be configured only at the server or Device, maybe both.
I can configure it on the device, may I ask what it mean by server?Can you please share any working examples or documentation? I appreciate your help!

Anton Tananaev2 years ago

You can set the speed limit globally in the server attributes.

sdntech2 years ago

Did setup as follows -
Traccar -- settings -- devices -- Attribute -- SpeedLimit.

In notification - SeepLimitExceeded to Mail is already in place.
speedLimit.enable is True in config

However, there is no event being generated for speed limit.

Anton Tananaev2 years ago

Do you see events in the report?

sdntech2 years ago

No events for SpeedLimit. Only two types of events -
Status Unknown and Status Online.

Anton Tananaev2 years ago

Then I'm not sure why you're still talking about notifications. If you don't get events generated, the problem is deeper.