CatoAntonsen / MMM-Ruter

MMM-Ruter is a MagicMirror² module for displaying public transport information for Oslo and Akershus (Norway). It's using data from Ruter.no.
MIT License
19 stars 13 forks source link

Module won't load when I change station #8

Closed agskaali closed 7 years ago

agskaali commented 7 years ago

Whenever I try to change the stopId the module won't load any results.

My stopId is 2190050

Am I doing something wrong?

CatoAntonsen commented 7 years ago

Works for me. Can you please paste your module config here?

agskaali commented 7 years ago

I have only done changes to the default config.js:

{ module: 'MMM-Ruter', header: 'Ruter', position: 'top_right', config: { showPlatform: false, maxItems: 6, stops: [ { stopId: "2190050", platforms: [ "1", "2" ], timeToThere: 0 } ] } },

CatoAntonsen commented 7 years ago

Your config for platforms is not valid. There are no platform named "1" or "2".

I've updated the README to hopefully make debugging this easier. Take a look at the Stops-section.