Coder Social home page Coder Social logo

ha_shbus's Introduction

上海公交HA插件

在HA里使用的上海公交车车哦

如何使用

安装

将本项目【ha_shbus文件夹】复制到HA的custom_components文件夹中

插件配置

然后在configuration.yaml中配置以下内容

使用方式


# 上海公交
# name: 公交车(没有会安装失败)
# direction: 方向(默认:1)
# stop_id: 监测第几站

sensor:
  - platform: ha_shbus
    name: 748路(71路支线3)
    direction: 1
    stop_id: 10
  - platform: ha_shbus
    name: 748路(71路支线3)
    direction: 0
    stop_id: 6

更新日志

v1.1

  • 修复不能查询的问题
  • 解决缓存问题

v1.0

  • 实时公交到站时间
  • 查询公交到站信息

图片预览

手机显示

PC显示

ha_shbus's People

Contributors

shaonianzhentan 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.