RF-V48C - Unable to parse location data

Sarwesh R3 months ago

Hi,

I am working on a device by ReachFar, model number - RF-V48C. I have configured it to watch protocol & have set the port number as 5093. Data is being pinged to the Traccar server but server is unable to parse the location data and always displays lat long as 0,0.
Please suggest what is to be done in this regard.

Screenshot from 2024-06-15 14-59-39.png

@Anton, Thanks in advcance for your prompt response.

Track-trace3 months ago

You should check the HEX to see what data the device actually sends. I would guesse your device does not send any location data.

You could post the HEX here or check it yourself.

Sarwesh R3 months ago

@Track-trace, thanks for your prompt response.

At 09: 27 , data recieved is

5b33472a383930363231303832372a303045352a55445f4c54452c3135303632342c3036353731392c562c30302e3030303030302c2c30302e303030303030302c2c302e30302c302e302c302e302c302c3130302c39342c302c302c30303030303030302c312c302c3430342c34352c313133362c3735313631372c32382c352c2c33303a34663a37353a35383a38353a35302c2d38322c2c66613a38663a63613a37613a63303a33622c2d38382c2c62303a38623a39323a64333a62333a36342c2d39372c2c63383a39633a62623a61663a31623a37392c2d3130322c2c63613a39633a62623a63663a31623a37392c2d3130342c302e305d

Data converted to HEX is :

[3G*8906210827*00E5*UD_LTE,150624,065719,V,00.000000,,00.0000000,,0.00,0.0,0.0,0,100,94,0,0,00000000,1,0,404,45,1136,751617,28,5,,30:4f:75:58:85:50,-82,,fa:8f:ca:7a:c0:3b,-88,,b0:8b:92:d3:b3:64,-97,,c8:9c:bb:af:1b:79,-102,,ca:9c:bb:cf:1b:79,-104,0.0]

Please suggest how do I proceed further?

Track-trace3 months ago

Well you can see that it sends zero coordinates.

V,00.000000,,00.0000000

It shows the postion invalid = V
And coordinates zero =,00.000000,,00.0000000

[3G890621082700E5*UD_LTE,150624,065719,V,00.000000,,00.0000000,,0.00,0.0,0.0,0,100,94,0,0,00000000,1,0,404,45,1136,751617,28,5,,30:4f:75:58:85:50,-82,,fa:8f:ca:7a:c0:3b,-88,,b0:8b:92:d3:b3:64,-97,,c8:9c:bb:af:1b:79,-102,,ca:9c:bb:cf:1b:79,-104,0.0]

So first make sure the device is outside since GPS only works outside. after a few minutes;

Then send a request to the device to report the position. For many devices that use watch protocol the command is: cr

So use the device popup window in the web app to send a custom command where the data is: cr

The device should report three minutes for every 20 seconds with the position.

Then check the web-app / server log if the device reports a position.

Sarwesh R3 months ago

@Track-trace,

"V" denotes GPS data is invalid because it is unable to fetch GPS coordinates. But it's sending LBS data along with nearby WIFI mac addresses.
I have already enabled GPS geolocation but still its unable to parse LBS data. I have already enable Google Geolocation still the dashboard is showing 0,0 as address. Kindly suggest what is to be done to parse LBS data ?

Track-trace3 months ago

So what is your config for geolocation then in your traccar config file ?

Sarwesh R3 months ago

@Track-trace,

This is the config for geolocation in my Traccar config file :

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>

<properties>

    <entry key='database.driver'>com.mysql.cj.jdbc.Driver</entry>
    <entry key='database.url'>jdbc:mysql://localhost/traccar?zeroDateTimeBehavior=round&amp;serverTimezone=UTC&amp;allowPublicKeyRetrieval=true&amp;useSSL=false&amp;allowMultiQueries=true&amp;autoReconnect=true&amp;useUnicode=yes&amp;characterEncoding=UTF-8&amp;sessionVariables=sql_mode=''</entry>
    <entry key='database.user'>root</entry>
    <entry key='database.password'>root</entry>	
    <entry key='geolocation.enable'>true</entry>
    <entry key='geolocation.type'>google</entry>
    <entry key='geolocation.key'>GOOGLE_API_KEY</entry>

</properties>
Anton Tananaev3 months ago

You're probably missing geolocation.processInvalidPositions.