Ok, but can you tell me wich value you get in this attribute event throught your teltonika protocol ?
Thanks
I have no idea what you are talking about. How would I know the value?
Sorry my english is bad.
I understand that you don't know the code definition.
But can you tell me where you get this code in the raw data of teltonika
I still don't understand what you mean. Maybe source code will answer your question:
Ok i understand i thought that is an attribute that you mapping in standart traccar attribute event but it is a TELTONIKA attribute Event ID like ioXXX
I found it, it's driver event
Thanks
Hello,
i found the definition of all codes for io Value.
But i have a problem with the io113 which is 65216 – Service Information.
i receive a long integer like 4294958841 but the real value in teltonika protocol is : -8455 / 4294958841.
Why traccar keep only the last value ? after the /
Thanks
PS : i have the 3.10 version of traccar
after investigation from the raw data i think that i found a solution
in reality i receive : FFFFDEF9
if i split this value in two parts : FFFF and DEF9, i found 65535 and 57071
And the result of 57071-65535 = -8454, the expect value
You think that is correct ?
i write this function in mysql for select statement :
conv(substr(conv(JSON_EXTRACT(attributes, '$.io113'), 10, 16),5,4),16,10)-
conv(substr(conv(JSON_EXTRACT(attributes, '$.io113'), 10, 16),1,4),16,10)
Both values are the same on the binary level. One is unsigned integer and the other one is signed.
Hello
I don't understand what you mean.
The value -8455 and 4294958841 are same ?
Can you explain me plz ?
Maybe this would help:
Hi Dez,
Can you help me with the IO definitions for measuring the Fuel Sensor.
I have FM5300 with Sensor installed. How to get the IO for fuel level ?
Thanks,
Ermali
Hi Ermalbaj
Sorry for my late response ...
what did you mean by Fuel Sensor ?
You have sensor accessorie to measure fuel level connected to FM5300 ?
i don't use this accessorie i get the fuel level directly from CAN.
Hi Dez,
i have installed DUT-A sensor device which measure the level of fuel and this device
is connected with FM5300 and should receive analog data.
but i dont receive any IO protocol from teltonika. how do you get fuel level from CAN?
do you have the latest teltonika protokol or manual ? please send to me
ermalbaj@gmail.com
Best Regards,
Ermali
Hello,
Sorry but this document are confidential and i can't send you.
But with Google Cahe i retreive version of manual
Fuel Tank sensors
A fuel tank level sensor exists in most of the cars, which shows the approximate fuel level in the driver’s indicator panel. It is possible to connect FM5300 Analog input (if sensor returns analogue signal proportional to fuel level). Figure describes the connection scheme to the FM5300 and fuel tank sensor. After the connection to the tank fuel level sensor, calibration is needed. Calibrations needed due of the fact that most fuel tank sensors are not linear. Calibration is being performing by measuring voltage dependence on volume of fuel in tank.
And more a docuementation with DUT-E device
Bye
I don't. You should check with Teltonika.