You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/CONTRIBUTING.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
If you found a bug, please report it on the [Issues](https://github.com/bcpearce/homeassistant-gtfs-realtime/issues) page.
6
6
7
-
**This feed isn't working**
7
+
### This feed isn't working
8
8
9
9
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.
10
10
@@ -21,13 +21,17 @@ Feeds are checked daily in a GitHub Actions Workflow. You can check the most rec
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
25
29
26
30
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.
27
31
28
32
## Features
29
33
30
-
**Adding feeds**
34
+
### Adding feeds
31
35
32
36
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.
33
37
- If authentication is required, provide an `auth_hint` or placeholder in the URL.
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.
16
14
17
15
#### HACS
18
16
@@ -28,9 +26,9 @@ Copy files in [custom_components/gtfs_realtime](custom_components/gtfs_realtime/
28
26
29
27
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.
30
28
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).
32
30
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.
34
32
35
33
### Realtime Feed URLs
36
34
@@ -58,15 +56,17 @@ The [resources/NYCT_Bullets](resources/NYCT_Bullets/) folder contains ready-to-u
58
56
59
57
### Other Transit Systems
60
58
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 providers—even if included in this repository—will work—or that changes in provider APIs will not cause breakages.
62
60
63
61
## Frontend
64
62
65
63
Example frontend card configs can be found in [example](example/).
66
64
67
-
Simply displaying all entities for a "stop" device provides a train arrival board.
A tile dashboard can also be generated using the "Generate Arrival Board" action in Developer Tools.
70
70
71
71
## Sensors
72
72
@@ -81,12 +81,9 @@ Raw sensor data is provided in seconds. Minutes are the recommended unit.
81
81
#### Realtime Vehicle Position Data (Experimental)
82
82
83
83
> [!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.
85
85
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.
90
87
91
88

92
89
@@ -102,6 +99,8 @@ Each stop will collect the arrival sensors together as a device. For each static
102
99
103
100
Services are provided for updating and clearing the static data schedule. During setup, an interval for refreshing this data can be provided.
104
101
102
+
A service also exists for creating a "Train Arrival Boad" card using multiple tile entities.
103
+
105
104
## GTFS Station Stop
106
105
107
106
This package utilizes [GTFS Station Stop](https://pypi.org/project/gtfs-station-stop/) to provide updates to Home Assistant sensors.
0 commit comments