{"id":26824824,"url":"https://github.com/cybcon/docker.dsb2pushover","last_synced_at":"2026-04-16T17:35:25.225Z","repository":{"id":185375887,"uuid":"673298282","full_name":"cybcon/docker.dsb2pushover","owner":"cybcon","description":"A python based docker container that uses the DSBMobile data and sends the updates via pushover.","archived":false,"fork":false,"pushed_at":"2024-12-22T17:48:51.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T10:17:40.060Z","etag":null,"topics":["docker-image","dsbmobile","pushover-api","python3"],"latest_commit_sha":null,"homepage":"https://www.oberdorf-itc.de/","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/cybcon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://www.paypal.com/donate/?hosted_button_id=BHGJGGUS6RH44"]}},"created_at":"2023-08-01T10:11:29.000Z","updated_at":"2024-12-22T17:48:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"4416a379-d531-41f9-956f-5eafe7170a81","html_url":"https://github.com/cybcon/docker.dsb2pushover","commit_stats":null,"previous_names":["cybcon/docker.dsb2pushover"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/cybcon/docker.dsb2pushover","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybcon%2Fdocker.dsb2pushover","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybcon%2Fdocker.dsb2pushover/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybcon%2Fdocker.dsb2pushover/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybcon%2Fdocker.dsb2pushover/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cybcon","download_url":"https://codeload.github.com/cybcon/docker.dsb2pushover/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybcon%2Fdocker.dsb2pushover/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265488671,"owners_count":23775154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["docker-image","dsbmobile","pushover-api","python3"],"created_at":"2025-03-30T10:17:43.237Z","updated_at":"2025-10-17T20:28:01.651Z","avatar_url":"https://github.com/cybcon.png","language":"Python","readme":"# Quick reference\n\nMaintained by: [Michael Oberdorf IT-Consulting](https://www.oberdorf-itc.de/)\n\nSource code: [GitHub](https://github.com/cybcon/docker.dsb2pushover)\n\nContainer image: [DockerHub](https://hub.docker.com/r/oitc/dsb2pushover)\n\n\u003c!-- SHIELD GROUP --\u003e\n[![][github-action-test-shield]][github-action-test-link]\n[![][github-action-release-shield]][github-action-release-link]\n[![][github-release-shield]][github-release-link]\n[![][github-releasedate-shield]][github-releasedate-link]\n[![][github-stars-shield]][github-stars-link]\n[![][github-forks-shield]][github-forks-link]\n[![][github-issues-shield]][github-issues-link]\n[![][github-license-shield]][github-license-link]\n\n[![][docker-release-shield]][docker-release-link]\n[![][docker-pulls-shield]][docker-pulls-link]\n[![][docker-stars-shield]][docker-stars-link]\n[![][docker-size-shield]][docker-size-link]\n\n\n# Supported tags and respective `Dockerfile` links\n\n\n* [`latest`, `1.0.14`](https://github.com/cybcon/docker.dsb2pushover/blob/v1.0.14/Dockerfile)\n* [`1.0.13`](https://github.com/cybcon/docker.dsb2pushover/blob/v1.0.13/Dockerfile)\n* [`1.0.12`](https://github.com/cybcon/docker.dsb2pushover/blob/v1.0.12/Dockerfile)\n* [`1.0.9`](https://github.com/cybcon/docker.dsb2pushover/blob/v1.0.9/Dockerfile)\n\n\n# What is the dsb2pushover container?\n\n[DSBMobile](https://dsbmobile.de/) is a very common service in Germany for schools to manage substitution plans. There are several apps for the common mobile phone platforms.\nAfter some problems with the DSBmobile app for Android I started looking for an API for DSBMobile to make the query more comfortable.\nHere I came across the Python library [DSBApi](https://github.com/nerrixDE/DSBApi) and got inspired by it and built a Docker container from it, which filters out only the necessary entries for the coming day, prepares them and distributes them with the [Pushover](https://pushover.net/) service.\n\n# Prerequisites to run the docker container\n1. You need a DSBMobile login from the school (user and password)\n2. You need a Pushover account and you need to create a new application for that (UserKey, ApiKey)\n\n# Configuration\nThe docker container grab the configuration via environment variables.\n\n| Environment variable name | Description | Required | Default value |\n|--|--|--|--|\n| `DSB_USERNAME` | The login username for DSBMobile | **MANDATORY** | |\n| `DSB_PASSWORD` | The login password for DSBMobile | **MANDATORY** | |\n| `PUSHOVER_USER_KEY` | The user key of your pushover account | **MANDATORY** | |\n| `PUSHOVER_API_KEY` | The application key of your pushover application | **MANDATORY** | |\n| `FILTER_SCHOOLCLASS` | The name of the school class in DSBMobile (regexp) | **OPTIONAL** | |\n| `LOGLEVEL` | The loglevel of the application inside the container, can be one of: `debug`, `info`, `warning`, `error` | **OPTIONAL** | ` info` |\n| `DSB_TABLE_FIELDS` | The table format of the DSBMobile tables, a comma separated list of attribute names | **OPTIONAL** | `type,class,lesson,subject,room,new_subject,new_teacher,teacher`\n\n# Docker run\n\n```\ndocker run --rm \\\n  -e DSB_USERNAME='dsb_username' \\\n  -e DSB_PASSWORD='mySecretPassword' \\\n  -e PUSHOVER_USER_KEY='PushoverUserKey' \\\n  -e PUSHOVER_API_KEY='PushoverApiKey' \\\n  -e FILTER_SCHOOLCLASS='6a?b?cd?' \\\n  -e DSB_TABLE_FIELDS='class,lesson,new_subject,room,subject,new_teacher,type,text' \\\n  oitc/dsb2pushover:latest\n```\n\n# Docker compose configuration\n\n```yaml\n  dsb2pushover:\n    restart: \"no\"\n    image: oitc/dsb2pushover:latest\n    environment:\n      DSB_USERNAME: 'dsb_username'\n      DSB_PASSWORD: 'mySecretPassword'\n      PUSHOVER_USER_KEY: 'PushoverUserKey'\n      PUSHOVER_API_KEY: 'PushoverApiKey'\n      FILTER_SCHOOLCLASS: '6a?b?cd?'\n      DSB_TABLE_FIELDS: 'class,lesson,new_subject,room,subject,new_teacher,type,text'\n```\n\n# Example crontab entry\nThis is an example crontab entry to trigger the docker container every 5pm to send the updates for tomorrow using docker compose.\n```\n0 17 * * * /usr/bin/docker-compose -f docker-compose.yml run --rm dsb2pushover \u003e/dev/null 2\u003e\u00261\n```\n\n# Donate\nI would appreciate a small donation to support the further development of my open source projects.\n\n\u003ca href=\"https://www.paypal.com/donate/?hosted_button_id=BHGJGGUS6RH44\" target=\"_blank\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/stefan-niedermann/paypal-donate-button/master/paypal-donate-button.png\" alt=\"Donate with PayPal\" width=\"200px\"\u003e\u003c/a\u003e\n\n# License\n\nCopyright (c) 2023 Michael Oberdorf IT-Consulting\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\u003c!-- LINK GROUP --\u003e\n[docker-pulls-link]: https://hub.docker.com/r/oitc/dsb2pushover\n[docker-pulls-shield]: https://img.shields.io/docker/pulls/oitc/dsb2pushover?color=45cc11\u0026labelColor=black\u0026style=flat-square\n[docker-release-link]: https://hub.docker.com/r/oitc/dsb2pushover\n[docker-release-shield]: https://img.shields.io/docker/v/oitc/dsb2pushover?color=369eff\u0026label=docker\u0026labelColor=black\u0026logo=docker\u0026logoColor=white\u0026style=flat-square\n[docker-size-link]: https://hub.docker.com/r/oitc/dsb2pushover\n[docker-size-shield]: https://img.shields.io/docker/image-size/oitc/dsb2pushover?color=369eff\u0026labelColor=black\u0026style=flat-square\n[docker-stars-link]: https://hub.docker.com/r/oitc/dsb2pushover\n[docker-stars-shield]: https://img.shields.io/docker/stars/oitc/dsb2pushover?color=45cc11\u0026labelColor=black\u0026style=flat-square\n[github-action-release-link]: https://github.com/cybcon/docker.dsb2pushover/actions/workflows/release-from-label.yaml\n[github-action-release-shield]: https://img.shields.io/github/actions/workflow/status/cybcon/docker.dsb2pushover/release-from-label.yaml?label=release\u0026labelColor=black\u0026logo=githubactions\u0026logoColor=white\u0026style=flat-square\n[github-action-test-link]: https://github.com/cybcon/docker.dsb2pushover/actions/workflows/test.yaml\n[github-action-test-shield-original]: https://github.com/cybcon/docker.dsb2pushover/actions/workflows/test.yaml/badge.svg\n[github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/cybcon/docker.dsb2pushover/test.yaml?label=tests\u0026labelColor=black\u0026logo=githubactions\u0026logoColor=white\u0026style=flat-square\n[github-forks-link]: https://github.com/cybcon/docker.dsb2pushover/network/members\n[github-forks-shield]: https://img.shields.io/github/forks/cybcon/docker.dsb2pushover?color=8ae8ff\u0026labelColor=black\u0026style=flat-square\n[github-issues-link]: https://github.com/cybcon/docker.dsb2pushover/issues\n[github-issues-shield]: https://img.shields.io/github/issues/cybcon/docker.dsb2pushover?color=ff80eb\u0026labelColor=black\u0026style=flat-square\n[github-license-link]: https://github.com/cybcon/docker.dsb2pushover/blob/main/LICENSE\n[github-license-shield]: https://img.shields.io/badge/license-MIT-blue?labelColor=black\u0026style=flat-square\n[github-release-link]: https://github.com/cybcon/docker.dsb2pushover/releases\n[github-release-shield]: https://img.shields.io/github/v/release/cybcon/docker.dsb2pushover?color=369eff\u0026labelColor=black\u0026logo=github\u0026style=flat-square\n[github-releasedate-link]: https://github.com/cybcon/docker.dsb2pushover/releases\n[github-releasedate-shield]: https://img.shields.io/github/release-date/cybcon/docker.dsb2pushover?labelColor=black\u0026style=flat-square\n[github-stars-link]: https://github.com/cybcon/docker.dsb2pushover\n[github-stars-shield]: https://img.shields.io/github/stars/cybcon/docker.dsb2pushover?color=ffcb47\u0026labelColor=black\u0026style=flat-square\n","funding_links":["https://www.paypal.com/donate/?hosted_button_id=BHGJGGUS6RH44"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybcon%2Fdocker.dsb2pushover","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcybcon%2Fdocker.dsb2pushover","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybcon%2Fdocker.dsb2pushover/lists"}