{"id":13830503,"url":"https://github.com/niklaskappler/MMM-vvsDeparture","last_synced_at":"2025-07-09T11:33:14.739Z","repository":{"id":167238879,"uuid":"85876705","full_name":"niklaskappler/MMM-vvsDeparture","owner":"niklaskappler","description":"A MagicMirror² (https://magicmirror.builders) Module for public transport in Stuttgart, Germany","archived":false,"fork":false,"pushed_at":"2020-07-03T20:28:49.000Z","size":89,"stargazers_count":15,"open_issues_count":5,"forks_count":13,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-08-04T10:03:16.552Z","etag":null,"topics":["magic-mirror","magic-mirror-modules","stuttgart","transportation","vvs","vvs-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/niklaskappler.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2017-03-22T21:12:57.000Z","updated_at":"2023-10-21T15:08:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"3b8a7ba9-49fa-499e-af77-bc4dcb74efd0","html_url":"https://github.com/niklaskappler/MMM-vvsDeparture","commit_stats":null,"previous_names":["niklaskappler/mmm-vvsdeparture"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklaskappler%2FMMM-vvsDeparture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklaskappler%2FMMM-vvsDeparture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklaskappler%2FMMM-vvsDeparture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklaskappler%2FMMM-vvsDeparture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niklaskappler","download_url":"https://codeload.github.com/niklaskappler/MMM-vvsDeparture/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225539423,"owners_count":17485325,"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":["magic-mirror","magic-mirror-modules","stuttgart","transportation","vvs","vvs-api"],"created_at":"2024-08-04T10:01:01.172Z","updated_at":"2024-11-20T11:30:53.178Z","avatar_url":"https://github.com/niklaskappler.png","language":"JavaScript","funding_links":[],"categories":["Travel"],"sub_categories":[],"readme":"# MMM-vvsDeparture\nA MagicMirror2 Module to display information about public transport in Stuttgart, Germany.\n\nThe `MMM-vvsDeparture` module is a module designed to display the departures times as stations along the Stuttgart public transportation system.\n It is configurable based on the stations to get destination times for, destinations to exclude and other options.\n\nIt also will show any delays, based on the real time information provided by VVS.\n\nExample:\n\n![Full](example1.png)\n\n\n## Installation\nRun these commands at the root of your magic mirror install.\n\n```shell\ncd modules\ngit clone https://github.com/niklaskappler/MMM-vvsDeparture\n```\n\n## Using the module\nTo use this module, add the following configuration block to the modules array in the `config/config.js` file:\n```js\nvar config = {\n    modules: [\n        {\n            module: 'MMM-vvsDeparture',\n            position: \"top_right\",\n            config: {\n                station_id: '\u003cYOUR_STATION_ID_HERE\u003e',\n                // See below for more configurable options\n            }\n        }\n    ]\n}\n```\n\nNote that a `position` setting is not required.\n\n## Configuration options\nThe following properties can be configured:\n\n\u003ctable width=\"100%\"\u003e\n\t\u003cthead\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eOption\u003c/th\u003e\n\t\t\t\u003cth width=\"100%\"\u003eDescription\u003c/th\u003e\n\t\t\u003c/tr\u003e\n\t\u003cthead\u003e\n\t\u003ctbody\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003estation_id\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003eA value which represents the station id of the station. The id is combined of the area prefix \u003ccode\u003ede:08111\u003c/code\u003e and the unique station id e.g \u003ccode\u003e6112\u003c/code\u003e which result to \u003ccode\u003ede:08111:2201\u003c/code\u003e. Here is a full list of all station with \n\t\t\t\tcorespnding ids within the VVS public transport network, to find your station (\u003ca href=\"https://www.openvvs.de/dataset/1f7ec4c1-b590-4751-a25b-57ef988c14b6/resource/d87d1f01-5c14-4d08-8452-e405a6472ab4/download/vvs_haltestellen.csv\"\u003ehttps://www.openvvs.de/dataset/1f7ec4c1-b590-4751-a25b-57ef988c14b6/resource/d87d1f01-5c14-4d08-8452-e405a6472ab4/download/vvs_haltestellen.csv\u003c/a\u003e).   \n\t\t\t\t\u003cbr\u003e\u003cbr\u003e\u003cb\u003ePossible values:\u003c/b\u003e \u003ccode\u003einteger\u003c/code\u003e\n\t\t\t\t\u003cbr\u003e\u003cb\u003eDefault value:\u003c/b\u003e \u003ccode\u003ede:08111:6112\u003c/code\u003e\n\t\t\t\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003estation_name\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003eThe displayed name for your station.\n\t\t\t\t\u003cbr\u003e\u003cbr\u003e\u003cb\u003ePossible values:\u003c/b\u003e \u003ccode\u003estring\u003c/code\u003e\n\t\t\t\t\u003cbr\u003e\u003cb\u003eDefault value:\u003c/b\u003e \u003ccode\u003eundefined\u003c/code\u003e\n\t\t\t\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003emaximumEntries\u003c/code\u003e\u003c/td\u003e\n      \t\t\u003ctd\u003eNumber of departure entries which will be shown.\n\t\t\t\t\u003cbr\u003e\u003cbr\u003e\u003cb\u003ePossible values:\u003c/b\u003e \u003ccode\u003einteger\u003c/code\u003e\n\t\t\t\t\u003cbr\u003e\u003cb\u003eDefault value:\u003c/b\u003e \u003ccode\u003e6\u003c/code\u003e\n\t\t\t\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003e\n\t\t\t    \u003ccode\u003ereloadInterval\u003c/code\u003e\n\t\t\t\u003c/td\u003e\n     \t\t \u003ctd\u003eThe refresh rate departure entries will be updated in milliseconds. \n      \t\t\t\u003cbr\u003e\u003cbr\u003e\u003cb\u003ePossible values:\u003c/b\u003e \u003ccode\u003einteger\u003c/code\u003e\n\t\t\t\t\u003cbr\u003e\u003cb\u003eDefault value:\u003c/b\u003e \u003ccode\u003e1 * 60 * 1000\u003c/code\u003e e.q. one minute\n\t\t\t\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003e\n\t\t\t    \u003ccode\u003ecolorDelay\u003c/code\u003e\n\t\t\t\u003c/td\u003e\n     \t\t \u003ctd\u003eDefine if the delay value should be colorized.\n      \t\t\t\u003cbr\u003e\u003cbr\u003e\u003cb\u003ePossible values:\u003c/b\u003e \u003ccode\u003eboolean\u003c/code\u003e\n\t\t\t\t\u003cbr\u003e\u003cb\u003eDefault value:\u003c/b\u003e \u003ccode\u003etrue\u003c/code\u003e\n\t\t\t\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003e\n\t\t\t    \u003ccode\u003ecolorNoDelay\u003c/code\u003e\n\t\t\t\u003c/td\u003e\n     \t\t \u003ctd\u003eDefine if the no delay value should be colorized.\n      \t\t\t\u003cbr\u003e\u003cbr\u003e\u003cb\u003ePossible values:\u003c/b\u003e \u003ccode\u003eboolean\u003c/code\u003e\n\t\t\t\t\u003cbr\u003e\u003cb\u003eDefault value:\u003c/b\u003e \u003ccode\u003etrue\u003c/code\u003e\n\t\t\t\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003e\n\t\t\t    \u003ccode\u003enumber\u003c/code\u003e\n\t\t\t\u003c/td\u003e\n     \t\t \u003ctd\u003eDefine the lane number which should be displayed. With this you can hide numbers you don't want to see.\n      \t\t\t\u003cbr\u003e\u003cbr\u003e\u003cb\u003ePossible values:\u003c/b\u003e \u003ccode\u003eString\u003c/code\u003e / \u003ccode\u003eArray\u003c/code\u003e / \u003ccode\u003eFunction\u003c/code\u003e \n\t\t\t\t\u003cbr\u003e\u003cb\u003eDefault value:\u003c/b\u003e \u003ccode\u003eundefined\u003c/code\u003e\n\t\t\t\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003e\n\t\t\t    \u003ccode\u003edirection\u003c/code\u003e\n\t\t\t\u003c/td\u003e\n     \t\t \u003ctd\u003eDefine the lane direction which should be displayed. With this you can hide numbers you don't wont to see.\n      \t\t\t\u003cbr\u003e\u003cbr\u003e\u003cb\u003ePossible values:\u003c/b\u003e \u003ccode\u003eString\u003c/code\u003e / \u003ccode\u003eArray\u003c/code\u003e / \u003ccode\u003eFunction\u003c/code\u003e \n\t\t\t\t\u003cbr\u003e\u003cb\u003eDefault value:\u003c/b\u003e \u003ccode\u003eundefined\u003c/code\u003e\n\t\t\t\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003e\n\t\t\t    \u003ccode\u003eoffset\u003c/code\u003e\n\t\t\t\u003c/td\u003e\n     \t\t \u003ctd\u003eDefine the offset in minutes. Show connections only starting in the offset minutes.\n      \t\t\t\u003cbr\u003e\u003cbr\u003e\u003cb\u003ePossible values:\u003c/b\u003e \u003ccode\u003einteger\u003c/code\u003e\n\t\t\t\t\u003cbr\u003e\u003cb\u003eDefault value:\u003c/b\u003e \u003ccode\u003eundefined\u003c/code\u003e\n\t\t\t\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniklaskappler%2FMMM-vvsDeparture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniklaskappler%2FMMM-vvsDeparture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniklaskappler%2FMMM-vvsDeparture/lists"}