『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 12021|回复: 13

[技术探讨] 有用途强GT550在Traccar里面获取不到经纬度的吗?

[复制链接]

9

主题

360

帖子

1192

积分

金牌会员

Rank: 6Rank: 6

积分
1192
金钱
832
HASS币
0
发表于 2019-8-29 09:43:51 | 显示全部楼层 |阅读模式
本帖最后由 tiger81 于 2019-8-29 09:56 编辑

Traccar里面显示已连接,但是经纬度全为0,已经短信RESET#重启模块还是一样。服务器用手机测试正常。平台用windows和ubuntu里面分别测试故障相同。模块应该没问题,用官方的途强在线测试正常。实在搞不定,故求解!!!


————————————————————————————————————————————————————————
后台日志里面偶尔有经纬度值,具体内容如下:
2019-08-29 09:06:11  INFO: [48979a85] connected
2019-08-29 09:06:11  INFO: [48979a85: gt06 < 127.0.0.1] HEX: 7878110108657390400*****50043202006c2b740d0a
2019-08-29 09:06:11  INFO: [48979a85: gt06 > 127.0.0.1] HEX: 78780501006c613f0d0a
2019-08-29 09:06:12  INFO: [48979a85: gt06 < 127.0.0.1] HEX: 78780a130406030001006d0c000d0a
2019-08-29 09:06:12  INFO: [48979a85: gt06 > 127.0.0.1] HEX: 78780513006d409b0d0a
2019-08-29 09:06:13  INFO: [48979a85] id: 8657390400*****, time: 2019-08-29 09:06:12, lat: 0.00000, lon: 0.00000, course: 0.0
2019-08-29 09:06:14  INFO: user: 1, action: login
2019-08-29 09:09:15  INFO: [48979a85: gt06 < 127.0.0.1] HEX: 78780a130406030001006e3e9b0d0a
2019-08-29 09:09:15  INFO: [48979a85: gt06 > 127.0.0.1] HEX: 78780513006e72000d0a
2019-08-29 09:09:15  INFO: [48979a85] id: 8657390400*****, time: 2019-08-29 09:09:15, lat: 0.00000, lon: 0.00000, course: 0.0
2019-08-29 09:12:12  INFO: [48979a85: gt06 < 127.0.0.1] HEX: 78780a130406030001006f2f120d0a
2019-08-29 09:12:12  INFO: [48979a85: gt06 > 127.0.0.1] HEX: 78780513006f63890d0a
2019-08-29 09:12:12  INFO: [48979a85] id: 8657390400*****, time: 2019-08-29 09:12:12, lat: 0.00000, lon: 0.00000, course: 0.0
2019-08-29 09:14:08  INFO: [c673de7d] connected
2019-08-29 09:14:08  INFO: [c673de7d: osmand < 127.0.0.1] HEX: 504f5354202f3f69643d3635343332312674696d657374616d703d31353637303431323438266c61743d33342e3233363439323638323234303434266c6f6e3d3130392e30373931353936353931303038312673706565643d302e302662656172696e673d302e3026616c7469747564653d3538312e302661636375726163793d302e3026626174743d33392e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a686f73743a207379647878792e66333332322e6e65743a353035350d0a636f6e74656e742d6c656e6774683a20300d0a436f6e6e656374696f6e3a20636c6f73650d0a0d0a
2019-08-29 09:14:08  INFO: [c673de7d: osmand > 127.0.0.1] HEX: 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2019-08-29 09:14:08  INFO: [c673de7d] id: 654321, time: 2019-08-29 09:14:08, lat: 34.23649, lon: 109.07916, course: 0.0
2019-08-29 09:14:08  INFO: [c673de7d] disconnected
2019-08-29 09:15:14  INFO: [48979a85: gt06 < 127.0.0.1] HEX: 78780a1304060400010070f7b80d0a
2019-08-29 09:15:14  INFO: [48979a85: gt06 > 127.0.0.1] HEX: 7878051300708bff0d0a
2019-08-29 09:15:14  INFO: [48979a85] id: 8657390400*****, time: 2019-08-29 09:15:14, lat: 0.00000, lon: 0.00000, course: 0.0
2019-08-29 09:18:12  INFO: [48979a85: gt06 < 127.0.0.1] HEX: 78780a1304060400010071e6310d0a
2019-08-29 09:18:12  INFO: [48979a85: gt06 > 127.0.0.1] HEX: 7878051300719a760d0a
2019-08-29 09:18:13  INFO: [48979a85] id: 8657390400*****, time: 2019-08-29 09:18:12, lat: 0.00000, lon: 0.00000, course: 0.0
2019-08-29 09:21:13  INFO: [48979a85: gt06 < 127.0.0.1] HEX: 78780a1304060300010072e4760d0a
2019-08-29 09:21:13  INFO: [48979a85: gt06 > 127.0.0.1] HEX: 787805130072a8ed0d0a
2019-08-29 09:21:13  INFO: [48979a85] id: 8657390400*****, time: 2019-08-29 09:21:13, lat: 0.00000, lon: 0.00000, course: 0.0
2019-08-29 09:22:39  INFO: [48979a85: gt06 < 127.0.0.1] HEX: 7878110108657390400*****50043202000193970d0a
2019-08-29 09:22:39  INFO: [48979a85: gt06 > 127.0.0.1] HEX: 787805010001d9dc0d0a
2019-08-29 09:22:40  INFO: [48979a85: gt06 < 127.0.0.1] HEX: 7878058a0004ab3b0d0a
2019-08-29 09:22:40  INFO: [48979a85: gt06 > 127.0.0.1] HEX: 78780b8a13081d011628000060720d0a
2019-08-29 09:22:40  INFO: [48979a85: gt06 < 127.0.0.1] HEX: 78780a1304060400010006e1090d0a
2019-08-29 09:22:40  INFO: [48979a85: gt06 > 127.0.0.1] HEX: 7878051300069d4e0d0a
2019-08-29 09:22:40  INFO: [48979a85] id: 8657390400*****, time: 2019-08-29 09:22:40, lat: 0.00000, lon: 0.00000, course: 0.0
2019-08-29 09:22:44  INFO: [48979a85: gt06 < 127.0.0.1] HEX: 79790020940a08657390400*****046001145011583089860118803109500709000558bd0d0a
2019-08-29 09:22:44  INFO: [48979a85] id: 8657390400*****, time: 2019-08-29 09:22:44, lat: 0.00000, lon: 0.00000, course: 0.0
2019-08-29 09:22:55  INFO: [48979a85: gt06 < 127.0.0.1] HEX: 7878222213081d001b22ce03ac58890bb3f1f000545901cc0120e20039560000010007586a0d0a
2019-08-29 09:22:55  INFO: [48979a85: gt06 > 127.0.0.1] HEX: 78780522000750b50d0a
2019-08-29 09:22:55  INFO: [48979a85] id: 8657390400*****, time: 2019-08-29 00:27:34, lat: 34.23695, lon: 109.07903, course: 89.0
2019-08-29 09:23:41  INFO: [48979a85: gt06 < 127.0.0.1] HEX: 797900869404414c4d313d34353b414c4d323d44353b414c4d333d35443b535441313d34303b4459443d30313b534f533d31333330393238383430362c31333330393238383430352c3b43454e5445523d3b46454e43453d46656e63652c4f46462c302c302e3030303030302c302e3030303030302c3330302c494e206f72204f55542c313b00082c340d0a
2019-08-29 09:25:40  INFO: [48979a85: gt06 < 127.0.0.1] HEX: 78780a1344060400010009def80d0a
2019-08-29 09:25:40  INFO: [48979a85: gt06 > 127.0.0.1] HEX: 78780513000965b90d0a
2019-08-29 09:25:40  INFO: [48979a85] id: 8657390400*****, time: 2019-08-29 09:25:40, lat: 0.00000, lon: 0.00000, course: 0.0
2019-08-29 09:28:40  INFO: [48979a85: gt06 < 127.0.0.1] HEX: 78780a130406040001000a2b650d0a
2019-08-29 09:28:40  INFO: [48979a85: gt06 > 127.0.0.1] HEX: 78780513000a57220d0a
2019-08-29 09:28:40  INFO: [48979a85] id: 8657390400*****, time: 2019-08-29 09:28:40, lat: 0.00000, lon: 0.00000, course: 0.0
2019-08-29 09:31:40  INFO: [48979a85: gt06 < 127.0.0.1] HEX: 78780a130406040001000b3aec0d0a
2019-08-29 09:31:40  INFO: [48979a85: gt06 > 127.0.0.1] HEX: 78780513000b46ab0d0a
2019-08-29 09:31:40  INFO: [48979a85] id: 8657390400*****, time: 2019-08-29 09:31:40, lat: 0.00000, lon: 0.00000, course: 0.0
2019-08-29 09:34:40  INFO: [48979a85: gt06 < 127.0.0.1] HEX: 78780a130406040001000c4e530d0a
2019-08-29 09:34:40  INFO: [48979a85: gt06 > 127.0.0.1] HEX: 78780513000c32140d0a
2019-08-29 09:34:40  INFO: [48979a85] id: 8657390400*****, time: 2019-08-29 09:34:40, lat: 0.00000, lon: 0.00000, course: 0.0
2019-08-29 09:37:44  INFO: [48979a85: gt06 < 127.0.0.1] HEX: 78780a130406040001000d5fda0d0a
2019-08-29 09:37:44  INFO: [48979a85: gt06 > 127.0.0.1] HEX: 78780513000d239d0d0a
2019-08-29 09:37:44  INFO: [48979a85] id: 8657390400*****, time: 2019-08-29 09:37:44, lat: 0.00000, lon: 0.00000, course: 0.0
2019-08-29 09:40:40  INFO: [48979a85: gt06 < 127.0.0.1] HEX: 78780a130406040001000e6d410d0a
2019-08-29 09:40:40  INFO: [48979a85: gt06 > 127.0.0.1] HEX: 78780513000e11060d0a
2019-08-29 09:40:40  INFO: [48979a85] id: 8657390400*****, time: 2019-08-29 09:40:40, lat: 0.00000, lon: 0.00000, course: 0.0
2019-08-29 09:41:23  INFO: [8ef5a4b7] connected
2019-08-29 09:41:23  INFO: [8ef5a4b7: osmand < 127.0.0.1] HEX: 504f5354202f3f69643d3635343332312674696d657374616d703d31353637303432383833266c61743d33342e3233363137383033363238353238266c6f6e3d3130392e30373935343138383730353633342673706565643d312e363731373035383637383036393131342662656172696e673d3331332e3630303030363130333531353626616c7469747564653d3538352e302661636375726163793d302e3026626174743d33372e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a686f73743a207379647878792e66333332322e6e65743a353035350d0a636f6e74656e742d6c656e6774683a20300d0a436f6e6e656374696f6e3a20636c6f73650d0a0d0a
2019-08-29 09:41:23  INFO: [8ef5a4b7: osmand > 127.0.0.1] HEX: 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2019-08-29 09:41:23  INFO: [8ef5a4b7] id: 654321, time: 2019-08-29 09:41:23, lat: 34.23618, lon: 109.07954, speed: 1.7, course: 313.6
2019-08-29 09:41:23  INFO: [8ef5a4b7] disconnected
2019-08-29 09:43:44  INFO: [48979a85: gt06 < 127.0.0.1] HEX: 78780a130406030001000f4c140d0a



