8000 GitHub - wymanhns/bus-card: This Lovelace custom card displays Bus data from the public api for a given stop and route.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

wymanhns/bus-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hacs_badge

Lovelace Bus Card

This Lovelace custom card displays Bus data from the public api for a given stop and route.

This is designed to work with the translink sensor: https://github.com/wymanhns/HKBUS-Sensor

Preview

Manual install

  1. Download and copy 'bus-card.js' into your 'config/www' directory.

  2. Add a reference to 'mini-graph-card-bundle.js' inside your 'ui-lovelace.yaml' or at the top of the raw config editor UI:

resources:
  - url: /local/bus-card.js
    type: js

HACS Custom Install

  1. Go to the community tab of your home assistant installation
  2. Click settings
  3. Add "https://github.com/wymanhns/bus-card" with the type Lovelace
  4. Click Save

Using the card

Add the following lines to your ui-lovelace.yaml (entity should be the ids of translink sensors):

cards:
  - type: custom:bus-card
    entities:
      - entity: sensor.hk_bus_43a
      - entity: sensor.hk_bus_248m

About

This Lovelace custom card displays Bus data from the public api for a given stop and route.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0