No WiFi Location

Atul7 years ago

Hello,

I get Wi-Fi location from device when GPS is not available along with cellIDs, but it seems the location is not of wifi but just using the cellIds. Could you please point me to any documentation or anything that will help me understand how does traccar accepts the wifi parameters?

I get the following HEX from device: https://drive.google.com/open?id=0B7wdD7RPbznDR2NHcUVsNXNXUkE

I have enabled following in my config file:

<entry key='geocoder.enable'>true</entry>
<entry key='geocoder.type'>google</entry>
<entry key='geolocation.enable'>true</entry>
<entry key='geolocation.type'>google</entry>
<entry key='geolocation.key'>GOOGLE_KEY</entry>	 
<entry key='geolocation.processInvalidPositions'>true</entry>

I tried with and without this.

I tried to search location on http://cellidfinder.com/ by entering the cellid information that I get in HEX and its close to what traccar gives, so it seems traccar only using cellids to get the location and not the Wi-Fi, it could be because Wi-Fi info may not be in the same format as traccar expects. I tried searching forum but couldn’t find much info on this.

Please find the official protocol documentation here – https://drive.google.com/open?id=0B7wdD7RPbznDaENfQnNoWmFhVXM

Could you please help here?

Thanks,
Atul

Anton Tananaev7 years ago

Are you sure you are using latest version of Traccar?

Atul7 years ago

Yes, 3.11. Infact I have tried with the latest source code [17th May, 2017] but I get the same result. Let me try to reinstall 3.11 version once again and give a try before you spend any time. If you can give any pointers to debug, that would be great!

Thanks,
Atul

Anton Tananaev7 years ago

Traccar didn't have support for the WT message. I've just added it. You can get latest code from GitHub to test.

Atul7 years ago

Okay, thanks. Let me try with latest code.

Atul7 years ago

I have tested with latest code & it works. Thanks for quick fix.

Thanks,
Atul

Robert7 years ago

Hi Atul, could you share what tracker do you use that support Wifi and Cell reporting to Traccar? Thanks!

Haim Rodrik5 years ago

Robert - For now, only jTrack and Trackuino (Open Source Firmware) trackers are 100% compatible with Traccar and Wi_Fi/CellID location data.

Timo2 years ago

Are you able to tell from database data (table tc_positions ?) that the location was provided by Wifi instead of GPS ?

Anton Tananaev2 years ago

Usually you can tell by the accuracy value, but not always.