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

 找回密码
 立即注册
楼主: dscao

[经验分享] 15元gps设备通过traccar接入定位信息到ha

[复制链接]

33

主题

2196

帖子

5838

积分

论坛元老

Rank: 8Rank: 8

积分
5838
金钱
3642
HASS币
60
QQ
发表于 2021-8-4 14:09:48 | 显示全部楼层
cngdlhj 发表于 2021-7-31 20:21
终于改好服务器,定位器工作正常了。说说遇到的几个坑吧:
1、用楼主的短信指令确实改不了服务器,可能我 ...

我的改成功了,但traccar上还是离线。
我不生产技术,我只是技术的搬运工。
回复

使用道具 举报

33

主题

2196

帖子

5838

积分

论坛元老

Rank: 8Rank: 8

积分
5838
金钱
3642
HASS币
60
QQ
发表于 2021-8-4 18:09:38 | 显示全部楼层
cngdlhj 发表于 2021-8-1 15:23
SN是十位的,配置文件有加那行。你的traccar服务器在内网?如果你网络是公网IP那也要做端口映射,5013端 ...

我的也是这款,也改好了。但traccar一直离线。 微信图片_20210804180604.jpg

traccar是addons下的,使用的群晖自带的反代。
看日志好像没看到有用数据
[04/Aug/2021:17:45:07 +0800] 200 192.168.199.1(192.168.199.252) GET /api/groups?_dc=1628070306820&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:07 +0800] 200 192.168.199.1(192.168.199.252) GET /api/drivers?_dc=1628070306822&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:07 +0800] 200 192.168.199.1(192.168.199.252) GET /api/maintenance?_dc=1628070306829&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:07 +0800] 200 192.168.199.1(192.168.199.252) GET /api/geofences?_dc=1628070306826&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:07 +0800] 200 192.168.199.1(192.168.199.252) GET /api/calendars?_dc=1628070306828&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:07 +0800] 200 192.168.199.1(192.168.199.252) GET /api/commands?_dc=1628070306835&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:07 +0800] 200 192.168.199.1(192.168.199.252) GET /api/attributes/computed?_dc=1628070306832&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:07 +0800] 200 192.168.199.1(192.168.199.252) GET /api/commands/types?_dc=1628070306833&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:07 +0800] 200 192.168.199.1(192.168.199.252) GET /api/notifications/notificators?_dc=1628070306839&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:07 +0800] 200 192.168.199.1(192.168.199.252) GET /api/notifications/types?_dc=1628070306837&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:07 +0800] 200 192.168.199.1(192.168.199.252) GET /api/devices?_dc=1628070306860&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:07 +0800] 200 192.168.199.1(192.168.199.252) GET /api/notifications?_dc=1628070306841&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:09 +0800] 101 192.168.199.1(192.168.199.252) GET /api/socket HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:12 +0800] 200 192.168.199.1(192.168.199.252) GET /l10n/en.json?_dc=1628070311706 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:12 +0800] 200 192.168.199.1(192.168.199.252) GET /l10n/zh.json?_dc=1628070311835 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:12 +0800] 200 192.168.199.1(192.168.199.252) GET /api/server?_dc=1628070312176 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:12 +0800] 200 192.168.199.1(192.168.199.252) GET /api/session?_dc=1628070312248 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:12 +0800] 200 192.168.199.1(192.168.199.252) GET /api/calendars?_dc=1628070312527&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:12 +0800] 200 192.168.199.1(192.168.199.252) GET /api/groups?_dc=1628070312519&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:12 +0800] 200 192.168.199.1(192.168.199.252) GET /api/drivers?_dc=1628070312522&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:12 +0800] 200 192.168.199.1(192.168.199.252) GET /api/attributes/computed?_dc=1628070312531&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:12 +0800] 200 192.168.199.1(192.168.199.252) GET /api/maintenance?_dc=1628070312529&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:12 +0800] 200 192.168.199.1(192.168.199.252) GET /api/commands?_dc=1628070312536&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:12 +0800] 200 192.168.199.1(192.168.199.252) GET /api/commands/types?_dc=1628070312534&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:12 +0800] 200 192.168.199.1(192.168.199.252) GET /api/notifications/types?_dc=1628070312539&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:12 +0800] 200 192.168.199.1(192.168.199.252) GET /api/geofences?_dc=1628070312524&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:12 +0800] 200 192.168.199.1(192.168.199.252) GET /api/notifications/notificators?_dc=1628070312544&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:12 +0800] 200 192.168.199.1(192.168.199.252) GET /api/notifications?_dc=1628070312547&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:12 +0800] 200 192.168.199.1(192.168.199.252) GET /api/devices?_dc=1628070312561&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:27 +0800] 200 -(127.0.0.1) GET /api/geofences HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:45:27 +0800] 200 -(127.0.0.1) GET /api/devices HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:45:28 +0800] 200 -(127.0.0.1) GET /api/positions HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:45:38 +0800] 101 192.168.199.1(192.168.199.252) GET /api/socket HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:45:57 +0800] 200 -(127.0.0.1) GET /api/geofences HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:45:58 +0800] 200 -(127.0.0.1) GET /api/devices HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:45:58 +0800] 200 -(127.0.0.1) GET /api/positions HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:46:27 +0800] 200 -(127.0.0.1) GET /api/geofences HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:46:27 +0800] 200 -(127.0.0.1) GET /api/devices HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:46:28 +0800] 200 -(127.0.0.1) GET /api/positions HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:46:57 +0800] 200 -(127.0.0.1) GET /api/geofences HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:46:58 +0800] 200 -(127.0.0.1) GET /api/devices HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:46:58 +0800] 200 -(127.0.0.1) GET /api/positions HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:47:27 +0800] 200 -(127.0.0.1) GET /api/geofences HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:47:27 +0800] 200 -(127.0.0.1) GET /api/devices HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:47:28 +0800] 200 -(127.0.0.1) GET /api/positions HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:47:57 +0800] 200 -(127.0.0.1) GET /api/geofences HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:47:57 +0800] 200 -(127.0.0.1) GET /api/devices HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:47:58 +0800] 200 -(127.0.0.1) GET /api/positions HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:48:27 +0800] 200 -(127.0.0.1) GET /api/geofences HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:48:27 +0800] 200 -(127.0.0.1) GET /api/devices HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:48:28 +0800] 200 -(127.0.0.1) GET /api/positions HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:48:57 +0800] 200 -(127.0.0.1) GET /api/geofences HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:48:58 +0800] 200 -(127.0.0.1) GET /api/devices HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:48:58 +0800] 200 -(127.0.0.1) GET /api/positions HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:49:27 +0800] 200 -(127.0.0.1) GET /api/geofences HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:49:28 +0800] 200 -(127.0.0.1) GET /api/devices HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:49:28 +0800] 200 -(127.0.0.1) GET /api/positions HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:49:57 +0800] 200 -(127.0.0.1) GET /api/geofences HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:49:57 +0800] 200 -(127.0.0.1) GET /api/devices HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:49:58 +0800] 200 -(127.0.0.1) GET /api/positions HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:50:27 +0800] 200 -(127.0.0.1) GET /api/geofences HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:50:28 +0800] 200 -(127.0.0.1) GET /api/devices HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:50:28 +0800] 200 -(127.0.0.1) GET /api/positions HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:50:38 +0800] 200 192.168.199.1(192.168.199.252) GET /l10n/en.json?_dc=1628070638541 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:38 +0800] 200 192.168.199.1(192.168.199.252) GET /l10n/zh.json?_dc=1628070638614 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:39 +0800] 200 192.168.199.1(192.168.199.252) GET /api/server?_dc=1628070638820 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:39 +0800] 200 192.168.199.1(192.168.199.252) GET /api/session?_dc=1628070638857 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:39 +0800] 200 192.168.199.1(192.168.199.252) GET /api/groups?_dc=1628070639110&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:39 +0800] 200 192.168.199.1(192.168.199.252) GET /api/drivers?_dc=1628070639117&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:39 +0800] 200 192.168.199.1(192.168.199.252) GET /api/maintenance?_dc=1628070639126&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:39 +0800] 200 192.168.199.1(192.168.199.252) GET /api/attributes/computed?_dc=1628070639127&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:39 +0800] 200 192.168.199.1(192.168.199.252) GET /api/calendars?_dc=1628070639124&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:39 +0800] 200 192.168.199.1(192.168.199.252) GET /api/commands/types?_dc=1628070639129&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:39 +0800] 200 192.168.199.1(192.168.199.252) GET /api/geofences?_dc=1628070639122&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:39 +0800] 200 192.168.199.1(192.168.199.252) GET /api/commands?_dc=1628070639133&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:39 +0800] 200 192.168.199.1(192.168.199.252) GET /api/notifications/types?_dc=1628070639134&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:39 +0800] 200 192.168.199.1(192.168.199.252) GET /api/notifications?_dc=1628070639140&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:39 +0800] 200 192.168.199.1(192.168.199.252) GET /api/notifications/notificators?_dc=1628070639137&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:39 +0800] 200 192.168.199.1(192.168.199.252) GET /api/devices?_dc=1628070639154&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:42 +0800] 101 192.168.199.1(192.168.199.252) GET /api/socket HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:44 +0800] 200 192.168.199.1(192.168.199.252) GET /l10n/en.json?_dc=1628070644225 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:44 +0800] 200 192.168.199.1(192.168.199.252) GET /l10n/zh.json?_dc=1628070644298 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:44 +0800] 200 192.168.199.1(192.168.199.252) GET /api/server?_dc=1628070644584 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:44 +0800] 200 192.168.199.1(192.168.199.252) GET /api/session?_dc=1628070644644 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:45 +0800] 200 192.168.199.1(192.168.199.252) GET /api/groups?_dc=1628070644970&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:45 +0800] 200 192.168.199.1(192.168.199.252) GET /api/geofences?_dc=1628070644976&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:45 +0800] 200 192.168.199.1(192.168.199.252) GET /api/maintenance?_dc=1628070644983&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:45 +0800] 200 192.168.199.1(192.168.199.252) GET /api/drivers?_dc=1628070644972&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:45 +0800] 200 192.168.199.1(192.168.199.252) GET /api/calendars?_dc=1628070644981&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:45 +0800] 200 192.168.199.1(192.168.199.252) GET /api/commands/types?_dc=1628070644986&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:45 +0800] 200 192.168.199.1(192.168.199.252) GET /api/attributes/computed?_dc=1628070644984&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:45 +0800] 200 192.168.199.1(192.168.199.252) GET /api/commands?_dc=1628070644987&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:45 +0800] 200 192.168.199.1(192.168.199.252) GET /api/notifications/types?_dc=1628070644989&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:45 +0800] 200 192.168.199.1(192.168.199.252) GET /api/notifications?_dc=1628070645002&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:45 +0800] 200 192.168.199.1(192.168.199.252) GET /api/notifications/notificators?_dc=1628070644992&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:45 +0800] 200 192.168.199.1(192.168.199.252) GET /api/devices?_dc=1628070645019&page=1&start=0&limit=25 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:47 +0800] 101 192.168.199.1(192.168.199.252) GET /api/socket HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36)
[04/Aug/2021:17:50:57 +0800] 200 -(127.0.0.1) GET /api/geofences HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:50:58 +0800] 200 -(127.0.0.1) GET /api/devices HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)
[04/Aug/2021:17:50:58 +0800] 200 -(127.0.0.1) GET /api/positions HTTP/1.1 (HomeAssistant/2021.7.4 aiohttp/3.7.4.post0 Python/3.9)


