Position is not being update

RyD 3 years ago

Good morning, I have a problem with the platform, several devices are receiving information but it is not updated on the platform. only updates, last connection. I fixed that the field in lastupdate of tc_devices is updated
In the tc_positions table the server is receiving the information, and it is updated.
But in the positionid field of the tc_devices table it has an id not updated, that is, it keeps an old position id

Example:
Tc_devices table
id = 103
lastupdate = 2021-11-11 13:53:17
positionid = 56828979

Tc_positions table
id = 56861758
deviceid = 103
servertime = 2021-11-11 13:53:17
devicetime = 2021-11-11 13:53:10
fixtime = 2021-11-11 13:53:10

Anton Tananaev3 years ago

What does position 56828979 look like?

RyD 3 years ago

What is happening is that the positionId of the tc_devices table is not being updated, and the device keeps showing a previous location date.
So if we go to the tc_positions table, there is the most up-to-date data for that device.
The tc_devices.positionId should match the tc_positions.id

Seelight2 years ago

I have a similar problem, how can I solve it?

Richard Acosta2 years ago

Check your device/s config. and if they are having proper GPS connection.
Check LOGS to see what your device is reporting to server.

Something like this happens to me when some devices (that sense ignition) are not properly connected. (specially gt06 generics)
And In the case of gt06 devices that seems to have everything ok, mostly give them time, plenty time stationary.