Alvinger / MMM-ResRobot

ResRobot module for Magic Mirror 2 - Display public transport departures
13 stars 14 forks source link

Something is wrong with the API? #25

Closed noorm91 closed 4 months ago

noorm91 commented 4 months ago

Hi, after a restart of the MM I have gotten wrong stations. It is now showing stations in Stockholm area. Usually it's from Eslöv station - Lund/MAalmö etc bus/trains. Has there been an update recently, anything you know?

{ module: "MMM-ResRobot", position: "top_right", header: "Eslöv - Voyado", config: { routes: [ {from: "740000260", to: "740017330"}, // to Telefonplan - ResRobot Station IDs of starting and destination station(s). At least one route must be defined. {from: "740000260", to: "740012588"}, // to Brunnshög - "from" is required but "to" is optional (set "to" to empty string to indicate all destinations) ], apiKey: "API_KEY", // Your ResRobot apiKey skipMinutes: 0, // Skip departures that happens within the next <value> minutes. maximumEntries: 6, // Number of departures to show on screen maximumDuration: 360, // Number of minutes to search for departures getRelative: 15, // Show relative rather than absolute time when less than <value> minutes left to departure, 0 = stay absolute truncateAfter: 5, // A value > 0 will truncate direction name at first space after <value> characters. 0 = no truncation truncateLineAfter: 5, // A value > 0 will truncate line number <value> characters. 0 = no truncation showTrack: true, // If true, track number will be displayed coloredIcons: true, // Setting this to true will color transportation type icons according to colors in colorTable iconTable: { "B": "fa fa-bus", "S": "fa fa-subway", "J": "fa fa-train", "U": "fa fa-subway", "F": "fa fa-ship", }, colorTable: { "B": "#fec900", "S": "#FFFFFF", "J": "#716cb8", "U": "#FFFFFF", "F": "#FFFFFF", }, }, },

image

noorm91 commented 4 months ago

It is back to normal now, must have been something wrong with either Skånetrafiken or resrobot API.