Giter VIP home page Giter VIP logo

gaode_maps's Introduction

墨澜(高德)地图增强版 gaode_maps

gaode_maps for homeassistant

1、使用自定义集成方式UI配置

2、设备图标上点击快速打开实体卡片

3、手机上在轨迹的标记点按点也可显示时刻

4、增加自定义卡片

5、实体对话框可显示定位地图,增加属性时custom_ui_more_info: gaode-map 显示

6、增加比例尺显示

7、增加卫星视图

本项目修改自 https://github.com/cxlwill/ha-inkwavemap

参考借鉴 https://github.com/shaonianzhentan/google_maps

安装方法

HACS > 集成 > 右上角自定义存储库填入: https://github.com/dscao/gaode_maps 集成,随后下载安装,按提示重启ha.

或者下载 latest release 后解压复制gaode_maps目录到 /config/custom_components目录下,重启ha。

配置方法

homeassistant 配置 > 设备与服务 > 添加集成 > 搜索 gaode_maps 或墨澜地图,按提示操作。

高德API key 请至高德开放平台http://lbs.amap.com/ 获取
(必填) 不正确则不会显示回家线路及回家时间,其它影响不大

高德API key的安全密钥
可获取到key值和安全密钥jscode(自2021年12月02日升级,升级之后所申请的 key 必须配备安全密钥 jscode 一起使用)
注意:此次升级不会影响之前已获得 key 的使用;升级之后的新增的key必须要配备安全密钥一起使用(不需要则留空,但不能删除)
高德说明文档:https://lbs.amap.com/api/javascript-api/guide/abc/prepare

ha长期访问口令: homeassistant 左下方 点击用户名称进入用户资料页 > 长期访问令牌 > 创建令牌
(推荐使用令牌,否则手机app端不可使用。)

备注:追踪设备只针对 device_tracker 类型。

12

13

gaode_maps's People

Contributors

dscao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

fugam smhongz

gaode_maps's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.