Giter VIP home page Giter VIP logo

ha_baidu_map's Introduction

百度地图

在HA里使用的百度地图,支持GPS定位轨迹显示

使用方式

# 使用内置密钥(有限额,最好自己申请密钥)
ha_baidu_map:

# 完整配置
# record: 要记录使用GPSLogger的设备
ha_baidu_map:
  name: 百度地图
  icon: mdi:map-marker-radius
  ak: 百度地图AK密钥
  record:
    - device_tracker.wo_de_shou_ji

在GPSLogger应用里的配置(其它参考官方文档)


# HTTP 内容
# 只能修改【我的手机】

latitude=%LAT&longitude=%LON&device=我的手机&accuracy=%ACC&battery=%BATT&speed=%SPD&direction=%DIR&altitude=%ALT&provider=%PROV&activity=%ACT-%DIST-%STARTTIMESTAMP

更新日志

v1.0.5

  • 修复菜单图标一直显示的问题

v1.0.4(测试版)

  • 加入数据库存储(目前只支持HA自带的数据库)
  • 加入GPS运动轨迹显示

v1.0

  • 区域设置passive属性为true会自动隐藏(同官方地图)
  • 设备设置hidden属性为true会自动隐藏(同官方地图)
  • 修复更新坐标时,会出现重复的问题
  • 修复多个区域无法加载的问题
  • 修复头像和官方地图显示不一致的问题
  • 加入区域可以点击查看的功能(这个官方没有)

ha_baidu_map's People

Contributors

shaonianzhentan avatar

Watchers

James Cloos avatar

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.