show real time bus and train information
If you like my hard work and want to help with server cost, consider buying me a coffee :)
- In the HACS Frontend, click the 3 dots in the upper right
- Click 'Add Custom Repository'
- Fill in the repo url https://github.com/silentbil/silent-bus and choose 'Lovelace' category.
- Install the custom card (should now appear in the Frontend)
- HACS should automatically add the following to your resources:
url: /hacsfiles/silent-bus/silent-bus.js
type: Javascript Module
Add a Manual card to the dashboard and enter the YAML to configure it as desired.
Name | Description | Default | Required | Values |
---|---|---|---|---|
station |
station number | None | Yes | number |
busLines |
bus lines | None | Yes | Array of numbers |
Name | Description | Default | Required | Values |
---|---|---|---|---|
fromStation |
station number | None | Yes | number |
toStation |
station number | None | Yes | number |
isTrain |
train card | false | Yes | boolean |
- Go to: https://xn--4dbclabp0e.co.il/searchStations and search for your station
- Go to: https://xn--4dbclabp0e.co.il/searchStations and search for your station
- Copy your station number
type: custom:silent-bus
isTrain: true
fromStation: 3600
toStation: 3700
type: custom:silent-bus
station: 24068
busLines:
- 249
- 40
- 605
type: custom:silent-bus
station: 20719
busLines:
- 1
- 3