Hello,
I am using the iStartek VT-202 device and I'm facing a problem: although the vehicle is stopped and in park, it still shows as moving with the ignition on. How can I reset the speed and ignition status after a certain period? Is this possible?
Previously, I accessed and applied these codes, but I couldn't solve the problem:
<entry key="status.ignoreOffline">teltonika</entry>
<entry key='filter.enable'>true</entry>
<entry key='filter.distance'>50</entry>
<entry key='filter.future'>300</entry>
<entry key='filter.duplicate'>true</entry>
<entry key='report.trip.minimalTripDuration'>300</entry>
<entry key='report.trip.minimalTripDistance'>100</entry>
<entry key='report.trip.minimalParkingDuration'>300</entry>
<entry key='report.trip.greedyParking'>true</entry>
<entry key='report.trip.useIgnition'>true</entry>
<entry key='filter.maxSpeed'>250</entry>
<entry key='coordinates.filter'>true</entry>
<entry key='coordinates.minError'>50</entry>
<entry key='coordinates.maxError'>300000</entry>
<entry key='database.historyDays'>60</entry>
<entry key='server.timeout'>3900</entry>
<entry key='status.timeout'>3900</entry>
<entry key='teltonika.timeout'>3900</entry>
<entry key='osmand.timeout'>3900</entry>
It might be possible to do something about it using computed attributes.
Did ChatGPT write this code based on your recommendation?
return position.getAttributes().containsKey("ignition") && position.getAttributes().get("ignition") === true;
I have no idea how to do this for the VT202.
Can you help me figure out how to set this up?
It's not a simple thing to do, so unfortunately I don't have a solution off the top of my head. I just know that it should be possible with computed attributes.
Hello,
I am using the iStartek VT-202 device and I'm facing a problem: although the vehicle is stopped and in park, it still shows as moving with the ignition on. How can I reset the speed and ignition status after a certain period? Is this possible?
Previously, I accessed and applied these codes, but I couldn't solve the problem:
<entry key="status.ignoreOffline">teltonika</entry> <entry key='filter.enable'>true</entry> <entry key='filter.distance'>50</entry> <entry key='filter.future'>300</entry> <entry key='filter.duplicate'>true</entry> <entry key='report.trip.minimalTripDuration'>300</entry> <entry key='report.trip.minimalTripDistance'>100</entry> <entry key='report.trip.minimalParkingDuration'>300</entry> <entry key='report.trip.greedyParking'>true</entry> <entry key='report.trip.useIgnition'>true</entry> <entry key='filter.maxSpeed'>250</entry> <entry key='coordinates.filter'>true</entry> <entry key='coordinates.minError'>50</entry> <entry key='coordinates.maxError'>300000</entry> <entry key='database.historyDays'>60</entry> <entry key='server.timeout'>3900</entry> <entry key='status.timeout'>3900</entry> <entry key='teltonika.timeout'>3900</entry> <entry key='osmand.timeout'>3900</entry>