• 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.

MMM-Rejseplanen - A departure board for Danish train and bus stations

Scheduled Pinned Locked Moved Transport
19 Posts 10 Posters 9.7k Views 10 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.
  • M Offline
    MarkNygaard
    last edited by Oct 5, 2018, 5:16 PM

    Thank you for the plugin it is very nice and just what I needed for displaying bus lines in Aarhus.

    For others that might want to use a Station ID that is not in the list you can find nearby stops to your coordinates by using this URL: http://xmlopen.rejseplanen.dk/bin/rest.exe/stopsNearby?coordX=id&coordY=id&maxRadius=1000&maxNumber=30

    Example:
    GPS coordinates
    Latitude: 55.67310756519397
    Longitude: 12.565741539001467

    http://xmlopen.rejseplanen.dk/bin/rest.exe/stopsNearby?coordX=12565796&coordY=55673063&maxRadius=1000&maxNumber=30

    1 Reply Last reply Reply Quote 2
    • S Offline
      siraero
      last edited by Mar 6, 2019, 8:17 PM

      Hi
      How can I add a red color for the bus icon?
      Cant See what class to use in the css.

      1 Reply Last reply Reply Quote 0
      • F Offline
        focaldistorsion
        last edited by focaldistorsion Mar 12, 2019, 2:28 PM Mar 12, 2019, 2:27 PM

        Hejsa!

        Thank you @Manmachine for your contribution!
        I’m totally new to the concept and my purpose is to use it to GYST my daily workflow as a young entrepreneur

        (gyst = get your shit together)

        Trying the module now with the current setup:

        VirtualBox on macOS Mojave running Ubuntu MATE 1604LTS as a DevEnvironment.
        Latest MagicMirror only with the clock module on.

        Added station ID for Odense, Nørreport and my tiny bus station and nothing shows up. Only getting a Loading … response. Is the Rejseplanen API still functional with this module? Or is it maybe my setup to blame?

        0_1552400697624_Screenshot 2019-03-12 at 15.23.17.png

        1 Reply Last reply Reply Quote 0
        • F Offline
          focaldistorsion
          last edited by Mar 12, 2019, 3:37 PM

          As to be expected the issue was with the setup - VM users should take that into account. Oddly the fix when I added another module using external info (horoscope) and rebooted the VM. Saw it had a hiccup with time and date sync within ubuntu. Sorted itself out. Rejseplanen train depatures from Odense Station load nicely but for some reason can’t figure out how to switch to Bus lines and show the lines that go through my stop or any other bus stop for that matter.

          config:{
            stationID: "461112000",
            stationName: "Bilka",
            vehicle: "B",
            destfilter: "",
            departuresMax: 5
          }
          

          After Loading… for a while it returns this

          0_1552404911886_Screenshot 2019-03-12 at 16.34.56.png

          Which seems to be defaulting to Odense Station for some reason.

          1 Reply Last reply Reply Quote 0
          • I Offline
            Impertus
            last edited by Jun 5, 2020, 9:54 AM

            What happen to this Module :/

            Is just what i needed…

            M 1 Reply Last reply Jun 5, 2020, 1:52 PM Reply Quote 0
            • M Offline
              MarkNygaard @Impertus
              last edited by Jun 5, 2020, 1:52 PM

              @Impertus It still works fine. Runs on my mirror every day.

              I 1 Reply Last reply Jun 8, 2020, 5:09 AM Reply Quote 0
              • I Offline
                Impertus @MarkNygaard
                last edited by Jun 8, 2020, 5:09 AM

                @MarkNygaard said in MMM-Rejseplanen - A departure board for Danish train and bus stations:

                @Impertus It still works fine. Runs on my mirror every day.

                Can you send that to me? Because there is No download link more. :/

                På forhånd tak :)

                M 1 Reply Last reply Jun 8, 2020, 4:32 PM Reply Quote 0
                • M Offline
                  MarkNygaard @Impertus
                  last edited by Jun 8, 2020, 4:32 PM

                  @Impertus said in MMM-Rejseplanen - A departure board for Danish train and bus stations:

                  @MarkNygaard said in MMM-Rejseplanen - A departure board for Danish train and bus stations:

                  @Impertus It still works fine. Runs on my mirror every day.

                  Can you send that to me? Because there is No download link more. :/

                  På forhånd tak :)

                  https://github.com/poketcalulator/MMM-Rejseplanen

                  There you go :)

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    mklara
                    last edited by Mar 11, 2023, 9:19 AM

                    Like focaldistorsion I had a problem where the module kept saying Loading…
                    I installed the magic mirror as a docker container, running on a remote server. My solution was to check the docker log with:

                    docker container logs mm
                    

                    That returned an error regarding Request, which I fixed by running

                    npm i request
                    

                    in the magic mirror container.
                    Thanks for an awesome module!

                    K 1 Reply Last reply Mar 11, 2023, 4:32 PM Reply Quote 0
                    • K Offline
                      KristjanESPERANTO Module Developer @mklara
                      last edited by KristjanESPERANTO Mar 11, 2023, 4:33 PM Mar 11, 2023, 4:32 PM

                      The module has not been updated for a long time and has very old dependencies. There is a module that can also use a Rejseplanen API and is actively developed by me: https://github.com/KristjanESPERANTO/MMM-PublicTransportHafas

                      It looks like this:Kolding.png

                      This is the configuration of it:

                          {
                            module: "MMM-PublicTransportHafas",
                            position: "top_left",
                            config: {
                              hafasProfile: "rejseplanen",
                              stationID: "8600083",
                              stationName: "Kolding St.",
                              timeToStation: 5,
                              showAbsoluteTime: false
                            }
                          },
                      
                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 2 / 2
                      • 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