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.

    MMM-TrainConnections

    Scheduled Pinned Locked Moved Troubleshooting
    9 Posts 5 Posters 5.5k Views 3 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.
    • C Offline
      CommanderB @clebo99
      last edited by

      I think this one is Europe only - taker a look at localtransport module. This uses the Google APIs and works with many global transit systems.

      1 Reply Last reply Reply Quote 0
      • C Offline
        clebo99
        last edited by

        So I cloned the GoogleMaps one. Two questions.

        The directory is off the root of the Module Directory, not in the default directory. Is that correct?

        I’m about to run the NPM Install command. That’s not going to write over anything I have right? That just “adds” to what I already have, correct?

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          CommanderB @clebo99
          last edited by

          @clebo99 correct

          1 Reply Last reply Reply Quote 0
          • S Offline
            shgmongohh
            last edited by

            Have I to clone TrainConnections in MagicMirror/Modules or only in MagicMirror?

            I only get a black screen on my MagicMirror Version2.

            1 Reply Last reply Reply Quote 0
            • BangeeB Offline
              Bangee Module Developer
              last edited by

              You will need to clon it in to ~/MagicMirror/modules
              and add the config to your config/config.js file

              Bangee

              1 Reply Last reply Reply Quote 0
              • S Offline
                shgmongohh
                last edited by

                The Problem was Thatcher the Module folder had a wrong Name, MMM-trainconnetions.
                I renamed it to trainconnections and it works.

                1 Reply Last reply Reply Quote 0
                • G Offline
                  geeflaxx
                  last edited by

                  i can’t use the command ‘sudo command install’ cause it isn’t a right command

                  (i install it in the modules order)
                  but then i can change the api.php (have to add 2 api’s right)
                  then i have to change my config (add the modul)

                  but how i can get german api’s ?
                  i wrote a email on DBOpenData@deutschebahn.com to give me the api’s

                  but where should i add then the api’s in api.php ?

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    geeflaxx
                    last edited by

                    okay i can’t edit my post…

                    how can i change the connection.php script so that i see when my train come to late ?

                    i only wanna see my train from my city (for example berlin) to frankfurt
                    with the lateness time

                    but only the way to the city (like that https://forum.magicmirror.builders/uploads/files/1462363258197-mm_st.jpg)
                    not the way back

                    from the “Deutsche Bahn” i only got that (with apikey)
                    http://download-data.deutschebahn.com/static/apis/fahrplan/Fpl-API-Doku-Open-Data-BETA-0_81_2.pdf

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      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