Issue decoding teltonika analog input

fzivkovic14 days ago

Hi, I'm having issues with traccar server decoding data from teltonika devices. Device has connected 2 analog inputs but i don't see value from analog input 2 (adc2) in traccar attributes column in tc_positions table instead its stored as io6, adc1 works properly.

Tracker that is sending data is teltonika fmb140 and I checked in teltonika configuration tool, analog inputs are configured properly.

Digging through traccar source code I found out that traccar is looking for io10 as adc2 for teltonika but on teltonika io list its described that analog input 2 is coming on io6.

Link to that problematic line in traccar source code

Anton Tananaev14 days ago

Have you set the device model?