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?
gps stays 0 0 Freematics ONE+ Model B
Re: gps stays 0 0 Freematics ONE+ Model B
Not very sure but can you check the raw data that traccar received?
Re: gps stays 0 0 Freematics ONE+ Model B
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?
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
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.
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
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
Below the HEX converted
It appears that the coordinates are not being sent to the server.
Hope this can help.
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
Code: Select all
UCFLFTHJ#0:282988,24:403,20:0.60;0.11;-0.17,10:9105227,82:41*A6
Hope this can help.
Last edited by Lino on Wed Jul 05, 2023 9:27 pm, edited 5 times in total.
Re: gps stays 0 0 Freematics ONE+ Model B
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
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.
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
Thanks for sharing the tip.
Re: gps stays 0 0 Freematics ONE+ Model B
As for the SIM Network not being stable, what could be the issue?
Re: gps stays 0 0 Freematics ONE+ Model B
GPS/GNSS is not dependent on cellular network.