Notification setup

MikaKa month ago

I have own hosted Traccar in my VPS server. Is it possible to get notifications with "Traccar" method?

Anton Tananaeva month ago
MikaKa month ago

Okey, but where I find TRACCAR KEY ?

Anton Tananaeva month ago

Make sure you read the documentation carefully. It answers this question.

Mika Koivunena month ago

I have read it many times and also make new account. And only I get is this error message:

Failed to get notificator web - RuntimeException (NotificatorManager:75 < NotificationResource:108 < ... < OverrideFilter:50 < ...)
Anton Tananaeva month ago

Why are you posting as a different forum account?

Vania month ago

https://www.traccar.org/my-account/

There you can find the api key

Mika Koivunena month ago

Anton:
I made a new account with same email as my own Traccar setup is.

Vani:
Yes, I find it and already tried it. But.I don't understand how this official Traccar account is comnected to my own VPS installation?

Vania month ago

You need to place that api key in the traccar configuration file. In the traccar.xml

Read the documentation

Mika Koivunena month ago

I have set the api key. Restarted service and tried notification and I cant get any notification to Traccar app.

Anton Tananaeva month ago

Check if you have a notification token in the user attributes.

Mika Koivunena month ago

Okay, where I can found right notification token?

It would be nice if someone can help with this problem and can tell all needed things to get push notification to work.

The Traccar is best GPS tracking software that I have been tested. The documentation is not the best. I also understand it, because paid support is Anton's work.

Anton Tananaeva month ago

I don't like the accusation that we deliberately make the documentation bad to make money on support. That is not the case. Having good documentation is good for our business because we would get more users overall, and some of them will pay just to save their time.

Mika Koivunena month ago

Anton: Okay I understand, but push notification still not work. Web and email notifiacation is working normally.

I have added these lines to configuration file:

<entry key='notificator.types'>web,traccar,mail</entry>
<entry key='notificator.traccar.key'>eyJkYXRhIjo0ND...............................................FmemF1QQ</entry>

This TRACCAR_KEY is same as API key in https://www.traccar.org/my-account/
Is TRACCAR_KEY same thing that API in my-account site?

User attributes section is fields: Pushover User Key, Pushover Device Names and Notification Tokens. There is now some "keys", but whre I find right ones? Device names is my two devices name comma separate.

I have read the documentation. I cant find info to these fields.

Kind Regards,
Mika

Näyttökuva 2025-01-19 kello 16.48.19.jpg

Anton Tananaeva month ago

Notification Tokens is the right attribute. If you have it, it should be working.