# cloud_gps **Repository Path**: caogen/cloud_gps ## Basic Information - **Project Name**: cloud_gps - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-01-07 - **Last Updated**: 2026-01-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # cloud_gps GPS定位平台数据接入homeassistant,包含“途强在线“、“途强物联”、“优驾盒子联网版”、“高德机车版”、“中移行车卫士”、"macless-haystack"、“银尔达mqtt”等, 后续可能会加入等更多设备支持。 # 注意: 近期发现2G设备网络很差,很多区域都没有信号了。现在全部重新购买4G或5G设备了。 ## 安装方法: hacs安装: https://github.com/dscao/cloud_gps 手动安装: 将custom_components中的文件夹复制到ha中对应目录中 重启ha后,强制刷新浏览器一次,进入集成,搜索: cloud_gps或云平台GPS ,按提示配置即可。 搭配 https://github.com/dscao/gaode_maps 可比较简易实现显示国内地图和轨迹 ## 说明 对于平台未提供地址信息的,可以使用api调用百度、高德或腾讯地图的接口来显示具体地址信息,可按喜好选用。 添加集成功后,第一步需要进入选项启用设备,才会出现实现。如果没有设备,说明账号中没有可支持的gps设备。 哈啰智能芯接入参数获取方法:https://github.com/louliangsheng/hellobike (现在好像没办法抓包了) macless-haystack 部署服务方法:https://gitee.com/lovelyelfpop/macless-haystack (加入集成前最好先在项目介绍中的web上测试一下json文件是否能正常获取到定位信息,成功无误后再操作。此项目对于定位实时性要求不高、电源条件受限的场景比较合适。) \ 兼容 [generate_keys.py](https://gitee.com/lovelyelfpop/macless-haystack/blob/master/generate_keys.py) 和 [一键刷机exe](https://gitee.com/lovelyelfpop/macless-haystack/issues/IC03GF) 生成的json 中移行车卫士参数从小程序中抓包。 银尔达mqtt方式后台任务代码参考: https://bbs.hassbian.com/forum.php?mod=redirect&goto=findpost&ptid=27190&pid=664217 车辆状态属性或实体值为: 离线 -- [断电] -- 行驶 -- [钥匙开启]-- [震动]--停车,优先级依次降低。 [] 表示不支持的则不会出现。 ![11](https://github.com/dscao/cloud_gps/assets/16587914/fb3d9a8b-b7f3-48ea-92be-a37c72b62c41) ![12](https://github.com/dscao/cloud_gps/assets/16587914/e9917c31-80d6-466c-9ad3-f234f939276a) ![13](https://github.com/dscao/cloud_gps/assets/16587914/adfec487-8eb7-48ba-b9e9-629cca131c3a) ![14](https://github.com/dscao/cloud_gps/assets/16587914/f58a39f1-e5a0-4be0-8f79-baa612761d53) ![PixPin_2025-05-29_15-04-33](https://github.com/user-attachments/assets/465cf494-c24e-4dac-a7cb-b85e59337fd1) ![PixPin_2025-05-29_15-06-23](https://github.com/user-attachments/assets/3ec7d828-84b1-4f2a-8105-9358fa9846b5) ![PixPin_2025-05-29_15-07-31](https://github.com/user-attachments/assets/0e7d46ef-46ef-4f71-9ebb-a06f92472d6b)