Is it possible to manually compute position/attributes when specific WIFI network is reported from device?

Mig Selv5 years ago

Hi,

Is it possible to compute an attribute(or in some other way) tell Traccar that a device is to be considered at a specific position when specific Wifi networks are reported by the device? Using Google and geolocation always have an accuracy of about 1km, and since I know the MAC and name of certain Wifi networks, like at home, I'm wondering if I somehow could force Traccar to report a device as home(or at work, or att friends house) if certain named MAC and/or Wifi names exist in the reported data from the device.
I've looked at computed attributes, but I do not see how to use that to achieve what I'm looking for.

Thanks
//MigSelv

Anton Tananaev5 years ago

Definitely not through computed attributes.

Mig Selv5 years ago

Hi Anton,

Thanks for the quick reply. So I'm guessing there's nothing build into Traccar at he moment to support something like this?

I guess I could use the API to fetch data, parse it and then POST fake data back with the coordinates I'd like the device to be reported at, but that leds to a lot of overhead and unnecessary requests going back and forth to Traccar.

Thanks for a great product by the way!

//MigSelv

Anton Tananaev5 years ago

Nothing built in, but the source code is open, so you can easily modify the code to do what you want.