我不生产技术,我只是技术的搬运工。
回复

使用道具 举报

2

主题

78

帖子

3006

积分

论坛元老

Rank: 8Rank: 8

积分
3006
金钱
2928
HASS币
0
发表于 2021-8-4 21:31:57 | 显示全部楼层
你看看traccar服务器的日志吧,好像你贴上来的不是,我的是下面这样的。
2021-08-04 20:36:58  INFO: [7bb84979] disconnected
2021-08-04 20:45:35  INFO: [f44483b2] connected
2021-08-04 20:45:35  INFO: [f44483b2: gs100 < 192.241.214.20] HEX: 160301009a0100009603031ad1766c7be6b5e6e642194d75188144e43e0d6ba5b2
HEX后面长长的就是定位器上报的GPS位置报文。
回复

使用道具 举报

33

主题

2196

帖子

5838

积分

论坛元老

Rank: 8Rank: 8

积分
5838
金钱
3642
HASS币
60
QQ
发表于 2021-8-5 01:15:48 | 显示全部楼层
cngdlhj 发表于 2021-8-4 21:31
你看看traccar服务器的日志吧,好像你贴上来的不是,我的是下面这样的。HEX后面长长的就是定位器上报的GPS ...

我贴的是traccar的,所以我怀疑就没联接上
我不生产技术,我只是技术的搬运工。
回复

