• 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 24.6k 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
    Kimzer
    last edited by Jun 19, 2017, 7:19 PM

    Any chance you could possibly do this to support Skyss in bergen aswell? Would be really great!

    C 1 Reply Last reply Jun 20, 2017, 6:20 AM Reply Quote 0
    • C Offline
      Cato Module Developer @Kimzer
      last edited by Jun 20, 2017, 6:20 AM

      @Kimzer I’m sorry, but I only make modules I need myself. If I move to Bergen, I let you know… ;-)

      I did though do a quick search and it doesn’t seem that Skyss has any public API. Found a couple of unofficial/depricated onces, but that is not something I would support anyway…

      1 Reply Last reply Reply Quote 0
      • A Offline
        amomat @Cato
        last edited by Jul 16, 2017, 4:47 PM

        Hi @Cato. Did something regarding the time change in the last update? Upgraded today and time format is set to 12 instead of 24 as it was before.

        This is what is in my config file (have not changed that recently)

        language: 'en',
        timeFormat: 24,
        units: 'metric',
        
        C 1 Reply Last reply Jul 17, 2017, 4:40 AM Reply Quote 0
        • C Offline
          Cato Module Developer @amomat
          last edited by Jul 17, 2017, 4:40 AM

          @amomat I have done nothing, and I can’t remember noticing that since I only use public transport in the morning. I will take a look tonight to make sure.

          1 Reply Last reply Reply Quote 0
          • D Offline
            DeeWoo
            last edited by Aug 13, 2017, 1:28 PM

            Hi @Cato. I’ve just installed your MMM-Ruter module, and I’m having issues with the time, it’s 12-hour…My Pi is 24 hour, my config is 24 hour…but the MMM-Ruter is 12 hour.

            language: "nb",
            timeFormat: 24,
            units: "metric",
            
            pi@MagicMirror_1:~/MagicMirror/config $ date
            Sun 13 Aug 15:26:42 CEST 2017
            

            Any idea how to fix this? :)

            C 1 Reply Last reply Aug 13, 2017, 5:03 PM Reply Quote 0
            • C Offline
              Cato Module Developer @DeeWoo
              last edited by Aug 13, 2017, 5:03 PM

              Think I found the “bug” (oversight from my end). New version is now available.

              D 1 Reply Last reply Aug 21, 2017, 6:36 PM Reply Quote 2
              • D Offline
                DeeWoo @Cato
                last edited by Aug 21, 2017, 6:36 PM

                @Cato said in MMM-Ruter (for Oslo and Akershus in Norway):

                Think I found the “bug” (oversight from my end). New version is now available.

                Just wanted to thank you for the lightning fast response!
                Now it shows 24h time. Cheers :)

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