gps stays 0 0 Freematics ONE+ Model B

Inquiry and support for Freematics products
Post Reply
migie
Posts: 6
Joined: Fri Jun 16, 2023 10:11 pm

gps stays 0 0 Freematics ONE+ Model B

Post 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?
stanley
Site Admin
Posts: 1039
Joined: Sat Mar 01, 2014 3:15 am

Re: gps stays 0 0 Freematics ONE+ Model B

Post by stanley »

Not very sure but can you check the raw data that traccar received?
migie
Posts: 6
Joined: Fri Jun 16, 2023 10:11 pm

Re: gps stays 0 0 Freematics ONE+ Model B

Post 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?
migie
Posts: 6
Joined: Fri Jun 16, 2023 10:11 pm

Re: gps stays 0 0 Freematics ONE+ Model B

Post 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.
Lino
Posts: 1
Joined: Wed Jul 05, 2023 7:19 pm

Re: gps stays 0 0 Freematics ONE+ Model B

Post 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.
Last edited by Lino on Wed Jul 05, 2023 9:27 pm, edited 5 times in total.
stanley
Site Admin
Posts: 1039
Joined: Sat Mar 01, 2014 3:15 am

Re: gps stays 0 0 Freematics ONE+ Model B

Post by stanley »

Is your OBD port very inside? Device needs to be exposed to sky. Otherwise, external GNSS receiver is recommended.
migie
Posts: 6
Joined: Fri Jun 16, 2023 10:11 pm

Re: gps stays 0 0 Freematics ONE+ Model B

Post 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.
stanley
Site Admin
Posts: 1039
Joined: Sat Mar 01, 2014 3:15 am

Re: gps stays 0 0 Freematics ONE+ Model B

Post by stanley »

Thanks for sharing the tip.
migie
Posts: 6
Joined: Fri Jun 16, 2023 10:11 pm

Re: gps stays 0 0 Freematics ONE+ Model B

Post by migie »

As for the SIM Network not being stable, what could be the issue?
stanley
Site Admin
Posts: 1039
Joined: Sat Mar 01, 2014 3:15 am

Re: gps stays 0 0 Freematics ONE+ Model B

Post by stanley »

GPS/GNSS is not dependent on cellular network.
Post Reply