Notification setup

MikaK last year

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

Anton Tananaev last year
MikaK last year

Okey, but where I find TRACCAR KEY ?

Anton Tananaev last year

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

Mika Koivunen last year

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 Tananaev last year

Why are you posting as a different forum account?

Vani last year

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

There you can find the api key

Mika Koivunen last year

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?

Vani last year

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

Read the documentation

Mika Koivunen last year

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

Anton Tananaev last year

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

Mika Koivunen last year

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 Tananaev last year

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 Koivunen last year

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 Tananaev last year

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