Notifications and Traccar.!!! AGAIN!

Richard Acosta9 months ago

Well, some time ago I asked for the troublesome notificatiosn settings, that some time to time appear on users with nonsensical settings.

Now I found what's the cause.

Topics:
https://www.traccar.org/forums/topic/notifications-odd-behavior-repetition-dissapearing-etc/
https://www.traccar.org/forums/topic/cant-disociate-devices-from-users-and-notifications-wont-work-anymore/
https://www.traccar.org/forums/topic/some-notifications-dont-work-anymore/

One user was complaining because his notifications (via telegram) never reach, so I took his phone and started to check.
Ussually I install a 3rd party app on phones (easier to use than traccar manager) but in this case, I wanted to have certain behavior so i installed traccar manager.

AND VOILA!!! Settings for user notifications went BANANAS!
His notifications were not set for "all devices" since he has only one. But also when I enable "all devices" users receive notifications from OTHER USERS DEVICES nopt only their own ones.

Also, firebase notifications appeared enabled (I had them disabled serverwide before, and he didn't had them even available)

I had to go back as admin, reset all notifications, erase some, delete, etc....

So the problem here is the app messing around with server settings somehow.

And also, telegram notifications don't reach certain users. I receive them, some users receive them, but some users don't receive them... And I'm still waiting for some time of help about it.

Also, this: https://i.imgur.com/8ooztCi.png

Richard Acosta9 months ago

So it is a bug and noone is going to address it.

Richard Creer9 months ago

Remind me, how much do you pay for Traccar?

Eduardo S8 months ago

Lo de tu última captura que subiste, supongo que te refieres a que las notificaciones están duplicadas. Pero no entendí si se duplicaron solas o en si cuál es el problema.

Si te refieres a que aparecen duplicadas repentinamente, supongo que será alguno de tus usuarios que está creando sus "propias notificaciones". Es parte del "problema" que tiene Traccar en la forma mediante la cual asocia los objetos entre si. Pero finalmente así es su estructura, y pues se puede buscar la forma de trabajar con eso.

Nosotros utilizamos Traccar con una plantilla "modern" modificada, mediante la cual restringimos muchas de las opciones disponibles para que los usuarios normales no puedan visualizarlas. Por ejemplo, los usuarios normales no tienen acceso al menú de atributos calculados, ni al de geocercas, ni al de notificaciones... Por lo que los usuarios no pueden agregar ni atributos, ni geocercas, ni notificaciones. Por que? Porque los usuarios agregaban sus propias configuraciones, y muchas de las veces se duplicaban (De la misma forma que en tu captura, luego por ejemplo, la notificación de exceso de velocidad aparecía 10 veces con casi las mismas configuraciones de envío, porque obviamente el usuario que las creaba no tenía la conexión a esa notificación previamente creada, y creaba la suya propia.

Lo mismo sucedía con las geocercas, los usuarios las duplicaban. A partir de que nosotros modificamos la plantilla, ya lo manejamos de modo que si algún usuario quiere quitar alguna notificación de su cuenta, o alguna geocerca, o quiere crear una geocerca nueva, nos lo tiene que pedir, y nosotros creamos la geocerca y se la asignamos.

Pero como dije, es parte y cconsecuencia de la forma relacional que usa Traccar para asociar "objetos" con usuarios.

Saludos.

Richard Acosta8 months ago

Users without permissions can't add their own notifications or change important stuff, anything else, I don't care.

EVERY TIME I install traccar manager for a new user, I get new notifications, is not the users, is the app.
I'M INSTALLING THE APP AND CREATING THE USER WITH PROPER PERMISSIONS and I'M NOT MAKING NEW NOTIFICATIONS EACH TIME!
Is the app.

Traccar has a way to manage permissions, you did the ussual donkey way of making things.