python script to handle notification routing

loren 5 years ago

I would like to write a python script that handles routing notifications. How could I write the configuration file to send the notifications to a python script residing on the same computer as the Traccar server? Thank you!

Anton Tananaev 5 years ago

You should probably use event forwarding.

loren 5 years ago

Does event forwarding allow you to reformat the information based on the destination?

Anton Tananaev 5 years ago

No.

loren 5 years ago

I think I've figured out how to do what I need in a plugin im working on. How are the web notifications formatted? If I have that configuring the listener on my plugin would be much easier.