• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MBTA - can anyone get this working?

Scheduled Pinned Locked Moved Solved Troubleshooting
6 Posts 2 Posters 1.1k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    sdetweil
    last edited by sdetweil Dec 20, 2019, 8:08 PM Dec 20, 2019, 4:06 PM

    @nakulbende said in MBTA - can anyone get this working?:

    MMM-MBTA

    according to the readme

    stations
    This is an array of stations that you wish to display. Currently, only one max station is allowed. For a list of station names, please refer to stations-formatted.json. Make sure to use the common name!
    Example: stations: [ “Airport” ].
    Expected Value type: [String, String, …].

    so, it is ALWAYS has the brackets , even if just one station name

    stations: [ something ]

    I don’t know what this means
    Currently, only one max station is allowed

    based on the code, it looks like it will look up the station number from the name as provided in the
    stations-formatted.json file…

    so, you would use the name

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • N Offline
      nakulbende
      last edited by Dec 20, 2019, 6:28 PM

      Not sure how I got that - but I just changed them to common names. Still nothing.

      S 1 Reply Last reply Dec 20, 2019, 6:33 PM Reply Quote 0
      • S Offline
        sdetweil @nakulbende
        last edited by sdetweil Dec 20, 2019, 8:07 PM Dec 20, 2019, 6:33 PM

        @nakulbende did u change them to the names listed in the json file?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • N Offline
          nakulbende
          last edited by Dec 20, 2019, 6:36 PM

          Wait, it worked now. I was missing the []. It needs an array. Thanks again!

          S 1 Reply Last reply Dec 20, 2019, 6:36 PM Reply Quote 1
          • S Offline
            sdetweil @nakulbende
            last edited by Dec 20, 2019, 6:36 PM

            @nakulbende cool!

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              6/6
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy