This is a Home Assistant integration for tracking Luxembourg CFL train commutes. Monitor trains, get disruption alerts, and automate your commuting routine.
- Real-time Train Tracking: Monitor upcoming trains between any two Luxembourg stations
- Smart Update Intervals: Automatically adjusts polling frequency based on time of day (peak/off-peak/night)
- Disruption Detection: Binary sensor that alerts on cancellations or significant delays
- Rich Sensor Data: Comprehensive attributes including platforms, delays, calling points, and more
- Multi-Route Support: Configure multiple commutes (e.g., morning and evening journeys)
- UI Configuration: Easy setup through Home Assistant's config flow interface
- HACS Compatible: Simple installation via Home Assistant Community Store
- A working installation of Home Assistant
- An API key for the mobiliteit.lu API. Request your API key by emailing: opendata-api@atp.etat.lu
- (optional, recommended for easy installation): HACS
Choose one of the following methods (easiest first).
- Follow this link:
- Confirm adding custom repository
- Click on "Download" button (bottom right) and confirm
- When it's downloaded, you will have a notification in "Settings" that tells you to restart HA. Accept the suggestion and let HA restart
- Open HACS
- Click on "⋮" (top right), then "Custom repositories"
- Fill in as follows:
- Repository:
https://github.com/ogerardin/ha-cfl-commute - Type: 'Integration'
- Repository:
- Click "ADD"; after a few seconds the new integration appears under the "New" heading
- Click on "⋮" on the corresponding row, then "Download" and confirm
- When it's downloaded, you will have a notification in "Settings" that tells you to restart HA. Accept the suggestion and let HA restart
- Copy
custom_components/cfl_commutetoconfig/custom_components/ - Restart HA
- Check the user guide: USAGE.md
- for a richer visual experience, install the companion CFL Commute Card
- Issues: GitHub issues
This integration was forked from adamf83/my-rail-commute (UK National Rail), thanks to the author for inspiration.
Real time data is obtained from mobiliteit.lu HAFAS OpenData API:
- Provider: CFL (Chemins de Fer Luxembourgeois)
- API: mobiliteit.lu HAFAS API
This project is licensed under the MIT License - see the LICENSE file for details.
This is an unofficial integration and is not affiliated with, endorsed by, or connected to CFL (Chemins de Fer Luxembourgeois) or mobiliteit.lu. Use at your own risk.
Train times and information are provided by the mobiliteit.lu HAFAS API. While we strive for accuracy, always verify critical journey information through official channels.