Hello,
I've configured events forwording,
I've configured a device to send SMS messages and GPRS messages if speed exceeds 120km/h, SMS messages are received correctly, traccar also forwards the event too, but the speed value received is not correct, it's 3.77, please check data received:
{ position:
{ id: 5210030824,
attributes:
{ event: 19,
alarm: 'overspeed',
sat: 10,
hdop: 0.8,
odometer: 116955903,
runtime: '128431936',
input: 2,
output: 0,
adc1: 0,
adc2: 0,
adc3: 0,
battery: 405,
power: 1443,
distance: 33.33,
totalDistance: 23326044.45,
motion: true,
temp0: 13.56 },
deviceId: 7525,
type: null,
protocol: 'meitrack',
serverTime: '2022-12-30T11:42:51.119+0000',
deviceTime: '2022-12-30T11:42:49.000+0000',
fixTime: '2022-12-30T11:42:49.000+0000',
outdated: false,
valid: true,
latitude: 36.83319,
longitude: 10.102701,
altitude: 73,
speed: 3.779699,
course: 229,
address: null,
accuracy: 0,
network: { radioType: 'gsm', considerIp: false, cellTowers: [Array] } },
event:
{ id: 368335500,
attributes: { alarm: 'overspeed' },
deviceId: 7525,
type: 'alarm',
serverTime: '2022-12-30T11:42:51.121+0000',
positionId: 5210030824,
geofenceId: 0,
maintenanceId: 0 },
device:
{ id: 7525,
attributes: {},
groupId: 0,
name: '864507038101241',
uniqueId: '864507038101241',
status: 'online',
lastUpdate: '2022-12-30T11:42:51.119+0000',
positionId: 5210029176,
geofenceIds: [],
phone: null,
model: null,
contact: null,
category: null,
disabled: false },
users: [] }
checked mysql table tc_positions for this positionId and found same wrong speed value.
Thanks
Hello,
I've configured events forwording,
I've configured a device to send SMS messages and GPRS messages if speed exceeds 120km/h, SMS messages are received correctly, traccar also forwards the event too, but the speed value received is not correct, it's 3.77, please check data received:
checked mysql table tc_positions for this positionId and found same wrong speed value.
Thanks