无标题.png
回复

使用道具 举报

9

主题

360

帖子

1192

积分

金牌会员

Rank: 6Rank: 6

积分
1192
金钱
832
HASS币
0
 楼主| 发表于 2019-8-29 14:40:25 | 显示全部楼层
晕死,折腾好几天,最后发现必须用docker版的traccar,widows和linux直接安装的经纬度老是0!!!!
回复

使用道具 举报

9

主题

360

帖子

1192

积分

金牌会员

Rank: 6Rank: 6

积分
1192
金钱
832
HASS币
0
 楼主| 发表于 2019-8-29 17:15:32 | 显示全部楼层
还是有问题,经纬度后台一直在刷新,web端根本不更新!
Traccar折腾不起啊。。。。
回复

使用道具 举报

9

主题

360

帖子

1192

积分

金牌会员

Rank: 6Rank: 6

积分
1192
金钱
832
HASS币
0
 楼主| 发表于 2019-8-29 17:36:12 | 显示全部楼层
本帖最后由 tiger81 于 2019-8-29 17:48 编辑

2019-08-29 17:00:09  INFO: [7026057b: gt06 < 172.17.0.1] HEX: 78780a134606040001003154880d0a
2019-08-29 17:00:09  INFO: [7026057b: gt06 > 172.17.0.1] HEX: 787805130031d8720d0a
2019-08-29 17:00:09  INFO: [7026057b] id: 865739040088459, time: 2019-08-29 17:00:09, lat: 34.23835, lon: 109.07277, course: 4.0
2019-08-29 17:00:10  INFO: [7026057b: gt06 < 172.17.0.1] HEX: 7878222213081d083b36cc03ad0a380bb313472ed4f701cc0120e2003454010000002f9ec40d0a7878222213081d090004cd03ad10780bb2e6a028d4fa01cc0120e20034540100000030d4cc0d0a
2019-08-29 17:00:10  INFO: [7026057b: gt06 > 172.17.0.1] HEX: 78780522002ffdff0d0a
2019-08-29 17:00:10  INFO: [7026057b] id: 865739040088459, time: 2019-08-29 08:59:54, lat: 34.26222, lon: 109.04736, speed: 24.8, course: 247.0

