Zx620

Francois5 years ago

On your site under protocols you do have a file called ZhongXun Topin Locator Communication Protocol.pdf. However there is a difference between the one on your site and the one in the link :https://drive.google.com/open?id=12oa3b1QLAx1d7lys-n-XXmp5dDsloU1l . I think th zx620 only works with LBS positioning.

Francois5 years ago

Good day Anton

Hope you are well?
Here below is a cut of the log file. It seems to me the device does not have a GPS, it uses LBS.
The server needs to reply to 7878001719011514542505028f0100bc427d46007a91b650007a3d2e5a007a8d1a5a00bc90895a0d0a

as per

 0x17 offline wifi data

The resolution of this protocol is the same as 0x69, indicating offline WIFI LBS data.
Start bit 2byte WIFI number 1byte Protocol number 1byte Date time 6byte WIFI data Length indefinite fixed format LBS data Length indefinite fixed format Stop bit 2byte

Eg. 7878 00 17 170622123031 07 01cc00 11aeaad432 11aeaad432 11aeaad432 11aeaad432 11aeaad432 11aeaad432 11aeaad432 0d0a
This is the lbs positioning without wifi

The server must reply to the protocol number plus time when receiving the data.
Start bit 2byte packet length 1byte protocol number 1byte time 6byte end bit 2byte
7878 00 17 170622123031 0d0a
Note: The data of this data data length of 1byte is not the same as the actual length. Please take the data in the data format. 
2019-01-16 17:54:14 DEBUG: [B5C0E62B: 5023 < 41.13.18.251] HEX: 787812100000000000009000000000000000000020000d0a
2019-01-16 17:54:14 DEBUG: [B5C0E62B: 5023 > 41.13.18.251] HEX: 787805100000171c0d0a
2019-01-16 17:54:14  INFO: [B5C0E62B] id: 359339075510991, time: 1999-11-30 00:00:00, lat: -0.00000, lon: 0.00000, speed: 0.0, course: 0.0
2019-01-16 17:54:21 DEBUG: [B5C0E62B: 5023 < 41.13.18.251] HEX: 7878001719011514542505028f0100bc427d46007a91b650007a3d2e5a007a8d1a5a00bc90895a0d0a
2019-01-16 17:54:21  INFO: [B5C0E62B] id: 359339075510991, time: 2019-01-16 14:46:46, lat: -0.00000, lon: 0.00000, speed: 0.0, course: 0.0
2019-01-16 17:55:21 DEBUG: [B5C0E62B: 5023 < 41.13.18.251] HEX: 787801080d0a
2019-01-16 17:55:21 DEBUG: [B5C0E62B: 5023 > 41.13.18.251] HEX: 78780508787895800d0a
2019-01-16 17:55:23 DEBUG: [B5C0E62B: 5023 < 41.13.18.251] HEX: 787812100000000000009000000000000000000020000d0a
2019-01-16 17:55:23 DEBUG: [B5C0E62B: 5023 > 41.13.18.251] HEX: 787805100000171c0d0a
2019-01-16 17:55:23  INFO: [B5C0E62B] id: 359339075510991, time: 1999-11-30 00:00:00, lat: -0.00000, lon: 0.00000, speed: 0.0, course: 0.0
2019-01-16 17:55:31 DEBUG: [B5C0E62B: 5023 < 41.13.18.251] HEX: 7878001719011514542505028f0100bc427d46007a91b650007a3d2e5a007a8d1a5a00bc90895a0d0a
2019-01-16 17:55:31  INFO: [B5C0E62B] id: 359339075510991, time: 2019-01-16 14:46:46, lat: -0.00000, lon: 0.00000, speed: 0.0, course: 0.0
2019-01-16 17:56:33 DEBUG: [B5C0E62B: 5023 < 41.13.18.251] HEX: 787801080d0a
2019-01-16 17:56:33 DEBUG: [B5C0E62B: 5023 > 41.13.18.251] HEX: 78780508787895800d0a
Francois5 years ago

