Hi
I have been looking into the TeltonikaProtocolDecoder.java code, specifically regarding how engine hours are handled for FMB devices.
From what I can see in the decoder, IO 239 is correctly mapped to Position.KEY_IGNITION, but I do not see any mapping for IO 102 (Total Engine Hours) to Position.KEY_HOURS or Position.KEY_ENGINE_HOURS.
Does this mean that Traccar currently ignores the engine hours reported by the Teltonika device and relies entirely on the server side EngineHoursHandler to calculate hours based on the ignition status?
If I want Traccar to use the actual engine hours value sent by the device (AVL ID 102) instead of calculating it virtually, do I need to manually modify the decoder to map IO 102 to Position.KEY_HOURS, or is there a configuration parameter I am missing?
Thanks
You can use computed attributes to map raw IO value.
Hi
I have been looking into the TeltonikaProtocolDecoder.java code, specifically regarding how engine hours are handled for FMB devices.
From what I can see in the decoder, IO 239 is correctly mapped to Position.KEY_IGNITION, but I do not see any mapping for IO 102 (Total Engine Hours) to Position.KEY_HOURS or Position.KEY_ENGINE_HOURS.
Does this mean that Traccar currently ignores the engine hours reported by the Teltonika device and relies entirely on the server side EngineHoursHandler to calculate hours based on the ignition status?
If I want Traccar to use the actual engine hours value sent by the device (AVL ID 102) instead of calculating it virtually, do I need to manually modify the decoder to map IO 102 to Position.KEY_HOURS, or is there a configuration parameter I am missing?
Thanks