{"id":24307825,"url":"https://github.com/albrechtl/hass-padersprinter","last_synced_at":"2026-04-21T01:02:06.294Z","repository":{"id":269699050,"uuid":"905648820","full_name":"AlbrechtL/hass-padersprinter","owner":"AlbrechtL","description":"A Padersprinter Home Assistant custom component","archived":false,"fork":false,"pushed_at":"2025-08-12T14:30:18.000Z","size":259,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-12T16:27:10.559Z","etag":null,"topics":["custom-component","home-assistant","integration","paderborn"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlbrechtL.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-19T08:53:25.000Z","updated_at":"2025-08-12T14:30:16.000Z","dependencies_parsed_at":"2024-12-25T12:28:04.557Z","dependency_job_id":"fc8aaa10-e197-42f3-8be5-af1cddb07a3f","html_url":"https://github.com/AlbrechtL/hass-padersprinter","commit_stats":null,"previous_names":["albrechtl/hass-padersprinter"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/AlbrechtL/hass-padersprinter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbrechtL%2Fhass-padersprinter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbrechtL%2Fhass-padersprinter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbrechtL%2Fhass-padersprinter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbrechtL%2Fhass-padersprinter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlbrechtL","download_url":"https://codeload.github.com/AlbrechtL/hass-padersprinter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbrechtL%2Fhass-padersprinter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32072323,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T21:26:33.338Z","status":"ssl_error","status_checked_at":"2026-04-20T21:26:22.081Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["custom-component","home-assistant","integration","paderborn"],"created_at":"2025-01-17T04:19:46.447Z","updated_at":"2026-04-21T01:02:06.270Z","avatar_url":"https://github.com/AlbrechtL.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Padersprinter Home Assistant sensor\n\nThis sensor uses official API provided by Padersprinter in Paderborn, Germany.\n\n![Padersprinter Hauptbahnhof stop HTML card](screenshots/pb_hauptbahnhof_htmlcard.png)\n\nThanks to [Piotr Machowski](https://github.com/PiotrMachowski) who implemented the [MPK Kraków sensor](https://github.com/PiotrMachowski/Home-Assistant-custom-components-MPK-KR). Obviously, Kraków, Poland is using the same information system as Paderborn. \n\n\n## Example usage\n\n```\nsensor:\n  - platform: padersprinter\n    stops:\n      - id: 1000 # Hauptbahnhof\n        lines:\n          - \"1\"\n      - id: 1001 # Westerntor\n        mode: arrival\n        directions:\n          - \"Gesseln\"\n```\nValue for `id` can be retrieved from [*stations.md*](https://github.com/AlbrechtL/hass-padersprinter/blob/master/stations.md).\n\n\n#### Configuration options\n\n| Key | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `string` | `False` | `Padersprinter` | Name of sensor |\n| `stops` | `list` | `True` | - | List of stop configurations |\n\n#### Stop configuration\n\n| Key | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `positive integer` | `True` | - | ID of a stop. See [*stations.md*](https://github.com/AlbrechtL/hass-padersprinter/blob/master/stations.md) |\n| `mode` | `string` | `False` | `departure` | One of `departure` or `arrival` |\n| `name` | `string` | `False` | id | Name of a stop |\n| `lines` | `list` | `False` | all available | List of monitored lines. |\n| `directions` | `list` | `False` | all available | List of monitored directions. |\n\n## Dashboard\n\nThese sensors provides attributes which can be used in [*HTML card*](https://github.com/PiotrMachowski/Home-Assistant-Lovelace-HTML-card) (recommend install via HACS): `html_timetable`, `html_departures`\n  * HTML card:\n    ```yaml\n    type: custom:html-card\n    title: Bus Hauptbahnhof\n    content: |\n      \u003cbig\u003e\u003ccenter\u003eAbfahrt lt. Fahrplan\u003c/center\u003e\u003c/big\u003e\n      [[ sensor.padersprinter_1000_departure.attributes.html_timetable ]]\n      \u003cbr\u003e\n      \u003cbig\u003e\u003ccenter\u003eEchtzeit Abfahrten\u003c/center\u003e\u003c/big\u003e\n      [[ sensor.padersprinter_1000_departure.attributes.html_departures ]]\n    ```\n\n## Installation\n\nYou can install manually or by using [HACS](https://hacs.xyz/) (the easier way).\n\n#### HACS\n\n1. Go to `HACS`\n2. Search for `Padersprinter`\n\n\n#### Manual\n\nTo install this integration manually you have to download [*padersprinter.zip*](https://github.com/AlbrechtL/hass-padersprinter/releases/latest/download/padersprinter.zip) and extract its contents to `config/custom_components/padersprinter` directory:\n```bash\nmkdir -p custom_components/padersprinter\ncd custom_components/padersprinter\nwget https://github.com/AlbrechtL/hass-padersprinter/releases/latest/download/padersprinter.zip\nunzip padersprinter.zip\nrm padersprinter.zip\n```\n\n## Padersprinter API\n\n* Get current bus information per station in JSON format\n  ```\n  curl 'https://www.padersprinter.de/internetservice/services/passageInfo/stopPassages/stop' -X POST --data-raw 'stop=1000'\n  ```\n\n* Get all Padersprinter stations in JSON format\n  ```\n  curl 'https://www.padersprinter.de/internetservice/geoserviceDispatcher/services/stopinfo/stops' -X POST --data-raw 'left=-648000000\u0026bottom=-324000000\u0026right=648000000\u0026top=324000000'\n  ```\n\n* Get current bus locations\n  ```\n  curl 'https://www.padersprinter.de/internetservice/geoserviceDispatcher/services/vehicleinfo/vehicles' -X POST\n  ```\n\n## Acknowledgement\n\nI would like to thanks to following projects. Without these great work this Padersprinter Home Assistant component would not be possible.\n* [MPK Kraków sensor](https://github.com/PiotrMachowski/Home-Assistant-custom-components-MPK-KR)\n* [Kraków TTSS-documentation](https://github.com/Delay-Team/Cracow-Public-Transport-Dashboard/wiki/TTSS-documentation)\n* https://aczepielik.github.io/post/kraktram/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbrechtl%2Fhass-padersprinter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbrechtl%2Fhass-padersprinter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbrechtl%2Fhass-padersprinter/lists"}