• 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.5k 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.
  • C Offline
    Cato Module Developer @open_book
    last edited by Jan 3, 2017, 10:40 PM

    @open_book Seems you are missing a comma between the stops.

    O 1 Reply Last reply Jan 3, 2017, 10:43 PM Reply Quote 1
    • O Offline
      open_book @Cato
      last edited by Jan 3, 2017, 10:43 PM

      @Cato yes. yes I am. Thanks. That’s it!

      sudo insert motivational.quote

      1 Reply Last reply Reply Quote 0
      • L Offline
        LincolnClay
        last edited by Jan 21, 2017, 12:33 PM

        Hi @Cato. Great work on this very practical module.
        I am just getting into raspberry pi (3) and MM, so this is the first module i try to install. Unfortnatly when I run MM it goes black. I guess there is something with how I inserted the module in the config.js file.
        This is how I did it.
        0_1485001911821_321d.PNG

        Also this is what the terminal with the same config.js file.

        //pi@raspberrypi:~/MagicMirror $ npm start
        
        > magicmirror@2.1.0 start /home/pi/MagicMirror
        > electron js/electron.js
        
        Xlib:  extension "RANDR" missing on display ":1.0".
        Starting MagicMirror: v2.1.0
        Loading config ...
        Loading module helpers ...
        No helper found for module: MMM-Ruter.
        No helper found for module: alert.
        Initializing new module helper ...
        No helper found for module: clock.
        Initializing new module helper ...
        No helper found for module: compliments.
        No helper found for module: currentweather.
        No helper found for module: weatherforecast.
        Initializing new module helper ...
        All module helpers loaded.
        Starting server op port 8080 ... 
        Server started ...
        Connecting socket for: updatenotification
        Connecting socket for: calendar
        Starting node helper for: calendar
        Connecting socket for: newsfeed
        Starting module: newsfeed
        Sockets connected & modules started ...
        Whoops! There was an uncaught exception...
        { Error: listen EADDRINUSE :::8080
            at Object.exports._errnoException (util.js:1026:11)
            at exports._exceptionWithHostPort (util.js:1049:20)
            at Server._listen2 (net.js:1253:14)
            at listen (net.js:1289:10)
            at net.js:1399:9
            at _combinedTickCallback (internal/process/next_tick.js:77:11)
            at process._tickCallback (internal/process/next_tick.js:98:9)
            at Module.runMain (module.js:592:11)
            at run (bootstrap_node.js:402:7)
            at startup (bootstrap_node.js:157:9)
          code: 'EADDRINUSE',
          errno: 'EADDRINUSE',
          syscall: 'listen',
          address: '::',
          port: 8080 }
        MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
        If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
        Xlib:  extension "XInputExtension" missing on display ":1.0".
        Xlib:  extension "RANDR" missing on display ":1.0".
        Launching application.
        Xlib:  extension "XInputExtension" missing on display ":1.0".
        Xlib:  extension "XInputExtension" missing on display ":1.0".
        
        
        C 1 Reply Last reply Jan 21, 2017, 12:39 PM Reply Quote 0
        • C Offline
          Cato Module Developer @LincolnClay
          last edited by Jan 21, 2017, 12:39 PM

          @LincolnClay The error indicates the port 8080 is in use. Did you install pm2? If so then Magic Mirror is already started when you run npm start. Just restart it with pm2 restart mm

          L 1 Reply Last reply Jan 21, 2017, 2:01 PM Reply Quote 2
          • L Offline
            LincolnClay @Cato
            last edited by Jan 21, 2017, 2:01 PM

            @Cato Thanks for the prompt response. Yes I installed pm2, but when run pm2 restart mm MM doesn’t open. I only get successful starts with npm start.

            If I delete the insertion in config.js file from your module, mm starts normally without being all black. Do you spot any other errors?

            C 1 Reply Last reply Jan 22, 2017, 10:40 AM Reply Quote 0
            • C Offline
              Cato Module Developer @LincolnClay
              last edited by Jan 22, 2017, 10:40 AM

              @LincolnClay Well, I still don’t think it’s the module’s fault. I tried to replicate your exact configuration and it works.

              What output do you get from npm start?

              L 1 Reply Last reply Jan 30, 2017, 4:56 PM Reply Quote 1
              • L Offline
                LincolnClay @Cato
                last edited by LincolnClay Jan 30, 2017, 4:57 PM Jan 30, 2017, 4:56 PM

                @Cato I’m sorry for the late reply, I had to figure out if there was any issues with my initial MM install. You where absolutely right, the issue had nothing to do with the module. I did a re-install and now the module works perfectly. Thanks for your help and your work on this module :)

                1 Reply Last reply Reply Quote 0
                • L Offline
                  laumb
                  last edited by Mar 2, 2017, 7:59 PM

                  0_1488484734028_Skjermbilde 2017-03-02 kl. 20.58.19.png

                  How do I get rid of this?

                  S C 2 Replies Last reply Mar 2, 2017, 8:33 PM Reply Quote 0
                  • S Offline
                    strawberry 3.141 Project Sponsor Module Developer @laumb
                    last edited by Mar 2, 2017, 8:33 PM

                    @laumb cd ~/MagicMirror/modules/MMM-Ruter then git pull

                    Please create a github issue if you need help, so I can keep track

                    1 Reply Last reply Reply Quote 2
                    • C Offline
                      Cato Module Developer @laumb
                      last edited by Mar 2, 2017, 8:34 PM

                      @laumb you have to run git pull in the modules directory.

                      This is described in the Readme on GitHub.

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