launch command when you get a notification from an event !

iyeh_bseh2 months ago

Hi sir , how are you and hope you doing well , i m curretly trying to figure out is there a way to launch a command only when a device is gone to a geozone or an event happend ? can you help me solve this issue ! thank you and have a good day !

Anton Tananaev2 months ago

Notifications are by definition can only be configured for events, including entering or leaving a geofence.

iyeh_bseh2 months ago

but is there a possible way to launch a automated command based on a certain action ? can you please explain to me if possible ?

Anton Tananaev2 months ago

It's possible to send a command based on event, if that's what you're asking.

iyeh_bseh2 months ago

can you tell me how , i m totaly lost , just some insights of how it is done , i would really apreciate this from you !
for example i want to shutdown the vehicle when it goes in or out of a geozone ! can you please tell me how i do this !

Anton Tananaev2 months ago

Add a notification with a command as the channel. And it will trigger the command on the selected event type.

iyeh_bseh2 months ago

excuse my boldness but i don t have "command" as a channel when i try to add or create a new notification . should this be handled in the configuration file of the backend or what bcz i really want this feature , and thank you for your help !
Capture d’écran 2024-10-09 234722.png

Anton Tananaev2 months ago

It either means you're using an old version of Traccar or you disabled it in the config.

iyeh_bseh2 months ago

hi anton , i just wana mention that i m using the latest version and i could not find it in the configuration either in the server page , account or preference , if you know it s name , i would be soo glad for your help and excuse me for troubling you with this . Thank you .

Anton Tananaev2 months ago

Have you changed anything in the configuration?

iyeh_bseh2 months ago

no no nothing , it s the same , i changed nothing , i even searched in the settings and i could not find anything related to command as channel either to add it from the configurations . i checked the preferences , account and server pages and found nothing . could you help !

Anton Tananaev2 months ago

I see you have Firebase and SMS there, which means that you did change your configuration file.