| Developer: | Simon's Plugins |
| Category: | Miscellaneous |
| Github: | Github Repo |
| Assistance: | Get help! Check the online documentation |
| Plugin ID: | com.simons-plugins.UKTrains |
| Latest release: | v2026.0.3 released on Feb. 24, 2026 |
| Release downloaded: | 0 times |
| Requires: | Indigo v2022.1.0 or higher |
| (Check the Releases tab below for older releases that may have different requirements) | |
| Download latest release |
Real-time UK train departure information integrated with the Indigo home automation system.
The UK Trains plugin connects your Indigo home automation system to the UK National Rail Darwin Live Departure Boards API, providing real-time train departure information for any UK railway station. Display departure boards, track delays, and integrate train schedules into your home automation workflows.
Originally based on Chameleon's iTravel plugin, fully rewritten and modernized for macOS Monterey+, Python 3, and Indigo 2023+.
.indigoPlugin file to installOpen Plugins → UK Trains → Configure to set global options:
Station codes (CRS codes) are 3-letter codes used by National Rail:
Full list available at: https://www.nationalrail.co.uk/stations_destinations/48541.aspx
Each device tracks up to 10 trains with the following states:
Per Train (train1-train10):
- trainXDestination - Final destination
- trainXOperator - Train operating company
- trainXSch - Scheduled departure time
- trainXEst - Estimated departure time
- trainXDelay - Delay message ("On Time", "5 mins late", "Cancelled", etc.)
- trainXProblem - Boolean flag (True if delayed, early, or cancelled)
- trainXReason - Delay reason if provided
- trainXCalling - Intermediate calling points (if enabled)
Station Information:
- stationLong - Full station name
- stationIssues - Boolean flag (True if any train has problems)
- timeGenerated - Last update timestamp
- message1 - NRCC special messages (disruptions, engineering works)
Alert on delays at my station:
Trigger: Device State Changed
Device: London Paddington to Bristol
State: stationIssues becomes True
Action: Send notification "Train delays at Paddington"
Announce next train 10 minutes before departure:
Trigger: Schedule
Time: Daily at 08:20 (if you leave at 08:30)
Condition: Device State "train1Problem" is False
Action: Speak "Your 08:30 train to Bristol is on time"
Flash lights if train is cancelled:
Trigger: Device State Changed
Device: My Commute
State: train1Delay contains "Cancelled"
Action: Flash office lights red
Add departure board to your control page:
train1DestinationtrainXProblem state to change color (red for problems)If enabled, the plugin generates PNG images showing departure boards:
Location: ~/Documents/IndigoImages/ (or configured path)
Format: {StationCRS}_{DestinationCRS}.png
Example: PAD_BRI.png (Paddington to Bristol)
Display on iPads, dashboards, or control pages using Indigo's control page image feature.
~/Library/Application Support/Perceptive Automation/Indigo [version]/Logs/Create multiple devices for the same departure station with different destination filters:
Use time-based triggers to: - Enable departure board display only during commute hours - Change update frequency (faster during peak times) - Announce specific trains at specific times
trainXProblem statesFor developers and contributors:
CLAUDE.md for development setupcd UK-Trains/tests
pytest unit/ -v # Unit tests
pytest integration/ -v # Integration tests (mocked)
pytest -m live_api integration/ # Live API tests (requires API key)
This plugin is provided as-is for use with Indigo home automation. Darwin API usage subject to National Rail terms of service.
Version: 3.0+ (2025) Minimum Indigo Version: 2023.2 macOS: Monterey or later Python: 3.10+
| Released on: | Feb. 24, 2026 |
| Requires: | Indigo v2022.1.0+ |
| Downloaded: | 0 times |
| Download this release | |
Full Changelog: https://github.com/simons-plugins/indigo-UKTrains/compare/v2026.0.2...v2026.0.3
| Released on: | Feb. 22, 2026 |
| Requires: | Indigo v2022.1.0+ |
| Downloaded: | 0 times |
| Download this release | |
Full Changelog: https://github.com/simons-plugins/indigo-UKTrains/compare/v2026.0.1...v2026.0.2
| Released on: | Feb. 4, 2026 |
| Requires: | Indigo v2022.1.0+ |
| Downloaded: | 0 times |
| Download this release | |
Full Changelog: https://github.com/simons-plugins/indigo-UKTrains/compare/v2025.1.9...v2026.0.1
| Released on: | Feb. 3, 2026 |
| Requires: | Indigo v2022.1.0+ |
| Downloaded: | 0 times |
| Download this release | |
Full Changelog: https://github.com/simons-plugins/indigo-UKTrains/compare/v2025.1.3...v2025.1.9
| Released on: | Jan. 30, 2026 |
| Requires: | Indigo v2022.1.0+ |
| Downloaded: | 0 times |
| Download this release | |
Full Changelog: https://github.com/simons-plugins/indigo-UKTrains/compare/v2025.1.2...v2025.1.3
| Released on: | Jan. 30, 2026 |
| Requires: | Indigo v2022.1.0+ |
| Download this release | |
Full Changelog: https://github.com/simons-plugins/indigo-UKTrains/compare/2025.1.1...v2025.1.2
| Released on: | Jan. 29, 2026 |
| Requires: | Indigo v2022.1.0+ |
| Download this release | |
Major refactor of the code, addition of testing and bugs fixed. No new features.
| Released on: | May 15, 2024 |
| Requires: | Indigo v2022.1.0+ |
| Download this release | |
2023.1.1
| Released on: | March 29, 2023 |
| Requires: | Indigo v2022.1.0+ |
| Download this release | |
| Released on: | March 29, 2023 |
| Requires: | Indigo v2022.1.0+ |
| Download this release | |
Initial Release