---
title: "GTFS 2 (General Transit Feed Specification)"
description: "GTFS 2 (General Transit Feed Specification) is a Marketplace integration for Home Assistant. It has 335 installs sharing analytics, works locally and was last updated October 25, 2026."
canonical: "https://vulpo.app/integrations/marketplace/vingerha-gtfs2"
url: "https://vulpo.app/integrations/marketplace/vingerha-gtfs2.md"
last-updated: "2026-10-23"
version: "1.4"
---

# GTFS 2 (General Transit Feed Specification)

> GTFS 2 (General Transit Feed Specification) is a Marketplace integration for Home Assistant. It has 335 installs sharing analytics, works locally and was last updated October 25, 2026.

GTFS 2 (General Transit Feed Specification) brings public transport schedules into Home Assistant through the interface. It adds sensors that schedule a route between self-defined start and end stops, or list departures from stops in a self-defined zone or around a device such as a person. Transit data comes from a zip file, either linked by URL or placed in a folder, with an optional API key. Realtime trip updates, vehicle positions and alerts can be added when the provider offers them, and vehicle positions can be shown on a map card through geojson files. Actions update the data sources and extract upcoming departures or arrivals for automations. It works locally and is set up in the UI.

Automatic summary of the README and code of vingerha/gtfs2. Something wrong, or are you the maintainer and want your own text here? [Get in touch](https://vulpo.app/contact)

[Open in My Home Assistant](https://my.home-assistant.io/redirect/hacs_repository/?owner=vingerha&repository=gtfs2&category=integration)

On Home Assistant 2026.11 or newer? [Open it in the Marketplace](https://my.home-assistant.io/redirect/marketplace_repository/?owner=vingerha&repository=gtfs2&category=integration)

## Supports

- **Works locally**: Talks to your devices on your own network. No vendor cloud in between.
- **From the Marketplace**: Installed through the Marketplace, formerly HACS.
- **Actively maintained**: Its author released or pushed a change in the last six months.

## Setting it up

Install it from the Marketplace and restart Home Assistant, then add it under Settings, Devices and services.

### Start end

- **Select source**

### Local stops

- **Select source**
- **Object/Person to use for lat/lon**
- **Name of the sensor**

### Source

- **New datasource name**
- **external url to gtfs data (zip) file**
- **API key, if required**
- **API key name**
- **the location where the key is applied**
- **Extract data from:**

### Agency

- **Select the service provider (or ALL)**

### Route type

- **Type of transport**

### Route

- **Name of the route**

### Stops

- **Origin Stop**

### Towards

- **Towards**

### After setup

- **Data refresh interval (in minutes)**
- **Offset in minutes**
- **Limit \#stops to avoid possible performance impact. Increase at your own risk**
- **Correct source gtfs timezone (in hours)**
- **Setup Realtime integration? (needs data from the same source)**
- **Data refresh interval (in minutes)**
- **Checking for departures in future from 'now' (in minutes: between 15 and 120)**
- **experimental: avoid using new zip/source contain having no current information**
- **Radius to search for stops (in meters between 50 and 500)**
- **URL to trip data**
- **URL to vehicle position**
- **URL to alerts**
- **API key, if required**
- **API key name**
- **the location where the key is applied**
- **Add Accept:application/x-protobuf to the header**

Texts from the code of [vingerha/gtfs2](https://github.com/vingerha/gtfs2).

## Actions

- **Update/create a GTFS2 datasource**: Either via Link or by placing a Zip in gtfs2 folder
  Fields: Indicate source to use zip or url, Name of the transport service, without .zip, URL, Remove feed-info
- **Collects GTFS Realtime data**: Can be used for Trip, Vehicle Location or Alerts
  Fields: Name of the provider, URL, api\_key, api\_key\_name, api\_key\_location, Accept, Indicate type of realtime data, SIRI RT Route, debug\_output
- **Update GTFS local stops**: e.g. for moving 'person', to be defined for each person / zone
  Fields: Entity that is connected to local stops
- **Extract departures**: Extracts next (max) 100 departures from your entity up-until tomorrow day end
  Fields: Route from which to extract, The time after which departures are collected
- **Extract arrivals**: Extracts next (max) 100 arrivals from your entity up-until tomorrow day end
  Fields: Route from which to extract, The time after which arrivals are collected

## From the README

> - Schedule a route between self-defined start/end stops
> - Schedule all (multi-route) departures from stops in a self-defined zone/area or (dynamically) around a device
> - Option to add realtime gtfs realtime trip updates, realtime vehicle location, realtime alerts, depends on the offering from your provider
> - With realtime vehicle location, geojson files allow to visualize and track vehicles on a map card
> - Services/actions to support automated processes, e.g. update the GTFSs of static and real time data
> - Dedicated card for route-based configurations GTFS2 Live Card by Pulpyyyy
> - translations: English, French, German, Spanish, Portuguese

From the README of [vingerha/gtfs2](https://github.com/vingerha/gtfs2#readme), [MIT License](https://spdx.org/licenses/MIT.html). Shortened.

## At a glance

- Kind: Marketplace integration
- Category: [Vehicles and transport](https://vulpo.app/integrations/category/vehicles-and-transport.md), Public transport
- Number: 335 installs sharing analytics; 137 GitHub stars
- Connection: Works locally
- Upkeep: Updated in the last 6 months
- Needs: Needs the Marketplace (HACS on 2026.10 and older)
- Latest version: 0.5.9.10, last updated October 25, 2026
- Domain: `gtfs2`
- Source: <https://github.com/vingerha/gtfs2>
- Issues: <https://github.com/vingerha/gtfs2/issues>
- Screenshot: https://vulpo.app/integrations-img/fc9469dc606235cd.webp (from vingerha/gtfs2's README)

In Vulpo: Chart card, Apple Watch

Independent directory, made by the developer of Vulpo. Not affiliated with Home Assistant or the Open Home Foundation. [About these numbers](https://vulpo.app/integrations/about)

Last updated 2026-10-23. Source: https://vulpo.app/integrations/marketplace/vingerha-gtfs2

---

- HTML version of this page: https://vulpo.app/integrations/marketplace/vingerha-gtfs2
- Site index for agents: https://vulpo.app/llms.txt
- Everything in one document: https://vulpo.app/llms-full.txt
- All pages: https://vulpo.app/sitemap.xml
