Page 1 of 1

gps stays 0 0 Freematics ONE+ Model B

Posted: Mon Jun 19, 2023 7:32 am
by migie
I send data to traccar demo server and the device shows online, but the coordinates stay 0 0 at the server. In the freematics builder dashboard I can see the that gnss has the right coordinates and in console I also see the right gps.
What could be the problem?

Re: gps stays 0 0 Freematics ONE+ Model B

Posted: Thu Jun 22, 2023 11:08 pm
by stanley
Not very sure but can you check the raw data that traccar received?

Re: gps stays 0 0 Freematics ONE+ Model B

Posted: Tue Jun 27, 2023 11:31 pm
by migie
id: UCFL****, time: 2023-06-27 13:25:53, lat: 0.00000, lon: 0.00000, course: 0.0

This is what I see in the traccar logs. I have uploaded the telelogger sketch with the freematics builder. What could be the issue?

Re: gps stays 0 0 Freematics ONE+ Model B

Posted: Tue Jul 04, 2023 1:22 am
by migie
Hi,

I have tried uploading sketch with platformIO, but the lat and lon stay 0 in traccar. However the oneplus B does have gps and connected to wifi.

Re: gps stays 0 0 Freematics ONE+ Model B

Posted: Wed Jul 05, 2023 7:38 pm
by Lino
Hi stanley,

recently we bought 20 One+ Model B.
I try to setup only 2 of 20 and I have the same problem as migie.
At the same time we have also on the same server an oldest One+ (the first we buy from you) which works correctly with the same settings and configurations.

Below the log from arduino and traccar server

Code: Select all

UCFLFTHJ#0:280103,81:-73,24:404,20:0.70;0.01;-0.32,10:9104934,82:41*F7
[CELL] 70 bytes being sent
[NET] 04:26.1 | Packet #93 | Out: 5 KB | In: 71 bytes
[GPS] 45.994678 8.898967 0km/h Course:0 2023-07-05T09:10:52.200Z
[BUF] 4 samples | 38 bytes | 1/1024

Code: Select all

2023-07-05 11:10:52  INFO: [U7ff431ec: freematics < xxx.xxx.xxx.xxx] 5543464c4654484a23303a3238323938382c32343a3430332c32303a302e36303b302e31313b2d302e31372c31303a393130353232372c38323a34312a4136
2023-07-05 11:10:52  INFO: [U7ff431ec] id: UCFLFTHJ, time: 2023-07-05 11:10:52, lat: 0.00000, lon: 0.00000, course: 0.0
Below the HEX converted

Code: Select all

UCFLFTHJ#0:282988,24:403,20:0.60;0.11;-0.17,10:9105227,82:41*A6
It appears that the coordinates are not being sent to the server.

Hope this can help.

Re: gps stays 0 0 Freematics ONE+ Model B

Posted: Thu Jul 13, 2023 9:56 pm
by stanley
Is your OBD port very inside? Device needs to be exposed to sky. Otherwise, external GNSS receiver is recommended.

Re: gps stays 0 0 Freematics ONE+ Model B

Posted: Fri Jul 14, 2023 11:02 pm
by migie
In the telelogger.ino modify this line :
if (gd->lat && gd->lng && gd->sat> 3)

to this :
if (gd->lat && gd->lng)

This worked for me, use platformIO. Works well with wifi, however with SIM it does not send data stable to traccar server.

Re: gps stays 0 0 Freematics ONE+ Model B

Posted: Sat Jul 15, 2023 11:56 am
by stanley
Thanks for sharing the tip.

Re: gps stays 0 0 Freematics ONE+ Model B

Posted: Mon Jul 17, 2023 11:29 pm
by migie
As for the SIM Network not being stable, what could be the issue?

Re: gps stays 0 0 Freematics ONE+ Model B

Posted: Fri Jul 21, 2023 4:14 pm
by stanley
GPS/GNSS is not dependent on cellular network.