Different Teltonika devices use different ids.
Is this TeltonikaProtocolDecoder supports FMB120?
Hi,
This is the result of sql server query on position,
when ignition is on.
position query
Hi Jack s,
Case 239 is correct for FMB120 ignition, refer to avl below.
https://wiki.teltonika-gps.com/view/FMB120_AVL_ID
If you set ignition to be triggered by DIN1 on FMB120 traccar server will show ignition as on when di1 is powered on the Teltonika device.
Ok, thank you Pete.
Вы путаете, это разные параметры. Вот вам подробный отчет.
Событие 239 генерируется трекером:
Параметр 101 отвечает за установку одного из 14 вариантов распознавания режима зажигания. Которое, если будет распознано, отправит вам параметр 239.
Установка этого параметра через смс (два пробела если нету логина и пароля) setparam101:idnumber
Ссылка на этот параметр и описание к нему здесь.
Jack, just use copy.attribute in Traccar config file
Kaloyan, If you do that, you will miss other important messages. The event must be one, without repetition.
Yes, but we are talking about event 239. You only need to send ignition once, becouse there are many other events on the line. I am telling about 253(eco), 240(moving),246(towing) and many others.
p.s. great web interface ;)
Hello,
When I monitor Ignition through the configurator it is always 1 but through the program in debug mode it is random 1 or 0 or not enter the case 239, Is there an explanation for this?
and the Id of Ignition in configurator is 101 but in code is 239, why you put it 239?
Ignition Status Image
Ignition Config Image
// TeltonikaProtocolDecoder, when monitor val I see 0,1 or not enter this case case 239: long val = readValue(buf, length, false); position.set(Position.KEY_IGNITION, val == 1); break;
Could you please help me?