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.

    Deutsche Bahn Delay

    Scheduled Pinned Locked Moved Requests
    4 Posts 4 Posters 2.5k Views 4 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.
    • J Offline
      jajawunderbar
      last edited by

      Hi, is there any chance for a module: Station/Next Trains + Delay for German Deutsche Bahn? Like this: mobil.bahn.de/bin/query.exe/dox?S=8000318&Z=8003395&start=1&rt=1&time=16:54

      Thanks, Mathias

      1 Reply Last reply Reply Quote 0
      • D Offline
        dbahn25
        last edited by

        I don’t think that’s possible. Deutsche Bahn provides an API, though currently only for long-distance trains and without any information on delays.

        1 Reply Last reply Reply Quote 1
        • binderthB Offline
          binderth
          last edited by

          I also wanted to have a module like this displaying the actual delays for my trains to catch.
          What seems like the only solution would be to scrape the URL from above (http://mobil.bahn.de/bin/query.exe/dox?S=8000318&Z=8003395&start=1&rt=1), but without the time attribut. Just cut out the interesting part and put it in a module.

          0_1485940466832_upload-e6483a51-1f22-4011-9157-f23631abd823

          seems doable, but i don’t have the JS-Background, I’m afraid.

          1 Reply Last reply Reply Quote 0
          • D Offline
            Dom1n1c
            last edited by

            You could use the API by the local organization unit, which is VRR for instance.
            I wrote something about the VRR-Routing, which possibly may work for other Locations (At leat in NRW):
            https://forum.magicmirror.builders/topic/1281/deutsche-bahn-list-of-connections-with-delays/3

            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