ZX612 / Topin Protocol / Battery Level

Dan Dyse5 years ago

Hey Frank, not sure yet. I am trying to make it last as long as possible. Actually, stay quiet, do nothing and only wakeup when it is needed. This not only safes power but a lot of traffic too. I haven't found a way to stop devices from sending heartbeats (they just consume data and give no information). So I am experimenting with power on/off ... but this isn't easy either. I don't want to make changes to the server and cannot adjust the firmware of the devices. So I am trying to find the best way around ...

Frank Meier5 years ago

Hi Dan, do you know exactly the difference between:

  • 0x97 server settings upload interval
  • heartbeat packet upload interval
    What are your settings? I have a "strange" behavior with my ZX612.

Power on/off only works with SMS commands with my ZX612, are you able to send these commands via traccar?

My concern: if you have "Power off"... device is in "sleep mode" and still needs some battery power... at one point battery is empty and you won't get a notification; correct?

Dan Dyse5 years ago

My ZX612 (firmware version 62) heartbeat is set to 180 seconds and cannot be changed. Not with SMS, not by server. No idea why. ZX303 (firmware 81) accepts changes to heartbeat interval, but the limit seems to be 10 minutes (600). Heartbeats don't send any useful information. I consider it useless, just wasting power and data. I'd love to disable them and just go with status updates instead.

Be sure to have correct date/time setting before sending commands to change heartbeat or status interval or power off/on. Both server and device. Traccar does not respond properly to timestamp sync requests of Topin devices. You can try setting it with command 0x30 or change server to 365gps.com, wait a little and switch back to your Traccar server.

I believe 0x97/0x98 is for SMS only. I am not using SMS commands.

Power on/off only works when devices are not connected to USB/power. This is because devices are set to wakeup when they get power. I still need to see what happens when the battery dies ... really hoping for a notification. Sending power off/on commands to ZX612 works good.

Frank Meier5 years ago

Thx for your help, this made me crazy. I have FW71... but think heartbeat chan't be changed either.
Will see what devices I can get the next weeks.

What Power on/off commands are you using? Protocol description is quite confusing to me.
THX (again)...!

Dan Dyse5 years ago

I am using 0x34 to power off/on. Documentation is hard to understand. What I have found working is something like this:
78780E3401000000000001011705011610000D0A

The device will fall asleep at 16:10 and wakeup 17:05. ZX303 sends a confirmation command 0x14 at 16:10 just before shutting down. When it wakes up it sends a full status including last and current location. Traccar throws a notification "online".

Frank Meier5 years ago

Dan, what I see in my log-file is that "upload interval" is only relevant if device is not moving?
If device is moving it will upload every 2mins? What is the mechanism behind this? Any chance to modify something in the device or even server setting?
Who is triggering? Thx!

How is your progress with ZX303? Still waiting for the devices :-(

Dan Dyse5 years ago

Not sure, I am moving around with my device(s), doesn't make a difference, must be your setting?! I have set devices to stop uploading at all (protocol 0x44) and doing "manual" requests. ZX303 works better than 612 for me. As far as I know they have canceled production of 612, just selling what's left on stock. Understanding the "documentation" is hard, some things simply don't make sense, others don't work. After all, this is a cheap chinese product. We have to be lucky it is working and not too much spying on us ...

Dan Dyse5 years ago

Hey Frank, I am having difficulties again ... everytime ZX303 devices wakeup (from power off), they seem to have the wrong date/time. It's always one hour in the future ... I am not sure why and how to fix this. Of course I can send commands after wakeup to set it right, but that doesn't sound good. The status packet says it is "time zone 8 (east)" ... but there's no way to set a different one. What time zone is yours?

Frank Meier5 years ago

HEX: 7878071350470810400d0a
Also Time Zone 8 - time is well synced if there ist GPS signal available...

2020-06-09 13:44:13 INFO: [11be8662] id: 359339075029xxx, time: 2020-06-09 13:44:11, lat: xxxxx, lon: xxxxx, course: 348.0

Dan Dyse5 years ago

I see, that's a ZX612, right?
Mine looks like this:
2020-06-08 12:00:44 INFO: [b163a241: topin < 5.35.166.142] HEX: 787815101406080b002c** ...
2020-06-08 12:00:44 INFO: [b163a241: topin > 5.35.166.142] HEX: 78781510140608
0b002c**0d0a
2020-06-08 12:00:44 INFO: [b163a241] id: 35933907542xxxx, time: 2020-06-08 13:00:44, lat: xxx, lon: xxx, course: 66.0
You can see the HEX from the device has wrong time in it ... annyoing!

Frank Meier5 years ago

Yes, you're right - still struggling with my ZX612 as I am waiting for my other devices ZX302/ZX303...
I see you have the same SIM provider ;-) Still searching for a way to have a 1:1 exchange and not annoying people with our private conversation in this forum!??
Anton, can't we really exchange our email to have private discussions about our projects (not traccar relevant!)??

Dan Dyse5 years ago

I have written Anton my address and asked to forward it to you. No reply yet.

Anton Tananaev5 years ago

I have provided an email as an exception. We don't allow personal contacts here because I've seen a lot of abuse in the past where people go to a great length to try and promote their services without providing any value to the forum.

vishnu k4 years ago

hii Dan Dyse
what is the identifier of zx303 device .it is imei number?,pls help

Hristo4 years ago

@ vishnu k
Yes, it is the imei number.