A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Running npm Start - stuck White Screen

    1
    0 Votes
    1 Posts
    2k Views
    D
    I am seeing the samething. One minute the magic mirror was great, so rebooted and now it just loads a white screen. the Only changes i have made to the MM code is the custom Weather api, and ical. I was thinking maybe unclutter was causing the screen to white out so i removed it. no changes. any help would be awesome! :) Debug logs 0 info it worked if it ends with ok 1 verbose cli [ ‘/usr/bin/nodejs’, ‘/usr/bin/npm’, ‘start’ ] 2 info using npm@3.10.8 3 info using node@v6.9.1 4 verbose run-script [ ‘prestart’, ‘start’, ‘poststart’ ] 5 info lifecycle magicmirror@2.0.0~prestart: magicmirror@2.0.0 6 silly lifecycle magicmirror@2.0.0~prestart: no script for prestart, continuing 7 info lifecycle magicmirror@2.0.0~start: magicmirror@2.0.0 8 verbose lifecycle magicmirror@2.0.0~start: unsafe-perm in lifecycle true 9 verbose lifecycle magicmirror@2.0.0~start: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/root/MagicMirror/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 10 verbose lifecycle magicmirror@2.0.0~start: CWD: /root/MagicMirror 11 silly lifecycle magicmirror@2.0.0~start: Args: [ ‘-c’, ‘electron js/electron.js’ ] 12 info lifecycle magicmirror@2.0.0~start: Failed to exec start script 13 verbose stack Error: magicmirror@2.0.0 start: electron js/electron.js 13 verbose stack spawn ENOENT 13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/spawn.js:33:16) 13 verbose stack at emitTwo (events.js:106:13) 13 verbose stack at ChildProcess.emit (events.js:191:7) 13 verbose stack at maybeClose (internal/child_process.js:877:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) 14 verbose pkgid magicmirror@2.0.0 15 verbose cwd /root/MagicMirror 16 error Linux 4.4.30-v7+ 17 error argv “/usr/bin/nodejs” “/usr/bin/npm” “start” 18 error node v6.9.1 19 error npm v3.10.8 20 error file sh 21 error code ELIFECYCLE 22 error errno ENOENT 23 error syscall spawn 24 error magicmirror@2.0.0 start: electron js/electron.js 24 error spawn ENOENT 25 error Failed at the magicmirror@2.0.0 start script ‘electron js/electron.js’. 25 error Make sure you have the latest version of node.js and npm installed. 25 error If you do, this is most likely a problem with the magicmirror package, 25 error not with npm itself. 25 error Tell the author that this fails on your system: 25 error electron js/electron.js 25 error You can get information on how to open an issue for this project with: 25 error npm bugs magicmirror 25 error Or if that isn’t available, you can get their info via: 25 error npm owner ls magicmirror 25 error There is likely additional logging output above. 26 verbose exit [ 1, true ]
  • Firewall settings

    Unsolved
    4
    0 Votes
    4 Posts
    3k Views
    S
    Okay now i´ve fixed the RSS feed and the Calendar partly. When i worked it out i will declare it here.
  • Magic Mirror wont start. :(

    11
    0 Votes
    11 Posts
    10k Views
    M
    Ok. I figured it out!!! There was a few things I was doing wrong… I found this tutorial and it is EPIC!! https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/3 Hope it helps!!
  • Touchscreen not working in MM - MM freezing one's a day

    6
    0 Votes
    6 Posts
    3k Views
    C
    Indeed this is good to know to create funny effects. I’m working on the second Problem also. A guy in #ubuntu suggested me to try it with lxde instead of gnome. Maybe its a bug in gnome.
  • Sorry for this...

    5
    0 Votes
    5 Posts
    3k Views
    L
    @yawns so grateful! Thanks man… I’ll try this
  • Apply mirror film

    3
    0 Votes
    3 Posts
    3k Views
    L
    okey thanks! Gonna order a bigger one then :)
  • News feed refresh?

    2
    0 Votes
    2 Posts
    2k Views
    MedoM
    Same problem here. My newsfeed works for some time (can not say how long) and then stops receiving new news…
  • SetUp Mic to use MMM-Voice-Control or other voice control modules

    2
    0 Votes
    2 Posts
    2k Views
    bheplerB
    @FullOfOrange Have you tried starting MM in dev mode and looking at the console logs? npm start dev
  • HDMI/Monitor is switched Off

    4
    0 Votes
    4 Posts
    3k Views
    C
    the PIR sensor is not connected anymore…could this be the reason? screenserver setup is done as in the tutorials described.
  • PM2 not starting up on boot

    8
    0 Votes
    8 Posts
    11k Views
    R
    @Nazfera2 not is the best, is the last resource ;) Maybe the problem raise the pm2 install. Check https://github.com/Unitech/pm2/issues/1654#issuecomment-145071292
  • Removing modules

    3
    0 Votes
    3 Posts
    2k Views
    C
    @broberg thanks!
  • Error on start

    6
    0 Votes
    6 Posts
    5k Views
    P
    @negativeflare I had this error as well after setting up on a Raspberry Pi (1) only yesterday and running as serveronly. I found that to fix this I had to upgrade node, as doing an apt-get install for node gave me version 0.10.x or something like that. I followed this script up to line 26. https://github.com/audstanley/Node-MongoDb-Pi/blob/master/Install-Node-MongoDb-Pi.sh But I changed it to the arm6l and version 5 of node.
  • End MM from Terminal

    7
    0 Votes
    7 Posts
    5k Views
    J
    okay thanks :)
  • windows remote desktop doesn't show same screen as on hdmi

    3
    0 Votes
    3 Posts
    3k Views
    J
    Thnaks, that makes it a lot easier ;)
  • SSH startup

    16
    0 Votes
    16 Posts
    18k Views
    yawnsY
    @Stehman07 you need to edit the file as root, the normal user pi does not have sufficient rights. Run sudo nano /boot/config.txt instead
  • Problem: npm install && npm start

    9
    0 Votes
    9 Posts
    19k Views
    J
    Today I reinstalled my Pi. This time with Noob style, but with the image itself. After that, the automatic MagicMirror installation worked finde. Everything was updated correctly. Yesterday it didn’t work at all. Also I had the problem that google clalenders would not show up in the Magic Mirror. Today everything works fine. Maybe there is a problem with Noob installation?!
  • MMM-temp-ds18b20

    2
    0 Votes
    2 Posts
    1k Views
    C
    @ the moderators of this forum, could you please move this to the /modules/troubleshooting section? Wasn’t aware that there is more than one troubleshooting subfolder … thank you in advance. c.keen
  • Hiring developer...

    2
    0 Votes
    2 Posts
    2k Views
    BangeeB
    What do you want? :-) And how much do you pay $$$ ;-)
  • Error with Config.

    3
    0 Votes
    3 Posts
    2k Views
    J
    Fixed from a backup. I really need to learn how to code.
  • Running facial recognition and instagram?

    1
    0 Votes
    1 Posts
    2k Views
    E
    Hi everyone! I have the facial recognition module working as well as the instagram module, but only separately. When I run my MM with both active, only the facerec is working and the instagram module isn’t showing anything at all. Wont they both work at the same time? Or is the computational demand too heavy to run them both (with some other minor stuff)? Here is my config.js /* Magic Mirror Config Sample * By Michael Teeuw http://michaelteeuw.nl MIT Licensed. */ var config = { port: 8080, language: ‘en’, timeFormat: 24, units: ‘metric’, //kioskmode: ‘true’, modules: [ // { // module: ‘alert’, // }, { module: ‘clock’, position: ‘top_left’, classes: ‘default everyone’ }, { module: 'MMM-Instagram', header: "x Instagram Feed", position: 'top_right', classes: 'default everyone', config: { access_token: 'my_key', count: 20, min_timestamp: 0, animationSpeed: 2500, updateInterval: 12500 } }, { module: 'faceemployee', position: 'middle_center', //shown for classes: 'Ella' }, { module: 'faceemployee', position: 'middle_center', //shown for Marcus classes: 'Marcus' }, { module: 'faceemployee', position: 'middle_center', classes: 'Christer' }, { module: 'compliments', position: 'middle_center', classes: 'default' //Replaced when a user is logged in! }, { module: "MMM-ResRobot", position: "top_left", header: "Ferry Departure Time ", classes: 'default everyone', config: { from: "740059355",//"740025697",//<klippan buss // ResRobot Station ID (or a comma-separated string of IDs) to: "740059412", //"740015573",//<järntorget // ResRobot Station ID of destination (or a comma-separated string of IDs) maximumEntries: 5, // Number of departures to show on screen truncateAfter: 4, // A value > 0 will truncate direction name at first space after <value> characters. 0 = no truncation apiKey: "my_key" } }, { module: 'MMM-Facial-Recognition', config: { // 1=LBPH | 2=Fisher | 3=Eigen recognitionAlgorithm: 1, // Threshold for the confidence of a recognized face before it's considered a // positive match. Confidence values below this threshold will be considered // a positive match because the lower the confidence value, or distance, the // more confident the algorithm is that the face was correctly detected. lbphThreshold: 50, fisherThreshold: 250, eigenThreshold: 3000, // force the use of a usb webcam on raspberry pi (on other platforms this is always true automatically) useUSBCam: false, // Path to your training xml trainingFile: 'modules/MMM-Facial-Recognition/training.xml', // recognition intervall in seconds (smaller number = faster but CPU intens!) interval: 3, // Logout delay after last recognition so that a user does not get instantly logged out if he turns away from the mirror for a few seconds logoutDelay: 8, // Array with usernames (copy and paste from training script) users: ['Marcus', 'Josue ', 'Ella ', 'Christer '], //Module set used for strangers and if no user is detected defaultClass: "default", //Set of modules which should be shown for every user everyoneClass: "everyone" } }, { module: 'newsfeed', position: 'bottom_bar', classes: 'default everyone', config: { feeds: [ { title: "News", url: "http://nyhetsbrev.viktoria.se/feed/" } ], showSourceTitle: true, showPublishDate: true } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== ‘undefined’) {module.exports = config;}