使用道具 举报

33

主题

2196

帖子

5838

积分

论坛元老

Rank: 8Rank: 8

积分
5838
金钱
3642
HASS币
60
QQ
发表于 2021-8-5 09:56:50 | 显示全部楼层
cngdlhj 发表于 2021-8-4 21:31
你看看traccar服务器的日志吧,好像你贴上来的不是,我的是下面这样的。HEX后面长长的就是定位器上报的GPS ...

我用手机客户端测试是好的。
手机用traccar客户端也能上报位置。
我不生产技术,我只是技术的搬运工。
回复

使用道具 举报

33

主题

2196

帖子

5838

积分

论坛元老

Rank: 8Rank: 8

积分
5838
金钱
3642
HASS币
60
QQ
发表于 2021-8-5 10:16:25 | 显示全部楼层
dscao 发表于 2021-7-8 08:52
上面截图中仔细看就知道哪里买的。

微信图片_20210805101259.png

大佬,请教一下。
我用手机traccar客户端可以上传位置到traccar;GPS模块的却不行;格式:IP 域名 5013(域名是群晖的域名,域名+8082可以访问traccar服务端)
我不生产技术,我只是技术的搬运工。
回复

使用道具 举报

7

主题

188

帖子

2345

积分

金牌会员

Rank: 6Rank: 6

