GF-21 (S1903-Watret) Not sending coordinates in logs. Port 5010.
TRVYP16,09701210000020020010204000099992#
Dear Anton, help with this solution in traccar. I'm grateful.
GF-21 PCB S1903
Hi,
I have the same one and using Traccar. It is working on port 5023. But this device has the problem, it is automatically changing the set server to 360gps when unreachable. Try fix it with using another parameter: Use Server#yourdomain#port# instead of Domain#yourdomain#port# and the device never will change the server.
Hi, Port 5023 does not work in my case. only port 5010 and coordinates do not work.
Hi, and why? Does your device work with another protocol? My GF21 has Topin and works on port 5023.
Despite being similar, the protocol is the S1903. watt. Works on port 5010. Does not send location. Anyone who can adapt this protocol will be grateful.
Tracker
Despite being similar, the protocol is the S1903. watt. Works on port 5010. Does not send location. Anyone who can adapt this protocol will be grateful.
I have the same problem, did you find anything?
Hi Anton, Tracker and Henrique,
I think I have figured it out a little.
According to documentation from Tracker's link I can spot coordinates sent in hex:
5452565950313432323032303741353130372e353239374e30313635382e30303538453030302e303230323335343234362e3538313030303037313030303030303130303030342c3236302c30362c333033392c33333832332c4e4554494153504f547c30302d31322d32412d39462d41452d45387c2d3836264e4554494153504f547c33302d46442d36352d36392d42412d35387c2d3835265053342d31374541417c41382d34372d34412d39382d31442d32427c2d383023
Translates to:
TRVYP14220207A5107.5297N01658.0058E000.0202354246.581000071000000100004,260,06,3039,33823,NETIASPOT|00-12-2A-9F-AE-E8|-86&NETIASPOT|30-FD-65-69-BA-58|-85&PS4-17EAA|A8-47-4A-98-1D-2B|-80#
Where letter A means it has valid GPS coordinates, sometimes there is a letter V which means it takes LBS data.
Below you can find an example from protocol documentation:
TRVYP14080524A2232.9806N11404.9355E000.1061830323.870600090800010200011,460,0,952
0,3671,Home|74-DE-2B-44-88-8C|97&Home1|74-DE-2B-44-88-8C|97&Home2|74-DE-2B-44-88-
8C|97& Home3|74-DE-2B-44-88-8C|97#
Detailed:
TRV Identifier
YP14: Command word
080524: May 24, 2008
A:"A" means the data is valid, "V" is invalid, if it is V, then take LBS data
2232.9806N11404.9355E000.1: If the longitude and latitude are invalid, it can be all
0 by default, such as 0000.0000N00000.0000E
22 degrees32.9806N, 114 degrees 04.9355E, speed: 000.1 km / h
(如经纬度无效,可默认全为0,如0000.0000N00000.0000E
北纬 22 度 32.9806 分,东经 114 度 04.9355 分,速度为 000.1 km/h)
061830: 06:18:30 GMT
323.87:Direction angle 323.87°
I made it online on TRV protocol on ports 5010, 8011, 6100. Output everytime is the same. This GPS coordinates are showing neighbourhood of Wroclaw, Poland, which might be correct, as I'm testing it indoors. On open sky it will probably be more accurate.
Anyhow, I would like to ask Anton to maybe take a look on this output and try to compare it with TRV protocol and maybe create an adjusted clone with interpretation of this hex :)
I wish I was a developer, so I could do it myself, but one I can help with is getting some more data and possible tests on different ports.
Thanks in advance :)
PS Device also discovers surrounding WiFi networks (also visible in decoded HEX)
If someone is interested in sponsoring this work, please send us an email.
I just noticed, that I have the same problem. Though my device is labeled as GF-22 it behaves exactly the same:
I also tried to setup an upload interval by SMS md#30
.
It does send coordinates, but in changed format than TRV protocol. I have tried changing decoder and compiling Traccar from sources, but no luck. After two days of battle I just ordered from aliexpress another one marked as zx303 topin tracker. I advise to do the same, this new one works :)
hej, Anton Tananaev
i would be intrsted to get the GF-21 working in traccar.. since i ordeerd 100+pcs to use with traccar.
Please send an email.
Hi, any updates for this equipment GF-21 TRV protocol to send coordinates in Traccar?
I don't really need it, but if you need help with it, you can always reach out.