Hello everyone,
I’m using a Teltonika GPS tracker that’s wired to a JT606X fuel‐level sensor inside the tank. Unlike sensors using the LLS protocol, the JT606X only returns data when explicitly polled—it does not send fuel readings periodically on its own.
My goals are:
- Automatically send the JT606X query command at regular intervals (e.g. every 60 seconds or so).
- Receive and parse the raw response to extract the fuel level in litres.
- Implement this entirely within Traccar (ideally via configuration or a custom command script), since modifying the Teltonika firmware isn’t feasible.
Question:
Does Traccar support scheduling and sending arbitrary on‐demand commands to devices? & decoding custom binary responses into meaningful measurements (litres)?
Thanks in advance
Traccar does not support scheduling commands, but you can probably write a simple script using API for that.
Hi Anton,
First—thanks for everything you do for the community! we really appreciate your guidance.
I’ve been thinking about how to build this more “natively” in Java. Specifically, I’d like to extend Traccar’s Teltonika protocol handler so that it:
1/Schedules a JT606X poll (e.g. every 60 s) within the server process
2/Parses the returned binary frame and converts it to a fuel‑level attribute
Which classes in the Traccar GitHub repo should I look at, and is there an existing example of a protocol plugin or custom decoder I can model?
Thanks
I would start with TeltonikaProtocolDecoder
class.
Hello everyone,
I’m using a Teltonika GPS tracker that’s wired to a JT606X fuel‐level sensor inside the tank. Unlike sensors using the LLS protocol, the JT606X only returns data when explicitly polled—it does not send fuel readings periodically on its own.
My goals are:
Question:
Does Traccar support scheduling and sending arbitrary on‐demand commands to devices? & decoding custom binary responses into meaningful measurements (litres)?
Thanks in advance