A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Restart Mirror?

    5
    0 Votes
    5 Posts
    27k Views
    A
    “pm2 restart mm” works like a charm. Much obliged! :)
  • [Pi Zero] Midori not using full vertical resolution - 1080x1920

    Solved
    9
    0 Votes
    9 Posts
    7k Views
    M
    @meneldour thanks for the offer! I will give this a shot in a few days and will keep your offer in mind. Really appreciated! Im really excited for this.
  • Install error, not sure what to do.

    2
    0 Votes
    2 Posts
    2k Views
    morozgrafixM
    Hi, Are you running Automatic installation from README.md or following Manual Installation guide? It may be helpful to get some more information on steps that you did prior to this and exact command that you are executing. Also what version of node and npm are you running? You can find that by running following commands in your terminal: node --version and npm --version Thanks.
  • News Feed doesn't update anymore after a while

    1
    0 Votes
    1 Posts
    1k Views
    Q
    Hi, I have a problem with the news feed module. It doesn’t update anymore after approximately 24h. It’ll work again if I reload MagicMirror. (24h - then I need to reload mm again) Bad internet connection is normally not the problem because the wheater and calendar module working correctly. (Same problem: https://forum.magicmirror.builders/topic/944/newsfeed-only-loads-once-then-stops-udating) Configuration: { module: 'newsfeed', position: 'bottom_bar', config: { feeds: [ { title: "Het Laatste Nieuws", url: "http://www.hln.be/nieuws/rss.xml" } ], showSourceTitle: true, showPublishDate: true } }, Error log: 0|mm | Use existing news fetcher for url: http://www.hln.be/nieuws/rss.xml 0|mm | Use existing news fetcher for url: http://www.hln.be/nieuws/rss.xml 0|mm | Whoops! There was an uncaught exception... 0|mm | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|mm | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
  • MMM-newsfeed

    3
    0 Votes
    3 Posts
    2k Views
    P
    @MichMich Will try that! Maybe that will solve the problem!
  • Alert box location

    7
    0 Votes
    7 Posts
    4k Views
    P
    @yawns AWESOME ;) thanks!
  • White screen after xx time

    6
    0 Votes
    6 Posts
    3k Views
    B
    @Sillec123 I followed the steps in the Autostarting Magic Mirror tutorial. It was trivial to add the motion startup script to the list of processes for PM2.
  • node serveronly not working

    6
    0 Votes
    6 Posts
    5k Views
    morozgrafixM
    I realize that this topic is about 2 months old, but I’m going to add some possible troubleshooting steps for anyone who may run into this problem. Hopefully OP already has this resolved. @Jeff while on RasPi terminal can you try to execute this command ping localhost? you should see output similar to this: $ ping localhost PING localhost (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.253 ms 64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.268 ms 64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.257 ms ... ... as you can see hostname localhost resolves to ip address 127.0.0.1 which is very common. you can also try to enter http://127.0.0.1:8080 in your browser. if the above works and after node serveronly is running, can you please try to execute following command curl -I http://localhost:8080? your output should be similar to this: $ curl -I http://localhost:8080 HTTP/1.1 200 OK X-Powered-By: Express Accept-Ranges: bytes Cache-Control: public, max-age=0 Last-Modified: Wed, 21 Dec 2016 06:49:47 GMT ETag: W/"8da-15920249be6" Content-Type: text/html; charset=UTF-8 Content-Length: 2266 Date: Sun, 15 Jan 2017 23:09:37 GMT Connection: keep-alive if it’s not double check your config.js to make sure your server is running on port 8080
  • Weather Forecast: showRainAmount displays in mm even when config.units='imperial'

    Unsolved
    9
    0 Votes
    9 Posts
    5k Views
    F
    Looks great! Appreciate the quick fix and quick responses, wish more FOSS projects were this professional and responsive.
  • White Screen after starting Magic Mirror

    7
    0 Votes
    7 Posts
    4k Views
    Y
    @Squirrel Yes, I forgot to mention that. You can also press ctrl + c in console to kill the mirror process. So you don’t have to close the terminal every time
  • wrong age in calendar module

    4
    0 Votes
    4 Posts
    2k Views
    C
    thank you, will soon try.
  • Newbie questions

    weather n00b maps api
    9
    0 Votes
    9 Posts
    7k Views
    B
    @theusu5k You can change the language of the calendar via the main configuration. Check with the configuration documentation for details. This will also change the language for any module that supports it (including weather). @broberg has the right idea for the news feeds. Find the feed for the language you want and then replace the feed in the module’s configuration in config.js. The default weathermodule is pretty good. If you wish more features, check out the Wunderground module. Both of these will let you set a location for the weather forecast.
  • Suddenly ipWhitelist no longer working...

    3
    0 Votes
    3 Posts
    2k Views
    S
    Digging one step further: My magicmirror has the ip address 192.168.178.164. I am using a cable fritz box, i configured it that this ip address has the hostname “magicmirror”. I remember that I had to a reboot of the fritzbox 2 days ago, will investigate whether I potentially lost some settings in the fritzbox. Funny thing: If I try to access directly http://192.168.178.64:8080/remote.html, I do not get any problem, only if I try to access it with http://magicmirror:8080/remote.html#power-menu I do not -yet- understand why… BTW: if i ping the magicmirror from the same pc, the address resolving is working: PING magicmirror.fritz.box (192.168.178.64): 56 data bytes 64 bytes from 192.168.178.64: icmp_seq=0 ttl=64 time=7.766 ms 64 bytes from 192.168.178.64: icmp_seq=1 ttl=64 time=9.753 ms 64 bytes from 192.168.178.64: icmp_seq=2 ttl=64 time=12.715 ms 64 bytes from 192.168.178.64: icmp_seq=3 ttl=64 time=10.908 ms 64 bytes from 192.168.178.64: icmp_seq=4 ttl=64 time=20.834 ms Using the full pseudo domain name `http://magicmirror.fritz.box:8080/remote.html#power-menu’ does not help…
  • Calendar and displaying today

    1
    0 Votes
    1 Posts
    2k Views
    P
    I have one issue about the calendar. I have looked in other posts but did not find any soloution. Or maybe I am just stupid. I have a ical feed similar to this rss feed to display the food in the kids school. This works fine but as the publisher of the ical has set the time to 01:00 in the night as start todays entry will not be shown. Only the nextcoming days. How can I display the entry of today even if it started 01:00. http://skolmaten.se/hogadalskolan/rss/ [image: mat.png] { module: 'calendar', header: 'SKOLMAT HÖGADAL', position: 'bottom_left', config: { maxTitleLength :50, calendars: [ { symbol: 'fa-cutlery', url: 'http://skolmaten.se/hogadalskolan/calendar/', timeFormat: 'relative', urgency: 0 },
  • 0 Votes
    2 Posts
    1k Views
    T
    You would have to add a node helper that checks the URL and then send the data through the socketNotification. I think best is if you would look at the magicmirror documentation and take an example from Paviro’s syslog module.
  • 0 Votes
    4 Posts
    5k Views
    M
    Right, the nohup command removes the process from the terminal window. If you shut down the terminal, it’ll also shut down your magic mirror without the nohup command before npm.
  • fresh install MM2.1 with this error

    1
    0 Votes
    1 Posts
    1k Views
    C
    Hi, pi@raspberrypi:~/MagicMirror $ npm start /usr/lib/node_modules/npm/node_modules/glob/node_modules/fs.realpath/index.js:1 (function (exports, require, module, __filename, __dirname) { SyntaxError: Invalid or unexpected token at Object.exports.runInThisContext (vm.js:76:16) at Module._compile (module.js:542:28) at Object.Module._extensions…js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object. (/usr/lib/node_modules/npm/node_modules/glob/glob.js:44:10) at Module._compile (module.js:570:32) What’ s wrong? I need help from an expert! Thank you
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    40 Views
  • How to set Font in Alarm Clock

    13
    0 Votes
    13 Posts
    9k Views
    morozgrafixM
    @broberg I agree with you and think that getting rid of those inline styles is the best long term solution
  • PIR Motion Detection - White Screen

    1
    1 Votes
    1 Posts
    1k Views
    T
    When I try to run an “npm install” on the “MMM-PIR-Sensor” directory, i get the following error. Does anyone know what could be causing this, and go to resolve it? I am able to run the rest of the mirror, along with some other modules from this site without issue. Here is the error: Magic-Mirror-Module-PIR-Sensor@1.1.0 postinstall /home/pi/MagicMirror/modules/MMM-PIR-Sensor electron-rebuild -e …/…/node_modules/electron-prebuilt An unhandled error occurred inside electron-rebuild Unable to find electron-prebuilt’s version number, either install it or specify an explicit version Error: Unable to find electron-prebuilt’s version number, either install it or specify an explicit version at _callee$ (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/cli.js:74:17) at tryCatch (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/regenerator-runtime/runtime.js:63:40) at GeneratorFunctionPrototype.invoke [as _invoke] (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/regenerator-runtime/runtime.js:337:22) at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/regenerator-runtime/runtime.js:96:21) at GeneratorFunctionPrototype.tryCatcher (/home/pi/node_modules/bluebird/js/release/util.js:16:23) at PromiseSpawn._promiseFulfilled (/home/pi/node_modules/bluebird/js/release/generators.js:97:49) at /home/pi/node_modules/bluebird/js/release/generators.js:201:15 at Object. (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/cli.js:197:4) at Module._compile (module.js:570:32) at Object.Module._extensions…js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.runMain (module.js:604:10) at run (bootstrap_node.js:394:7) at startup (bootstrap_node.js:149:9) npm ERR! Linux 4.4.38-v7+ npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “install” npm ERR! node v6.9.2 npm ERR! npm v3.10.9 npm ERR! code ELIFECYCLE npm ERR! Magic-Mirror-Module-PIR-Sensor@1.1.0 postinstall: electron-rebuild -e …/…/node_modules/electron-prebuilt npm ERR! Exit status 255 npm ERR! npm ERR! Failed at the Magic-Mirror-Module-PIR-Sensor@1.1.0 postinstall script ‘electron-rebuild -e …/…/node_modules/electron-prebuilt’. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the Magic-Mirror-Module-PIR-Sensor package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! electron-rebuild -e …/…/node_modules/electron-prebuilt npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs Magic-Mirror-Module-PIR-Sensor npm ERR! Or if that isn’t available, you can get their info via: npm ERR! npm owner ls Magic-Mirror-Module-PIR-Sensor npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /home/pi/MagicMirror/modules/MMM-PIR-Sensor/npm-debug.log If i try to run the mirror with the information from the PIR module in the config file, i get the white screen. If i comment out the PIR section in the config.js file, i am able to run the mirror without issue.