发现规律了,web端只认可红色时间后面的坐标,蓝色时间后面的坐标web端一概不认!
回复

使用道具 举报

9

主题

360

帖子

1192

积分

金牌会员

Rank: 6Rank: 6

积分
1192
金钱
832
HASS币
0
 楼主| 发表于 2019-8-30 11:21:51 | 显示全部楼层
应该和gt06的时间bug有关系,后台经纬度传过来只要时间不对就不认可。
回复

使用道具 举报

9

主题

360

帖子

1192

积分

金牌会员

Rank: 6Rank: 6

积分
1192
金钱
832
HASS币
0
 楼主| 发表于 2019-8-30 12:39:41 | 显示全部楼层
2019-08-30 12:28:07  INFO: [9ad44fc2: gt06 > 127.0.0.1] HEX: 787805130031d8720d0a
2019-08-30 12:28:07  INFO: [9ad44fc2] id: 865739040088459, time: 2019-08-30 12:28:07, lat: 34.23832, lon: 109.07283, course: 255.0
2019-08-30 12:29:16  INFO: [9ad44fc2: gt06 < 127.0.0.1] HEX: 78780a130606030001003380400d0a
2019-08-30 12:29:16  INFO: [9ad44fc2: gt06 > 127.0.0.1] HEX: 787805130033fb600d0a
2019-08-30 12:29:16  INFO: [9ad44fc2] id: 865739040088459, time: 2019-08-30 12:29:16, lat: 34.23832, lon: 109.07283, course: 255.0
2019-08-30 12:29:17  INFO: [9ad44fc2: gt06 < 127.0.0.1] HEX: 7878222213081e041d10c403ac593f0bb3ea5c00c4ff01cc0120e2003956010300003200f80d0a
2019-08-30 12:29:17  INFO: [9ad44fc2: gt06 > 127.0.0.1] HEX: 787805220032369b0d0a
2019-08-30 12:29:17  INFO: [9ad44fc2] id: 865739040088459, time: 2019-08-30 04:29:16, lat: 34.23705, lon: 109.07795, course: 255.0
2019-08-30 12:29:33  INFO: [9ad44fc2: gt06 < 127.0.0.1] HEX: 7878222213081e030229c403ac593f0bb3ea5c00d4ff01cc0120e20039560100010034baee0d0a
2019-08-30 12:29:33  INFO: [9ad44fc2: gt06 > 127.0.0.1] HEX: 78780522003453ad0d0a
2019-08-30 12:29:33  INFO: [9ad44fc2] id: 865739040088459, time: 2019-08-30 03:02:41, lat: 34.23705, lon: 109.07795, course: 255.0
2019-08-30 12:32:16  INFO: [9ad44fc2: gt06 < 127.0.0.1] HEX: 78780a134606040001003512ac0d0a
2019-08-30 12:32:16  INFO: [9ad44fc2: gt06 > 127.0.0.1] HEX: 7878051300359e560d0a
2019-08-30 12:32:16  INFO: [9ad44fc2] id: 865739040088459, time: 2019-08-30 12:32:16, lat: 34.23832, lon: 109.07283, course: 255.0

