• 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-Ruter (for Oslo and Akershus in Norway)

Scheduled Pinned Locked Moved Transport
34 Posts 13 Posters 26.7k Views 13 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.
  • K Offline
    kj3rra
    last edited by Oct 3, 2017, 8:11 PM

    Hei Cato!

    Great work with the this module. I have two problems:

    1. I cant get several stops on Frognerseterbanen (linje 1) to work (Vinderen (3012315), Gaustad (3012320) etc). It stops at ‘Loading’. Im trying in particular to get Vinderen T-bane. I have no other problems getting times from other stops, such as buses etc. Please see picture.
      0_1507061430183_IMG_3371.JPG

    2. How do I change the dimmed light on the time-text to be bright. Ive been through alle the files, but I cant find where you can change this. Im really quite new to this, but Ive managed to change text size and ‘dimmness’ on all other modules.

    Would be glad if you could help with these two! Thanks!

    J 1 Reply Last reply May 18, 2018, 1:40 PM Reply Quote 0
    • J Offline
      jonaslaeret @kj3rra
      last edited by May 18, 2018, 1:40 PM

      @kj3rra Did you manage to get those stops to work? I’m having the same problem. Some stops are working, but Vogts gate and Torshovparken recently (a couple of months ago) stopped working. Before that they were fine. I checked that the stop ID didn’t change.

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jessendelft
        last edited by Sep 11, 2018, 2:23 PM

        So, I tried installing this module yesterday evening, upon finding that I got the same ‘Loading…’ message as described by @kj3rra and @jonaslaeret . Today I spend several hours trying to figure out the problem. I ended up running the mirror in server mode, and found to my surprise that on my PC the Ruter information was showing without a problem.
        This told me that the problem was either with Chromium or with Electron. Running

        sudo apt-get update chromium-browser
        

        didn’t seem to do the trick.

        I dug into the Electron documentation and found that adding the following to the config.js file makes the Ruter information show in Electron:

        electronOptions: { 
        		webPreferences: {
        			webSecurity: false
        		},
        	},
        

        Now, I get data from both Møllefaret and Røa T-bane :D

        0_1536675829578_Møllefaret.JPG

        1 Reply Last reply Reply Quote 1
        • S Offline
          simonhh
          last edited by Oct 9, 2018, 1:05 PM

          I intalled this module the other day, but it isn’t removing trains that has left the station.

          After an hour my whole list is full of

          13 Oslo S -61 minutter
          13 Oslo S -31 minutter
          13 Oslo S -1 minutter
          13 Oslo S 16:21
          …

          Has anyone got a solution to this issue?

          O 1 Reply Last reply Nov 20, 2018, 7:30 PM Reply Quote 0
          • S Offline
            simonhh
            last edited by Oct 11, 2018, 9:51 AM

            Forget about this. It looks like it’s one of the other modules that prevents MMM-Ruter to update.

            1 Reply Last reply Reply Quote 0
            • L Offline
              looolz
              last edited by Oct 11, 2018, 6:48 PM

              @Cato is not feeling good these days and is in recovery. (Please get well!)

              In the mean time, note that the module MMM-Entur does a good job of competing with MMM-Ruter.

              https://github.com/Arve/MMM-Entur-tavle

              1 Reply Last reply Reply Quote 1
              • O Offline
                open_book @simonhh
                last edited by Nov 20, 2018, 7:30 PM

                @simonhh can you post the Ruter section of your config file?

                Here’s mine which is working fine for comparisson:

                             {
                                        module: 'MMM-Ruter',
                                        header: 'Ruter',
                                        position: 'bottom_left',
                                        config: {
                                                showPlatform: false,
                                                maxItems: 10,
                                                stops: [
                                                        {
                                                                stopId: "3010430",
                                                                platforms: [ ],
                                                                timeToThere: 1
                                                        }
                                                        ]
                                                }
                                },
                

                sudo insert motivational.quote

                1 Reply Last reply Reply Quote 0
                • J Offline
                  Jessendelft
                  last edited by Jessendelft Oct 22, 2019, 1:22 PM Jun 30, 2019, 4:53 PM

                  My ruter module recently stopped working.
                  When I try the url manually, I don’t get any response:
                  https://reisapi.ruter.no/StopVisit/GetDepartures/3012594

                  I found this: https://ruter.no/labs/, which tells me that most likely the API has been shut down, as it has been moved to EnTur.

                  Is anybody else experiencing this issue? (should be, if they shut down the API…).

                  Edit: I switched to MMM-Entur, as mentioned by @looolz . It does a very good job in replacing MMM-Ruter. And a more personal note, as always, RTFM (or in this case, the other comments…).

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 3
                  • 4
                  • 4 / 4
                  • 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