Why Traccar doesn't receive some io*?

Primtek23 days ago

Hi

I use FMB001 and I try to connect it to Wialon, I received message below:

prior=0, event_io_id=0, total_io=33, io_239=1, io_240=1, io_80=5, gsm=3, io_21=3, io_200=0, io_69=2, io_113=82, io_263=2, io_303=0, io_251=1, io_246=0, io_252=0, pdop=0, io_181=0, hdop=0, io_182=0, pwr_ext=15.199, io_66=15199, io_24=0, lac=1206, io_206=1206, pwr_int=4.037, io_67=4037, io_68=118, io_13=9, io_17=0, io_18=64580, io_19=64511, io_15=0, mcc=510, mnc=10, io_241=51010, io_199=0, io_16=62128082, io_12=2244092, io_449=1678497, io_11=894447750000, io_238=0, io_14=2591315, iccid=8944477500002591315

Traccar's tc_position:

{"priority":0,"sat":4,"event":0,"ignition":false,"motion":true,"io80":5,"rssi":5,"io200":0,"io69":1,"io113":100,"io263":1,"io303":1,"io30":0,"io31":38,"io33":250,"io35":73,"io37":33,"io38":23,"io41":15,"io50":100,"io251":0,"io246":0,"io252":0,"pdop":3.3000000000000003,"hdop":3.2,"power":12.898,"io24":5,"io206":1206,"battery":4.126,"io68":0,"io13":9,"axisX":-81,"axisY":17,"axisZ":22,"io15":1000,"io36":1494,"io42":520,"io43":0,"io45":801,"io49":9239,"io51":13232,"io52":58,"operator":51010,"tripOdometer":554,"odometer":62152361,"io12":2243939,"io449":1677445,"io389":63365,"io390":370,"io11":894447750000,"io238":0,"io14":2591315,"io387":"2d3036323435342e363530302b313036363236332e313833332b3030302e3032322f","vin":"MHRRW1880NJ202703","distance":224.98707336531274,"totalDistance":568000.4501365165,"rpm":1494,"Fuel Rate GPS":0.09,"batteryLevel":100,"Eco Score":10.0,"ICCID1":"894447750000","ICCID2":"2591315","GSM":"Best","GNSS Speed":5,"hours":113156930}

but why Traccar doesn't receive some of ios like:

io_240
io_239
io_21
io_181
io_182
io_66
io_67
io_17
io_19
io_119
io_16

what should I consider to check?

Track-trace23 days ago

The logfile?

Kaloyan Kanev23 days ago

If you make little bit research, you will see everything is correct...
For example the IO_239 and IO_240 is already parsed as: "ignition":false,"motion":true

Don22 days ago

@Kaloyan,
you are right, but I don't understand the io36 (rpm) is also correct, looks like I don't understand about how the compute attributes and notification work, I tried a small test like:

Alarm
rpm ? (rpm > 700? "highRpm" : null) : null --> I believe this should be triggered since the normal min rpm value is 1000
String

then I go to Notification then set the type to Alarm and select the High RPM.

wait for an hour, but never triggered, I go to tc_positions and found the following that make me more curious:

{"priority":1,"sat":0,"event":253,"ignition":true,"motion":true,"io80":5,"rssi":4,"io200":0,"io69":2,"io113":96,"io263":2,"io303":1,"io251":0,"io246":0,"io252":1,"pdop":0.0,"hdop":0.0,"power":0.0,"io24":0,"io206":1206,"battery":3.8850000000000002,"io68":0,"io13":9,"axisX":-275,"axisY":295,"axisZ":-2037,"io15":1000,"io260":6200,"operator":51010,"tripOdometer":28,"odometer":62166187,"io12":2251481,"io449":1693447,"io11":894447750000,"io238":0,"io258":277820026189756,"io259":278679000840524,"io14":2591315,"io387":"2d3036323730312e303636372b313036363138322e343833332b3030302e3030302f","distance":0.0,"totalDistance":607094.4495683591,"ICCID2":"2591315","Eco Score":10.0,"ICCID1":"894447750000","Fuel Rate GPS":0.09,"GSM":"Good","hours":118307930,"vin":"MHRRW1880NJ202703","io36":779,"rpm":1608}

see (last line) why the io36 value is different with rpm value

Kaloyan Kanev22 days ago

Try: rpm ? (io36 > 700? "highRpm" : null) : null and use Test button before to save it