Project formerly known as "Home Assistant SL integration"
This is an Home Assistant integration providing sensors for Stockholms Lokaltrafik (SL) primarily, though it does support Resrobot and journeys in the whole country. This integration provides intelligent sensors for departures, traffic status and route monitoring using the SL official APIs and departures, arrivals and route monitoring using Resrobot. It also provides services for Location ID lookup and Trip Planing.
To use Resrobot integration, you will need to get your own API key from Trafiklab (see docs for HASL).
Full and detailed documentation is available.
-
If you haven't already, you must have HACS installed.
-
Go into HACS and search for HASL under the Integrations headline. Install the integration.
- You will need to restart Home Assistant to finish the process.
-
Once that is done reload your GUI (caching issues preventing the integration to be shown).
-
Go to Integrations and add HASL integrations.
- For some of the integrations you might needd to obtain an API key from TrafikLab. Read details in documentation
-
Perhaps add some GUI/Lovelace components as examples shows in the documentation
-
Enjoy!
The sensors should be able to be used with HASL Departure Card of versions 3.2.0 and above.
The "Disruptions" card is currently in development
Most of the APIs used by those versions are no longer available, so it is recommended to update to the latest version of the integration. If you want to use the older versions, you will need to use the older versions of the cards as well.
The sensors should be able to be used multiple cards in hasl-cards (departure-card, traffic-status-card) . There are several cards for different sensors and presentation options for each sensor type. More examples can be found in the documentation.
If you enjoy this integration, consider supporting the developers to help keep it running smoothly and enhance future updates.
- @DSorlov - author of the original
- @NecroKote - maintainer