积分
2345
金钱
2157
HASS币
0
发表于 2021-8-5 10:57:39 | 显示全部楼层
zxyny1989 发表于 2021-8-5 10:16
大佬,请教一下。
我用手机traccar客户端可以上传位置到traccar;GPS模块的却不行;格式:IP 域名 5013 ...

提供个思路供借鉴:
1.是否在tracar配置文件 里将5013端口写上
2.是否在路由器上将5013口转发到群晖上
回复

使用道具 举报

33

主题

2196

帖子

5838

积分

论坛元老

Rank: 8Rank: 8

积分
5838
金钱
3642
HASS币
60
QQ
发表于 2021-8-5 11:01:00 | 显示全部楼层
xlsj519 发表于 2021-8-5 10:57
提供个思路供借鉴:
1.是否在tracar配置文件 里将5013端口写上
2.是否在路由器上将5013口转发到群晖上 ...

1、配置文件已经有了。
2、我是VMM下装的HASSOS(可能 问题出在这里。我刚看了端口映射记录,5013映射给了群晖的IP,而不是hassos的ip)
我不生产技术,我只是技术的搬运工。
回复

使用道具 举报

33

主题

2196

帖子

5838

积分

论坛元老

Rank: 8Rank: 8

积分
5838
金钱
3642
HASS币
60
QQ
发表于 2021-8-5 12:45:41 | 显示全部楼层
zxyny1989 发表于 2021-8-5 11:01
1、配置文件已经有了。
2、我是VMM下装的HASSOS(可能 问题出在这里。我刚看了端口映射记录,5013映射给 ...

已经搞好 了。就是问题2导致的,用docker安装就好了。
我不生产技术,我只是技术的搬运工。
回复

使用道具 举报

33

主题

2196

帖子

5838

积分

论坛元老

Rank: 8Rank: 8

积分
5838
金钱
3642
HASS币
60
QQ
发表于 2021-8-5 16:58:41 | 显示全部楼层
已经搞定,不过有偏移。

不晓得大佬有h02的命令代码没。
看官方app上是有电压显示的,按说能像这个帖子一样显示电压。
我不生产技术,我只是技术的搬运工。
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-25 12:33 , Processed in 0.118131 second(s), 33 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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