Skip to content

Commit 3f383e7

Browse files
committed
Updated documentation
1 parent cb52eb1 commit 3f383e7

File tree

3 files changed

+26
-18
lines changed

3 files changed

+26
-18
lines changed

.github/CONTRIBUTING.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
If you found a bug, please report it on the [Issues](https://github.com/bcpearce/homeassistant-gtfs-realtime/issues) page.
66

7-
**This feed isn't working**
7+
### This feed isn't working
88

99
While GTFS stands for *General* Transit Feed Specification, there is much variation in the way that a specific provider may configure their feeds. This repository tries to keep a number of feed specs up to date both to confirm compatibility with various providers, and for convenience in setting up the integration in Home Assistant.
1010

@@ -21,13 +21,17 @@ Feeds are checked daily in a GitHub Actions Workflow. You can check the most rec
2121

2222
[![Check GTFS Feed Compatibility](https://github.com/bcpearce/homeassistant-gtfs-realtime/actions/workflows/feed_compatibility.yaml/badge.svg)](https://github.com/bcpearce/homeassistant-gtfs-realtime/actions/workflows/feed_compatibility.yaml)
2323

24-
**Other Bugs**
24+
### This Translation Is Not Accurate
25+
26+
This project was developed in English and translations were originally provided by Gemini. If you are fluent in any of the translations provided and find an error, please open an Issue or Pull Request to correct it.
27+
28+
### Other Bugs
2529

2630
This project relies on [gtfs-station-stop](https://github.com/bcpearce/gtfs-station-stop) for grabbing and formatting data feeds into an "arrival clock" style that can be used in Home Assistant. This is consistent with the [Home Assistant Developer Documentation](https://developers.home-assistant.io/docs/creating_platform_index#interfacing-with-devices) recommendations, however it can make bug reporting slightly more complex as it may need to be fixed in the underlying Python library. Note that issues reported for bugs in this integration may be solved with updates to the underlying data provider library instead.
2731

2832
## Features
2933

30-
**Adding feeds**
34+
### Adding feeds
3135

3236
If you have a custom feed that works with this repository, feel free to open a pull request adding it to help out any other users. See [feeds.json](/custom_components/gtfs_realtime/feeds.json) for the schema.
3337
- If authentication is required, provide an `auth_hint` or placeholder in the URL.

README.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,15 @@
22
![GTFS Realtime](resources/logo.svg)
33
# GTFS Realtime for Home Assistant
44

5+
Add public transit arrivals and alerts to your Home Assistant Dashboards and Automations.
6+
57
[![Coverage Status](https://coveralls.io/repos/github/bcpearce/homeassistant-gtfs-realtime/badge.svg?branch=main)](https://coveralls.io/github/bcpearce/homeassistant-gtfs-realtime?branch=main)
68

79
[![Check GTFS Feed Compatibility](https://github.com/bcpearce/homeassistant-gtfs-realtime/actions/workflows/feed_compatibility.yaml/badge.svg)](https://github.com/bcpearce/homeassistant-gtfs-realtime/actions/workflows/feed_compatibility.yaml)
810

911
## Installation
1012

11-
This integration can be installed manually or through [HACS](https://hacs.xyz/). HACS is recommended.
12-
13-
> [!NOTE]
14-
> As of version 0.4.0, realtime location is available for vechicles in *some* cases. This currently is being tested with NYC Subway locations using a "best guess" method of checking the stop update closest to the current time.
15-
> For more about [Realtime Data](#realtime-data-experimental)
13+
[HACS](https://hacs.xyz/) is recommended for installation.
1614

1715
#### HACS
1816

@@ -28,9 +26,9 @@ Copy files in [custom_components/gtfs_realtime](custom_components/gtfs_realtime/
2826

2927
Once the integration is installed, configure the integration through Settings >> Devices and Services, and use "Add Integration". Select GTFS Realtime and follow the instructions in the user interface.
3028

31-
You can select a supported provider or configure it manually. A number of GTFS providers are included for convenience in this repository.
29+
You can select a supported provider or configure it manually. A number of GTFS providers are included for convenience in this repository. If you have a feed configuration that is not part of the defaults [pull requests are welcome](/.github/CONTRIBUTING.md#adding-feeds).
3230

33-
There is no guarantee that these providers will continue to work with this integration. A [GitHub Action Workflow](https://github.com/bcpearce/homeassistant-gtfs-realtime/actions/workflows/feed_compatibility.yaml) runs to check the status of each feed.
31+
There is no guarantee that these providers will continue to work with this integration. A [GitHub Action Workflow](https://github.com/bcpearce/homeassistant-gtfs-realtime/actions/workflows/feed_compatibility.yaml) runs daily to check the status of each feed.
3432

3533
### Realtime Feed URLs
3634

@@ -58,15 +56,17 @@ The [resources/NYCT_Bullets](resources/NYCT_Bullets/) folder contains ready-to-u
5856

5957
### Other Transit Systems
6058

61-
This software may work for other GTFS realtime providers, but has not been tested. There is no guarantee that providers--even if included in this repository--will work--or that changes in provider APIs will not cause breakages.
59+
This software may work for other GTFS realtime providers, but has not been tested. There is no guarantee that providerseven if included in this repositorywill workor that changes in provider APIs will not cause breakages.
6260

6361
## Frontend
6462

6563
Example frontend card configs can be found in [example](example/).
6664

67-
Simply displaying all entities for a "stop" device provides a train arrival board.
65+
![sample icon dashboard](example/icon_arrival.jpg)
66+
67+
![sample tile dashboard](example/tile_arrival.jpg)
6868

69-
![sample dashboard](resources/sample.png)
69+
A tile dashboard can also be generated using the "Generate Arrival Board" action in Developer Tools.
7070

7171
## Sensors
7272

@@ -81,12 +81,9 @@ Raw sensor data is provided in seconds. Minutes are the recommended unit.
8181
#### Realtime Vehicle Position Data (Experimental)
8282

8383
> [!NOTE]
84-
> Available in ≥ 0.4.0 only
84+
> Available in ≥ 0.4.3 vehicle position data from feeds will be included. Feeds that do not provide vehicle position data use an estimate of the nearest station in trip-update data.
8585
86-
> [!CAUTION]
87-
> This does *not* use GTFS Realtime [Vehicle Positions](https://gtfs.org/documentation/realtime/feed-entities/vehicle-positions/) updates. Support may be added in a later release.
88-
89-
Realtime data is being tested for NYC Subway arrivals and may work with other systems. This can be viewed by adding the entities to a [Map Card](https://www.home-assistant.io/dashboards/map/).
86+
Entities can appear on map cards.
9087

9188
![sample map](resources/realtime-locations.jpg)
9289

@@ -102,6 +99,8 @@ Each stop will collect the arrival sensors together as a device. For each static
10299

103100
Services are provided for updating and clearing the static data schedule. During setup, an interval for refreshing this data can be provided.
104101

102+
A service also exists for creating a "Train Arrival Boad" card using multiple tile entities.
103+
105104
## GTFS Station Stop
106105

107106
This package utilizes [GTFS Station Stop](https://pypi.org/project/gtfs-station-stop/) to provide updates to Home Assistant sensors.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Translations
2+
3+
Translations from English were generated by Gemini, and may not be accurate.
4+
5+
If you are a native speaker of any of the translated languages, Pull Requests and Issue reports correcting the translation are welcome.

0 commit comments

Comments
 (0)