edward-shen / MMM-MBTA

MagicMirror² module for the Massachusetts Bay Transportation Authority
MIT License
12 stars 4 forks source link

Config check - showing nothing coming soon... #17

Closed nakulbende closed 4 years ago

nakulbende commented 4 years ago

Hello, I have the following config on my file:

        {
            module: 'MMM-MBTA',
            position: 'bottom_left', // This can be any of the regions.
            header: "MBTA: Davis",
            config: {
                apikey: 'XXXXXXX',
                updateInterval: 30,
                stations: 'Davis Square": "place-davis',
                formatETA: 'true',
                showOnly: ["Subway", "Bus"],
                colorIcons: 'true',
                direction: 'Inbound',
                noETAToBack: 'false'
            }
        },

But I am getting a nothing coming soon error. Am I doing something wrong?

image

On a seperate note, how does the stations field look if I want to include two stations? Say Davis Square": "place-davis and Main St @ Emerson Rd": "8823

edward-shen commented 4 years ago

Hey, sorry about the late response,

Your config is incorrect: the stations key should look something like this:

stations: ['Davis Square'],

I don't know if multiple stations are supported, but you can try with ['Davis Square', 'Main St @ Emerson Rd'].

edward-shen commented 4 years ago

Closing due to age. Feel free to reopen if you still have problems.