Frequency and Angle

rk98392 years ago

I need angle as a direction in my service but there is no data in Database for angle or rotation.
Also, I am facing an issue with updating the database with large entities in each 10 sec. How can I set the frequency of data receiving?

Anton Tananaev2 years ago

Do you see accuracy value in the database? If the accuracy is low, then it's a cell/wifi location, which won't have the course information.

As for frequency, it's set on the main screen in the app. Not sure I understand that question.

rk98392 years ago

No, You get my question. But I opened my main screen of traccar service. Where I can set frequency. Please give me Instructions.

And I get this in tc_positions.

{"id":3193,
"protocol":"gt06",
"deviceid":7,
"servertime":"2021-11-26T07:31:18.000+00:00",
"devicetime":"2021-11-26T02:01:16.000+00:00",
"fixtime":"2021-11-26T02:01:16.000+00:00",
"valid":0,"latitude":27.559753333333333,
"longitude":76.63630222222223,
"altitude":0.0,
"speed":0.0,
"course":295.0,
"address":null,
"attributes":"{\"sat\":8,
               \"ignition\":false,
               \"event\":14,
               \"archive\":false,
               \"odometer\":34177820,
               \"distance\":0.0,
               \"totalDistance\":8712863.77,
               \"motion\":false,
               \"hours\":1860000
               }",
"accuracy":0.0,
"network":"{
               \"radioType\":\"gsm\",
               \"considerIp\":false,
               \"cellTowers\":[{\"cellId\":11383,
                                \"locationAreaCode\":482,
                                \"mobileCountryCode\":404,
                                \"mobileNetworkCode\":70
                                }
                               ]
                              }"
}

Here accuracy is 0.0, But I was getting direction value by the same GPS in my previous service.
And thanks for the instant reply.

rk98392 years ago

Sorry, I have not checked the course value. My fault. But plz replay for frequency.

Anton Tananaev2 years ago

It look like you are using some GT06-based device. How is this related to Traccar Client? You have posted it in the Traccar Client sub-forum.

rk98392 years ago

sorry, I did not check the sub-forum. But it means to change frequency of receiving data I need to config my vehicle GPS. No setting needed for Server API

Anton Tananaev2 years ago

Yes, frequency is configured on the device side. You should contact your device vendor if you don't know how to do it.