问题现在正确的经纬度的时间是不正确的,只要时间正确了经纬度必然是错误的。晕死。
回复

使用道具 举报

9

主题

360

帖子

1192

积分

金牌会员

Rank: 6Rank: 6

积分
1192
金钱
832
HASS币
0
 楼主| 发表于 2019-8-30 20:30:31 | 显示全部楼层
现在的思路是把gt550传过来的后台数据的时间和traccar后台时间调整一致应该就可以了
回复

使用道具 举报

9

主题

360

帖子

1192

积分

金牌会员

Rank: 6Rank: 6

积分
1192
金钱
832
HASS币
0
 楼主| 发表于 2019-8-30 21:23:14 | 显示全部楼层
<entry key='gt06.timezone'>28800</entry>
加了这个后貌似可以定位了
回复

使用道具 举报

9

主题

360

帖子

1192

积分

金牌会员

Rank: 6Rank: 6

积分
1192
金钱
832
HASS币
0
 楼主| 发表于 2019-8-31 17:39:01 | 显示全部楼层
本帖最后由 tiger81 于 2019-8-31 17:42 编辑

https://www.traccar.org/forums/t ... /page/3/#post-38910
https://forum.gpsgate.com/viewtopic.php?t=17394
终于搞定了!!!
All you need to do is configure device to report UTC time. Only if that's not possible, you should set gt06 timezone configuration. Don't change anything else. Nothing else affects time.


GMT,E,0,0#


回复

使用道具 举报

2

主题

206

帖子

855

积分

论坛积极会员

积分
855
金钱
649
HASS币
0
发表于 2019-9-2 08:45:18 | 显示全部楼层
学习了,有用
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-27 10:41 , Processed in 0.055765 second(s), 34 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表