A custom Home Assistant add-on that provides a RESTful API server for monitoring Luzern bus departures.
- Real-time bus departure monitoring
- RESTful API endpoints
- Configurable routes and time windows
- Easy Home Assistant integration
- Automatic startup and management
- Go to Settings โ Add-ons in Home Assistant
- Click the three dots (โฎ) โ Repositories
- Add:
https://github.com/your-username/homeassistant-addon-repo - Click "Add"
- Search for "Luzern Bus Monitor"
- Click "Install"
- Copy the
luzern_bus_monitorfolder to/config/addons/local/ - Restart Home Assistant
- The add-on will appear in the Add-ons list
The add-on can be configured through the Home Assistant UI:
hours_ahead: Hours into future to look for departures (default: 2)scan_interval: How often to update in seconds (default: 30)
GET /api/status- Health checkGET /api/bus_departures- Get departure dataGET /api/routes- Get configured routes
After installing the add-on, configure Home Assistant sensors using the provided configuration files.
MIT License