Skip to content
forked from amaximus/bkk_stop

HomeAssistant custom component for Budapest public transportation

Notifications You must be signed in to change notification settings

HeAtNet/bkk_stop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hacs_badge

Buy me a coffee

BKK Stop Information custom component for Home Assistant

Providing also a custom state card for legacyUI.

This custom component and custom card shows Budapest Public Transportation (BKK) line information departing in the near future from a configurable stop.

Installation

The easiest way to install it is through HACS (Home Assistant Community Store), search for BKK Stop Information in the Integrations.

If you are not using HACS, download the files from custom_components/bkk_stop into your $homeassistant_config_dir/custom_components/bkk_stop.

Once downloaded and configured as per below information you'll need to restart HomeAssistant to have the custom component and the sensors of bkk_stop platform taken into consideration.

Configuration:

Define sensors with the following configuration parameters:


Name Optional Default Description
name N - sensor of bkk_stop type to display
stopId N - StopId as per futar.bkk.hu
maxItems Y 0 Number of items to consider. 0 disables this feature
minsAfter Y 20 Number of minutes ahead to show vehicles departing from station
wheelchair Y false Display vehicle's wheelchair accessibility
bikes Y false Display whether bikes are allowed on vehicle
ignoreNow Y true Ignore vehicles already in the station

Example

platform: bkk_stop
name: 'bkk7u'
stopId: 'BKK_F00940'
minsAfter: 25
wheelchair: true

Lovelace UI

There is a Lovelace custom card related to this component at https://github.com/amaximus/bkk-stop-card.

Legacy UI

Custom state card is provided for presenting data on legacy UI. Pls see the legacyUI directory structure for example.

Lovelace UI:
bkk_stop Lovelace example

About

HomeAssistant custom component for Budapest public transportation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%