Hello Everyone
i have setup a YG-119 tracker in Traccar and is working fine under the Huabao Protocol, however on the default tracking software that is provided, it shows the battery status, and also allows me to send commands to the device over data to change the polling interval and working mode.
now im not the greatest with hex and not an expert in this, so im after some guidance in any way, shape or form.
so the hex data i get from the device every time it polls is
2025-11-23 18:32:19 INFO: [Ted0f5fd5] id: 088076427003, time: 2025-11-23 18:32:16, lat: -37.90018, lon: 144.63202, course: 209.0
2025-11-23 18:32:20 INFO: [Ted0f5fd5: huabao < 49.185.103.13] 7e020000380880764270030066000000000000000602424f94089ee8d00023000000d125112307322030011e310119570800000000000000006201576301006404000000023d7e
2025-11-23 18:32:20 INFO: [Ted0f5fd5: huabao > 49.185.103.13] 7e80010005088076427003000000660200002f7e
so with the above, how would i find what bits in the hex show the battery level? and how would i then be able to put this in traccar to know how to decode it as a battery level?
i am still waiting for the seller to see if they can send me a protocol document, but all i have found online is this following link which im not 100% sure if correct, but it does show a battery parameter
https://flespi.com/protocols/cantrack#parameters
i know that at time time of posing this, the other website was showing the battery at 89-91 % so not sure if this helps
also i know i can send a sms to the unit and give it the following commands
working mode
mod(password) 0
Polling iterval (2 seconds)
itv(password) 2
the new sim card i will be getting for this device will not allow SMS, so is there a way that this can be sent over data, or would it need to be in HEX to send these commands
thanks in advance for any advise, but unfortunatley after hours of AI and looking at chinese websites, im no closer in solving this
Thanks
Hello Everyone
i have setup a YG-119 tracker in Traccar and is working fine under the Huabao Protocol, however on the default tracking software that is provided, it shows the battery status, and also allows me to send commands to the device over data to change the polling interval and working mode.
now im not the greatest with hex and not an expert in this, so im after some guidance in any way, shape or form.
so the hex data i get from the device every time it polls is
so with the above, how would i find what bits in the hex show the battery level? and how would i then be able to put this in traccar to know how to decode it as a battery level?
i am still waiting for the seller to see if they can send me a protocol document, but all i have found online is this following link which im not 100% sure if correct, but it does show a battery parameter
https://flespi.com/protocols/cantrack#parameters
i know that at time time of posing this, the other website was showing the battery at 89-91 % so not sure if this helps
also i know i can send a sms to the unit and give it the following commands
working mode
mod(password) 0
Polling iterval (2 seconds)
itv(password) 2
the new sim card i will be getting for this device will not allow SMS, so is there a way that this can be sent over data, or would it need to be in HEX to send these commands
thanks in advance for any advise, but unfortunatley after hours of AI and looking at chinese websites, im no closer in solving this
Thanks