Device position not updating on map and More Details but ok in Reports and Replay

BITPCa month ago

yes, that i understand, but i mean the query that is used to get the latest positionid for the device that is shown on the map.
Should be something like "select * from tc_positions where deviceid=2 order by devicetime desc limit 1" to get the actual last known position for eg device 2 to show on the map, I would expect, but clearly it is not.

seeing the query that is used would possibly help to understand why it it is showing the wrong position data from an old record.

Anton Tananaeva month ago

No, the query is simple get by position id.

BITPCa month ago

ok, but then again: how does it decide which position id to get, there it is going wrong. Anyway if we encounter this issue we can just delete the offending record and move on with life, so not ideal but no disaster. thanks for the support, regards Bart

Anton Tananaeva month ago

As I said earlier, it gets it from the devices table.