I have a problem using 'old' and 'new' Sinotrack ST-901 trackers in one Traccar instance:
- 'old' ST-901 tracker - uses the h02 protocol and only sends text-based messages (starting with
*HQ).
- 'new' ST-901 tracker - uses the h02 protocol and sends text-based (starting with
*HQ) and binary (starting with 24) messages.
There are a lot of topics in the Traccar forum that state that the 'new' ST-901 trackers need to have h02.ack set to true to stop the endless stream of binary messages. But with h02.ack to true the 'old' ST-901 trackers do not send messages according to their interval settings anymore, but a message every couple of minutes.
So I'm a bit stuck:
- set
h02.ack to false - 'old' ST-901 trackers work fine, 'new' ST-901 trackers keep sending binary messages at an alarming rate.
- set
h02.ack to true - 'old' ST-901 trackers are almost irresponsive, 'new' ST-901 trackers send messages at an acceptable rate (but still won't go to sleep, but that is another matter)
To use both 'old' and 'new' ST-901 trackers in a Traccar instance, the h02.ack
- should be configurable per device -or-
- should be a protocol setting separately for either text-based or binary messages
Is there already a way to configure h02.ack (or any other protocol option) per device or should this be a feature request?
You can just copy the ho2 protocol to for instance ho2b and then recompile the server to run that ho2b protocol on a new port where you for instance connect your new st-901 with the preferred setting.
That crossed my mind too:
- a
h02legacy protocol - only text-based messages
- a
h02 protocol - as it is now, text-based and binary messages
But maybe I overlooked a way of doing the same without having to recompile Traccar.
And I can't imagine that I'm the only one that has this kind of issue, the ST-901 tracker is already around for a long time.
Ideally we should make it possible to configure per device or per group.
So I should ask for a feature 'configure protocol option per device or per group'. How / where do I do that?
You should use GitHub for feature requests.
I have a problem using 'old' and 'new' Sinotrack ST-901 trackers in one Traccar instance:
*HQ).*HQ) and binary (starting with24) messages.There are a lot of topics in the Traccar forum that state that the 'new' ST-901 trackers need to have
h02.ackset totrueto stop the endless stream of binary messages. But withh02.acktotruethe 'old' ST-901 trackers do not send messages according to their interval settings anymore, but a message every couple of minutes.So I'm a bit stuck:
h02.ackto false - 'old' ST-901 trackers work fine, 'new' ST-901 trackers keep sending binary messages at an alarming rate.h02.ackto true - 'old' ST-901 trackers are almost irresponsive, 'new' ST-901 trackers send messages at an acceptable rate (but still won't go to sleep, but that is another matter)To use both 'old' and 'new' ST-901 trackers in a Traccar instance, the
h02.ackIs there already a way to configure
h02.ack(or any other protocol option) per device or should this be a feature request?