Skip to content

Swedish Public Transport Sensor (HASL). Formerly named HomeAssistant SL Sensor

License

Notifications You must be signed in to change notification settings

Joakim-T/SLHASS

 
 

Repository files navigation

maintained hacs_badge ha_version version maintainer License

Swedish Public Transport Sensor (HASL)

Project formerly known as "Home Assistant SL integration"

This is an Home Assistant integration providing sensors for Stockholms Lokaltrafik primaryly however it does support Resrobot and travels in the whole country. It provides intelligent sensors for departures, deviations, vehicle locations, 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. You will still need to get your own API keys from SL / Trafiklab (se docs for HASL).

Full and detailed documentation is available http://hasl.sorlov.com.

Install using HACS

  • If you haven't already you must have HACS installed.
  • Go into HACS and search for HASL under the Integrations headline. 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).
  • Goto Integrations and add HASL integrations.
  • Get API-keys at TrafikLab, read details in documentation
  • Location IDs can be found using services
  • Perhaps add some GUI/Lovelace components as examples shows in the documentation
  • Enjoy and buy me a coffee if you like my work

Visualisation

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.

card

About

Swedish Public Transport Sensor (HASL). Formerly named HomeAssistant SL Sensor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%