Unable to trigger email notification

sdntech6 months 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 Tananaev6 months ago
  1. Do you see events in the report?
  2. Are other notification types working?
sdntech6 months ago
  1. I see only two event types -
    Status online
    Status unknown
  2. Test notification is working, I can receive test emails.
Anton Tananaev6 months ago

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

sdntech6 months 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 Tananaev6 months ago

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

sdntech6 months 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 Tananaev6 months ago

Do you see events in the report?

sdntech6 months ago

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

Anton Tananaev6 months ago

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