Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Arjan edited this pageFeb 10, 2025 ·147 revisions

This repository aims to create enties forHome Assistant.It combines and impoves on work of others and verifies this with multiple data providers ... and adapts where possible.This is ongoing work but has proven working results

  • configuration via the GUI, no configuration.yaml needed
  • Uses a route to further select start/end stops
  • Shows next 10 departures on the same stretch start/end , including alternative transport lines if applicable
  • allows to load/update/delete datasources in gtfs2 folder from the GUI
  • Option to add gtfs realtime source/url
  • Option to add gtfs realtime vehicle location source/url, generates geojson file, e/g/ for tracking a vehicle on map card
  • Option to add gtfs realtime alerts source/url
  • Add sensors tracking departures of stops around 'you' (zone or person), also with realtime data
  • A service to update the GTFS static datasource, e.g. for calling the service via automation
  • A service to add/update GTFS realtime locally, e.g. to reduce multiple calls for the same data externally
  • translations: English, French, German, Spanish, Portuguese

imageimage![image]

Sources

There are often multiple sources covering the same transport provider or geographical area. The background for that is unclear but there are known issues between them as inconsistent data, lack of updates, etc.

Interesting sites with multiple references are:

  • Busmaps (aka GTFS.pro) who also have 'improved' datasets, probably cleaned and consistency-checked, often much smaller zip and thus quicker in unpacking.Updated 2025: busmaps seems to have become more commercial and removed the visibility to the GTFS files, use the link and change the country for yours....for now (!) this works
  • Mobility Database

Note: verify the individual datasources as quite a few of them have proven to be incomplete or incorrect. This is not the responsibility of the above sites, but I found busmaps/gtfs.pro providing better data till now

Sources working/tested with GTFS2, non-exhaustive(links may change over time, please report if missing/erroneous)

ProviderGeo-coveringType*StaticRT TripRT Veh. Pos.RT AlertLinkextract **CommentTested***
EUROPE
Zou 06RegionBxxlink0.252024-04
PalmBus CannesCityBxxxxlink0.5issue with feed_info.txt in zip, use theService call2024-04
MetzCityBxlink0.252023-12
OrleansCityBxxlink0.252023-12
Bibus BrestCityBxxxxlink0.12023-12
Lille IleviaCityB, T, Sxxlink0.52024-01
LyonCityB, Txlink0.4requires user/pwd so manual download of zip, use lower-case for zip-name2024-04
ToulonCityBxlink0.052024-02
StrassbourgCityB, Tx-link0.1RT only in SIRI format2025-02
TER FranceCountryRxxlink0.52024-03
BrusselsCityBxlink0.252023-12
TEC WalloniaRegionBxlink12024-02
VilniusCityBxlink0.52023-12
GermanyCountry, Region, LocalB, T, R, Sxxlink0.5 - 2.52023-12
SwedenCountryBxxlink1use API key in url to get zip2023-12
SkånetrafikenRegionalB, T, Rx?link0.2use API key in url to get zip2024-04
FinlandCountryBxxlink22023-12
NetherlandsCountryB, T, R, Sxxxxlink2.52024-01
SwitzerlandCountryB, T, RxxlinkGTFS_RT32023-12
Hungary (Volan)CountryBxlink0.32024-01
Budapest BKKCityB, Txxxxlink0.75RT not confirmed (yet)2024-01
LondonCityBxlink2.52024-01
UKCountryB----link-zip too large to handle2024-01
EastYorkshireRegionBxlink0.32024-03
KrakowCityB, Txxxxlink0.2for T(rams) issue with feed_info.txt in zip, use theService call2024-02
DublinCityBxxlink0.32024-02
BizkaiaRegionBxxx?link0.12024-02
ZagrebCityB, Txlink0.42024-02
Austria ViennaCityB, Txlink0.32024-03
Austria ÖBBCountryRxlink0.32024-03
RomeCityB,Txxlink12025-02
TurinCityBxxlink12024-12
OCEANIA
NSW (greater Sydney area)RegionB, T, R, S, Fxlink12023-12
Adelaide MetroRegionB, T, Rxlink andRTrip12023-12
NORTH AMERICA
Washington WMATACityB, Txx??link0.6for static: append api_key to static url works, although it throws an error (ignore)2024-02
SpokaneCityB, Txxxxlink0.22024-04
New York MTACityB, T, Rxx-?static andRT?tested for Long Island RR only2024-02
San Fransisco BayCityB, Txlink0.52023-12
Philadelhia (SEPTA)CityB, T, Sxxxlink andRT0.5zip file contains bus/subway and rail, needs manual intervention2024-12
Montreal (stm)CityB, Sxxxlink andRTrip12025-01
Vancouver (translink)CityB, Sxxxlink andRTrip0.52025-01

*Types: B(us) T(ram), R(ail), S(ubway), F(erry)The datasource may cover other types as cable cars, gondola, stairs, taxi, etc. but not verified working (by me)

**Indicative extraction duration of the static/zip file in hours

*** Year month of initial testing with the release/version at that time. These are not part of any planned regression testing with new releases. The onces I use myself will show updates of course

Challenges (see alsodocu ):

  • Some providers show to have realtime but are not in gtfs format 'protobuf' as expected by the library in use e.g. Brussels, SanFransisco Bay, Krakow. It will not be possible to build individual solutions for single/few 'deviating' providers.
  • Multiple stop_id for the same stop, depending on vehicle(type) or even line (CH, NL), meaning that one has to configre multiple times.
  • Realtime data may be provided along a route/trip but not all stops are always covered

[8]ページ先頭

©2009-2025 Movatter.jp