Hi Anton
Did you receive the protocol documentation ?
Kind regards

Anton Tananaev5 years ago

Yes.

Hi Anton,
I cannot seem to locate the protocol folder on our linux server, can you maybe point me in the right direction?

Thanks in advance

Anton Tananaev5 years ago

How is it related to the topic? Also, why do you expect to have protocol folder on the server?

Francois5 years ago

Hi Anton
Will you be able to add the few new fuction to the protocol I have send to you? So I can get the LBS and wifi coordinates on traccar? Much of it is the same as the one you already created for the zx612. Price?

Anton Tananaev5 years ago

Send email to support address to discuss.

Francois5 years ago

Ok thanks

Igor Baev4 years ago

Здравствуйте, подскажите как правильно отправить команды указанные в протоколе?

Igor Baev4 years ago

к примеру:
0x61 light switch
Server to device
Start bit 2byte packet length 1byte protocol number 1byte flag bit 1byte end bit 2byte
Eg.7878 02 61 01 0D0A
Mark 01 turns on the light, 00 turns off the light
Отправляю пользовательскую команду : 78780261000D0A но команда не выполняется
Данные протокола https://yadi.sk/i/o5T4cuVrlodqTw

Anton Tananaev4 years ago

Не пишите пожалуйста по-русски в английских тредах. Если хотите на русском спросить - создайте отдельный топик, но шансов на ответ будет меньше чем если по-английски спросите.

Igor Baev4 years ago

Hello, tell me how to correctly send the commands specified in the protocol?
eg:
0x61 light switch
Server to device
Start bit 2byte packet length 1byte protocol number 1byte flag bit 1byte end bit 2byte
Eg.7878 02 61 01 0D0A
Mark 01 turns on the light, 00 turns off the light
I send the user command: 78780261000D0A ,but the command is not executed.

Protocol https://yadi.sk/i/o5T4cuVrlodqTw

Thank you.

Harol Panis4 years ago

https://www.traccar.org/forums/topic/zx620/page/2/#post-39463

What did you do to work this ZX620 using the LBS and WiFi positioning? I am having trouble with this device. Please help me.

2020-09-02 10:44:09  INFO: [9f0c8259] connected
2020-09-02 11:46:51  INFO: user: 1, action: create, object: device, id: 1
2020-09-02 11:46:51  INFO: user: 1, action: link, owner: user, id: 1, property: device, id: 1
2020-09-02 11:59:47  INFO: [8c1cc005] connected
2020-09-02 11:59:47  INFO: [8c1cc005: gt06 < REDUCTED] HEX: 78780d010359339075581786490d0a
2020-09-02 11:59:47  INFO: [8c1cc005: gt06 > REDUCTED] HEX: 787805015817b15c0d0a
2020-09-02 12:01:32  INFO: user: 1, action: edit, object: device, id: 1
2020-09-02 12:05:41  INFO: [70aa6d41] connected
2020-09-02 12:06:49  INFO: [70aa6d41] disconnected
2020-09-02 12:06:53  INFO: [b4898718] connected
2020-09-02 12:06:53  INFO: [b4898718: gt06 < REDUCTED] HEX: 78780d010359339075581786490d0a
2020-09-02 12:06:53  INFO: [b4898718: gt06 > REDUCTED] HEX: 787805015817b15c0d0a
2020-09-02 12:12:40  INFO: user: 1, action: edit, object: device, id: 1
2020-09-02 12:22:07  INFO: [8f8ff16d] connected
2020-09-02 12:22:07  INFO: [8f8ff16d: gt06 < REDUCTED] HEX: 78780d010359339075581786490d0a
2020-09-02 12:22:07  INFO: [8f8ff16d: gt06 > REDUCTED] HEX: 787805015817b15c0d0a
2020-09-02 12:22:51  INFO: [8f8ff16d] disconnected
2020-09-02 12:23:21  INFO: [14dc6d1b] connected
2020-09-02 12:23:52  INFO: [14dc6d1b] disconnected