MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. qqqqqqqq
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Q
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 8
    • Posts 41
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MagicMirror Autostart Error

      Also, I tried starting it using npm start; the mirror worked fine, but this is the error.

      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: 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.
      Initializing new module helper ...
      Initializing new module helper ...
      No helper found for module: random_quotes.
      Initializing new module helper ...
      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
      Connecting socket for: MMM-Remote-Control
      Starting node helper for: MMM-Remote-Control
      Connecting socket for: MMM-SystemStats
      Connecting socket for: stocks
      stocks helper started ...
      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".
      ERROR! Could not find main module js file.
      ERROR! Could not find main module js file.
      
      
      

      Inspite of this, the mirror showed me the latest news, but not the calendar. :/

      posted in Troubleshooting
      Q
      qqqqqqqq
    • MagicMirror Autostart Error

      I’m trying to make MagicMirror Autostart at boot, by following the guide on github using pm2.
      I worked once, but now I get this error.

      pi@raspberrypi:~ $ pm2 start mm
      [PM2] Applying action restartProcessId on app [mm](ids: 0)
      [PM2] [mm](0) ✓
      [PM2] Process successfully started
      ┌──────┬──────┬────────┬───┬─────┬──────────┐
      │ Name │ mode │ status │ ↺ │ cpu │ memory   │
      ├──────┼──────┼────────┼───┼─────┼──────────┤
      │ mm   │ fork │ online │ 1 │ 11% │ 2.3 MB   │
      └──────┴──────┴────────┴───┴─────┴──────────┘
       Use `pm2 show ` to get more details about an app
      pi@raspberrypi:~ $ pm2 logs mm
      [TAILING] Tailing last 10 lines for [mm] process (change the value with --lines option)
      /home/pi/.pm2/logs/mm-error-0.log last 10 lines:
      0|mm       | ERROR! Could not find main module js file.
      0|mm       | [1713:0223/004533:FATAL:bus.cc(1204)] D-Bus connection was disconnected. Aborting.
      0|mm       | #0 0x0000012a3bb0 
      0|mm       | #1 0x0000012b4406 
      0|mm       | #2 0x00000120fd0a 
      0|mm       | 
      0|mm       | ERROR! Could not find main module js file.
      0|mm       | ERROR! Could not find main module js file.
      0|mm       | ERROR! Could not find main module js file.
      0|mm       | ERROR! Could not find main module js file.
      
      /home/pi/.pm2/logs/mm-out-0.log last 10 lines:
      0|mm       | Connecting socket for: MMM-SystemStats
      0|mm       | Connecting socket for: stocks
      0|mm       | stocks helper started ...
      0|mm       | Sockets connected & modules started ...
      0|mm       | Launching application.
      0|mm       | Create new calendar fetcher for url: http://calendar.google.com/calendar/ical/xxxxxxxxxxxxxxxxxxx/basic.ics - Interval: 300000
      0|mm       | Create new calendar fetcher for url: http://calendar.google.com/calendar/ical/xxxxxxxxxxxxxxx/basic.ics - Interval: 300000
      0|mm       | Create new calendar fetcher for url: http://localhost:8080/modules/Cals/x.ics - Interval: 300000
      0|mm       | Create new calendar fetcher for url: http://calendar.google.com/calendar/ical/xxxxxxxxxxxxxxxxxxxxxx/public/basic.ics - Interval: 300000
      0|mm       | Create new news fetcher for url: https://news.google.com/news?cf=all&hl=en&pz=1&ned=in&output=rss - Interval: 300000
      
      [STREAMING] Now streaming realtime logs for [mm] process
      
      
      posted in Troubleshooting
      Q
      qqqqqqqq
    • RE: Change Relative to Absolute in Holidays

      @johnnyboy

      I don’t know if there is a difference but try both.
      But like you must have read in the other thread, it doesn’t get absolutely absolute.
      It will still display an event 2 days from now as “The day after tomorrow” & next day’s event as “tomorrow”.

      fadepoint is to define, from where the events list will start to face out.
      “//” is used to mark start of a comment made by the programmer .

      posted in Troubleshooting
      Q
      qqqqqqqq
    • RE: Change Relative to Absolute in Holidays

      @johnnyboy, check this thread.

      And, this comment in specific, since I had the same problem.

      posted in Troubleshooting
      Q
      qqqqqqqq
    • RE: Moving a fixed module

      @johnnyboy said in Moving a fixed module:

      … move the Weather Module down a touch?

      Sorry, I don’t understand. Can you upload a screenshot, that would be helpful?

      posted in Troubleshooting
      Q
      qqqqqqqq
    • RE: Moving a fixed module

      @johnnyboy

      Yes. If two or modules have the same position ( Eg. ‘top_left’), they will be displayed in the order of their entry in the config file.

      posted in Troubleshooting
      Q
      qqqqqqqq
    • pm2 error

      I tried to autostart MM2 using pm2 & it actually even worked once (from here ).

      But Now it doesn’t even start.

      here is the data from the log file.

      [STREAMING] Now streaming realtime logs for [mm] process
      0|mm       | Initializing new module helper ...
      0|mm       | No helper found for module: compliments.
      0|mm       | No helper found for module: currentweather.
      0|mm       | Initializing new module helper ...
      0|mm       | Initializing new module helper ...
      0|mm       | No helper found for module: random_quotes.
      0|mm       | Initializing new module helper ...
      0|mm       | Initializing new module helper ...
      0|mm       | All module helpers loaded.
      0|mm       | Starting server op port 8080 ... 
      0|mm       | Server started ...
      0|mm       | Connecting socket for: updatenotification
      0|mm       | Connecting socket for: calendar
      0|mm       | Starting node helper for: calendar
      0|mm       | Connecting socket for: newsfeed
      0|mm       | Starting module: newsfeed
      0|mm       | Connecting socket for: MMM-Remote-Control
      0|mm       | Starting node helper for: MMM-Remote-Control
      0|mm       | Connecting socket for: MMM-SystemStats
      0|mm       | Connecting socket for: stocks
      0|mm       | stocks helper started ...
      0|mm       | Sockets connected & modules started ...
      0|mm       | Xlib:  extension "XInputExtension" missing on display ":1.0".
      0|mm       | Xlib:  extension "RANDR" missing on display ":1.0".
      0|mm       | Launching application.
      0|mm       | Xlib:  extension "XInputExtension" missing on display ":1.0".
      0|mm       | Xlib:  extension "XInputExtension" missing on display ":1.0".
      0|mm       | Xlib:  extension "XInputExtension" missing on display ":1.0".
      0|mm       | ERROR! Could not find main module js file.
      0|mm       | ERROR! Could not find main module js file.
      0|mm       | Create new calendar fetcher for url: http://calendar.google.com/calendar/ical/....ics - Interval: 300000
      0|mm       | Create new calendar fetcher for url: http://calendar.google.com/calendar/ical/....ics - Interval: 300000
      0|mm       | Create new calendar fetcher for url: http://localhost:8080/modules/Cals/FbBirthday.ics - Interval: 300000
      0|mm       | Create new calendar fetcher for url: http://calendar.google.com/calendar/ical/e....ics - Interval: 300000
      0|mm       | Create new news fetcher for url: https://news.google.com/news?cf=all&hl=en&pz=1&ned=in&output=rss - Interval: 300000
      
      
      

      Something to do with this perhaps?
      0|mm | ERROR! Could not find main module js file.

      posted in Troubleshooting
      Q
      qqqqqqqq
    • RE: Modules to display Stock (Capital Stock)

      This is how they look right now.

      0_1487601867939_stock.png

      Can someone please help me change the font style/size, since they look a little big compared to the others.

      how do I change the brightness of a specific module?

      I know, both has to be done using the custom.css but how?

      posted in Troubleshooting
      Q
      qqqqqqqq
    • RE: Random Quotes

      @geeflaxx said in Random Quotes:

      how i can config the data so, that the autor is always the same ?

      or
      do i need after a quote add the autor with “~” ?

      Too late, but here it goes.

      You can add all the quotes from the same author in a category (like motivational or life) and change the config file to show quotes from that category only.

      It’s upto you to add “~”, but if you do, they will follow different styles as set by the developer.

      @KirAsh4 , I’ve noticed that the selection of quotes isn’t true random. Every time I start MM, I get the same quotes.

      posted in Utilities
      Q
      qqqqqqqq
    • RE: Modules to display Stock (Capital Stock)

      @Yurick

      3rd works for me too. And, thanks for your help, I’ve added currency in in too.

      I got it to display it as static list by modifying the .js file as below. I’ve modified the line 26 from this

              var wrapper = document.createElement("marquee");
      

      to this

              var wrapper = document.createElement("div");
      

      And line 62

      from

                          divider.innerHTML = '  •  ';
      

      to

                          divider.innerHTML = '<br>';
      
      posted in Troubleshooting
      Q
      qqqqqqqq
    • 1
    • 2
    • 3
    • 4
    • 5
    • 2 / 5