{"id":13830493,"url":"https://github.com/Alvinger/MMM-ResRobot","last_synced_at":"2025-07-09T11:33:12.425Z","repository":{"id":217324792,"uuid":"69338577","full_name":"Alvinger/MMM-ResRobot","owner":"Alvinger","description":"ResRobot module for Magic Mirror 2 - Display public transport departures","archived":false,"fork":false,"pushed_at":"2024-02-23T23:00:58.000Z","size":71,"stargazers_count":13,"open_issues_count":4,"forks_count":14,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-04T10:03:13.083Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Alvinger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2016-09-27T09:03:53.000Z","updated_at":"2024-08-04T10:03:19.285Z","dependencies_parsed_at":"2024-08-04T10:13:19.623Z","dependency_job_id":null,"html_url":"https://github.com/Alvinger/MMM-ResRobot","commit_stats":null,"previous_names":["alvinger/mmm-resrobot"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alvinger%2FMMM-ResRobot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alvinger%2FMMM-ResRobot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alvinger%2FMMM-ResRobot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alvinger%2FMMM-ResRobot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alvinger","download_url":"https://codeload.github.com/Alvinger/MMM-ResRobot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225539413,"owners_count":17485322,"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":[],"created_at":"2024-08-04T10:01:01.030Z","updated_at":"2024-11-20T11:30:51.453Z","avatar_url":"https://github.com/Alvinger.png","language":"JavaScript","funding_links":[],"categories":["Travel"],"sub_categories":[],"readme":"# MMM-ResRobot\n\nA module for MagicMirror2 (https://github.com/MichMich/MagicMirror) which shows scheduled departures from public transport stop(s) in Sweden. The module\nuses the ResRobot API for which you do need to obtain an API key, see below.\n\n# Install\n\n1. Clone repository into `../modules/` inside your MagicMirror folder.\n2. Run `npm install` inside `../modules/MMM-ResRobot/` folder\n3. Find your Station ID at https://www.trafiklab.se/api/resrobot-reseplanerare/konsol. Select \"Location Lookup\" as Method and type your station name in \"Location Name\".\n4. Add the module to the MagicMirror config\n```\n\t{\n\t\tmodule: \"MMM-ResRobot\",\n\t\tposition: \"left\",\n\t\theader: \"Departures\",\n\t\tconfig: {\n\t\t\troutes: [\n\t\t\t\t{from: \"\", to: \"\"},\t// ResRobot Station IDs of starting and destination station(s). At least one route must be defined.\n\t\t\t\t{from: \"\", to: \"\"},\t// \"from\" is required but \"to\" is optional (set \"to\" to empty string to indicate all destinations)\n\t\t\t],\n\t\t\tskipMinutes: 0,\t\t// Skip departures that happens within the next \u003cvalue\u003e minutes.\n\t\t\tmaximumEntries: 6,\t// Number of departures to show on screen\n\t\t\tmaximumDuration: 360,\t// Number of minutes to search for departures\n\t                getRelative: 0,         // Show relative rather than absolute time when less than \u003cvalute\u003e minutes left to departure, 0 = stay absolute\n\t\t\ttruncateAfter: 5,\t// A value \u003e 0 will truncate direction name at first space after \u003cvalue\u003e characters. 0 = no truncation\n\t\t\ttruncateLineAfter: 5,\t// A value \u003e 0 will truncate line number \u003cvalue\u003e characters. 0 = no truncation\n\t                showTrack: true,        // If true, track number will be displayed\n\t\t\tcoloredIcons: false,    // Setting this to true will color transportation type icons according to colors in colorTable\n\t\t\tapiKey: \"\"\t\t// Your ResRobot apiKey\n        }\n    },\n```\n# Get API key\n\nYou need to obtain your API key here: http://www.trafiklab.se, you want one for API \"ResRobot v2.1\". If you have a key for 2.0 you need to get a new one.\nRegistration is free but required.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlvinger%2FMMM-ResRobot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAlvinger%2FMMM-ResRobot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlvinger%2FMMM-ResRobot/lists"}