python script to handle notification routing

loren4 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 Tananaev4 years ago

You should probably use event forwarding.

loren4 years ago

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

Anton Tananaev4 years ago

No.

loren4 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.