MBTALive is an independent project and is not affiliated with or endorsed by the Massachusetts Bay Transportation Authority (MBTA). Transit data is provided by the MBTA.
MBTALive is a Home Assistant integration that provides real-time MBTA transit data, including:
- Trains, subways, buses, and ferries
- Live arrival times, geolocation, platform informations and alerts
- Customizable tracking for specific trips (departure → arrival stops)
- Support for multiple routes and lines to find the fastest option
Easily monitor your commute and get up-to-date transit information directly in Home Assistant.
- Real-time MBTA transit information for trains, subways, buses, and ferries.
- Geolocation for trains, subways, and buses.
- Information is provided on a trip basis (direct connection from departure stop to arrival stop).
- Details for two trips:
- Current trip: The next trip arriving at the departure stop.
- Next trip: The following trip, available in the
next
attribute of each sensor.
- Trips support multiple routes (trains, subways, etc.) and multiple lines (e.g., Green Line A, Orange Line), ensuring the best solution at any given moment.
- Trips are sorted by arrival time at the arrival stop (fastest way to get there).
- Frequent updates for accurate trip tracking.
Subways
Trains
Buses (No platform)
Ferries (No live update, no geolocation)
Follow the HACS installation guide.
- Open Home Assistant → HACS.
- Click the three dots (top-right) → "Custom repositories".
- Add
https://github.com/chiabre/MBTAlive
as a repository under "Integration". - Click "Add".
- Find MBTAlive in HACS.
- Click "Install" and choose a version (2.0+ required for HACS).
- Restart Home Assistant.
- Go to Settings → Devices & Services → + Add Integration.
- Search for MBTAlive and follow the setup steps:
- Station names: Use valid names (e.g., "South Station", "Park Street"). See MBTA Stops.
- MBTA API Key:
- Visit the MBTA API Page.
- Sign up and generate a free API key.
HACS will notify you of updates. To update:
- Go to HACS → MBTAlive.
- Click Update.
- Restart Home Assistant.
Contributions are welcome! Open an issue or submit a pull request.
For help, open an issue on this GitHub repository.