Changing unique id should work.
Hello Anton,
I've tried many times but it's not working. Maybe there is an internal cache ?
Do you now maybe another method to ignore devices without restarting Traccar ? Maybe delete them ?
You can use API.
I use the traccar web app to edit the unique id so it uses the API right ?
Or it's another endpoint ?
Yes, it uses API.
Ok so the API does not seem to update the internal cache when I edit a uniqueid
I have just tested latest version. Both disabling device and change uniqueId works.
Hi
I use traccar server version 4.15 on windows server 2012 and I have the same issue.
I use API to change uniqueid but positions are always save on the deviceid.
To be more precise I have two device with the same IMEI root, but I want to switch saving positions records between this two device.
For example :
I set up two différent device
deviceid1 / IMEI-private
deviceid2 / IMEI-pro
In API I modify like this
deviceid1 / IMEI
deviceid2 / IMEI-pro
positions are recorded on deviceid
but when i switch, I call two times the API
1st
deviceid1 / IMEI-private
deviceid2 / IMEI-pro
2nd
deviceid1 / IMEI-private
deviceid2 / IMEI
positions continues to be recorded on deviceid1 on database
but on Traccar Web positions seems to be on the expected device (deviceid2)
Can you help me ?
Thanks
Hello,
I'm trying to find a way to make Traccar ignoring some devices positions and alarms.
I tried to "disable" a device but it does not work.
So I tried to edit the uniqueid (identifier) of the device and add to it "disabled" so for example unique id 20182018 it becomes 20182018-disabled. So I thought traccar will now ignore messages from device 20182018 because it's not in the list.
But it's not working, maybe because of the cache.
Do you have a solution to do ignore devices without deleting them or restarting Traccar ?
Thank you have a good day.