Disable Filters for a Specific Device without Restart

Haider 8 months ago

Hi,

I’m facing an issue where some devices jump to the wrong location even though I’ve applied all the filters (coordinates.minError, coordinates.maxError, distance, maxSpeed, invalid, etc.).

For around 70% of vehicles, the filters work fine. But for some devices, when they jump to the wrong location, they stop updating until I disable the filters. After restarting or resetting the device, it sends the correct GPS data again.

Currently, the only way I can fix this is by removing the filters from the config.xml file and restarting the Traccar server.

My question is:
Is it possible to disable filters only for a specific device, maybe by adding a device attribute, so that I don’t have to restart the whole server and remove the global filters? Ideally, I’d like to temporarily disable filters for a device, let it send updates, and then re-enable them later.

Any guidance on how to achieve this would be really helpful.

Thanks in advance!

Anton Tananaev 8 months ago

Currently filters are global, so you can't enable or disable them per device.

Haider 8 months ago

Ok, I think this feature should be added in the next release.

Marcin 24 days ago

Is it still like this?
ChatGPT tells it is possible like wished above

Anton Tananaev 24 days ago

Filters are still global.

Marcin 24 days ago

Maybe a missunderstanding?
If i don't set a global filter i can setup each one by one?

Anton Tananaev 24 days ago

Per device? No, they're global only, as I said.