A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Calendar just loading

    3
    0 Votes
    3 Posts
    1k Views
    N
    Exactly, but it still won´t work…
  • Hey Guys, I need help

    6
    1
    0 Votes
    6 Posts
    2k Views
    S
    @ninjabreadman thank you very much! :)
  • Boot stopped on splashscreen

    2
    0 Votes
    2 Posts
    1k Views
    J
    me too i have this when i start nom start. [image: 1518882039706-capture-d-%C3%A9cran-2018-02-17-%C3%A0-16.31.51.png] thank for your answer
  • MM not starting when HDMI is connected

    1
    0 Votes
    1 Posts
    883 Views
    A
    Hey, up to now my MagicMirror was only in test mode and accessed via browser. Now I wanted to install it with a monitor on my mirror. If the RPi is not connected to HDMI, it works great. But as soon as I connect it and reboot it does not work. I can see the bootup of the RPi and a splash screen of MagicMirror saying “booting up”, but after that only a period of time a black cross and than the desktop. I also can not connect via browser, so MM is definetly not running. I will append the ~/MagicMirror/npm-debug.log pm2 is listing MagicMirror as running. When I disconnect the HDMI and reboot it works again from my browser. Can anyone please help? 0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ] 2 info using npm@3.10.10 3 info using node@v6.13.0 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info lifecycle magicmirror@2.2.2~prestart: magicmirror@2.2.2 6 silly lifecycle magicmirror@2.2.2~prestart: no script for prestart, continuing 7 info lifecycle magicmirror@2.2.2~start: magicmirror@2.2.2 8 verbose lifecycle magicmirror@2.2.2~start: unsafe-perm in lifecycle true 9 verbose lifecycle magicmirror@2.2.2~start: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/home/pi/Magic$ 10 verbose lifecycle magicmirror@2.2.2~start: CWD: /home/pi/MagicMirror 11 silly lifecycle magicmirror@2.2.2~start: Args: [ '-c', 'sh run-start.sh' ] 12 silly lifecycle magicmirror@2.2.2~start: Returned: code: 1 signal: null 13 info lifecycle magicmirror@2.2.2~start: Failed to exec start script 14 verbose stack Error: magicmirror@2.2.2 start: `sh run-start.sh` 14 verbose stack Exit status 1 14 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:255:16) 14 verbose stack at emitTwo (events.js:106:13) 14 verbose stack at EventEmitter.emit (events.js:191:7) 14 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/spawn.js:40:14) 14 verbose stack at emitTwo (events.js:106:13) 14 verbose stack at ChildProcess.emit (events.js:191:7) 14 verbose stack at maybeClose (internal/child_process.js:920:16) 14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5) 15 verbose pkgid magicmirror@2.2.2 16 verbose cwd /home/pi/MagicMirror 17 error Linux 4.9.35-v7+ 18 error argv "/usr/bin/node" "/usr/bin/npm" "start" 19 error node v6.13.0 20 error npm v3.10.10 21 error code ELIFECYCLE 22 error magicmirror@2.2.2 start: `sh run-start.sh` 22 error Exit status 1 23 error Failed at the magicmirror@2.2.2 start script 'sh run-start.sh'. 23 error Make sure you have the latest version of node.js and npm installed. 23 error If you do, this is most likely a problem with the magicmirror package, 23 error not with npm itself. 23 error Tell the author that this fails on your system: 23 error sh run-start.sh 23 error You can get information on how to open an issue for this project with: 23 error npm bugs magicmirror 23 error Or if that isn't available, you can get their info via: 23 error npm owner ls magicmirror 23 error There is likely additional logging output above. 24 verbose exit [ 1, true ]
  • Hello guys... I wonder if anyone is willing to help...

    1
    0 Votes
    1 Posts
    856 Views
    R
    I was trying to install opencv with brew from the terminal but when I try to run the mirror I get the following error message: “homebrew/science was deprecated. This tap is now empty as all its formulae were migrated.” Thanks in advance for your help @mykle1
  • Resolution has changed...how do I get it back?

    3
    0 Votes
    3 Posts
    2k Views
    B
    @yawns Thanks…I tried changing the resolution but it didn’t take…tried it a second time and its ok now.
  • Hi guys... I need a hand

    5
    0 Votes
    5 Posts
    2k Views
    R
    Thanks @mykle1! This is pure magic! hahah
  • How to check your config for errors. For absolute beginners.

    8
    4 Votes
    8 Posts
    23k Views
    strawberry 3.141S
    @E3V3A the next release should be on 1st of april
  • TypeError: Cannot read property 'hash' of null

    3
    0 Votes
    3 Posts
    2k Views
    cruunnerrC
    @RoboDoc said in TypeError: Cannot read property ‘hash’ of null: at /home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:68:31 line 68 in the node_helper of the update notification seems to check all modules on GitHub for updates, if i understand that correctly… So there are two options: Your mirror lost it’s wifi/internet connection. Maybe u could check on your router if the device had logged off from the wifi. Or check the strength of the connection. Maybe take a look at the wifi_rebooter, as the wifi on the RPi 3 is not the best. So i installed an automatically wifi_rebooter here. U could try that as well: http://alexba.in/blog/2015/01/14/automatically-reconnecting-wifi-on-a-raspberrypi/ in my case my Pi pings my router address every 3 minutes and when it cannot reach it, it reboots it’s wifi itself. Some of the 3rd party modules has errors. But i don’t think so. To check it u could just run the default modules for a while
  • how to start an image slide show with a press of a button?

    10
    0 Votes
    10 Posts
    4k Views
    cruunnerrC
    So you use the camera module i posted? unfortunately i don’t use this module, so i am maybe the wrong person to ask… But i took a look at the webcam.js of the module and in line 46/47 the width and hight is defined. Maybe u should play around with that… https://github.com/alexyak/camera/blob/master/webcam.js nano MagicMirror/modules/camera/webcam.js also check the camera.js at line 62/63… nano MagicMirror/modules/camera/camera.js I don’t know if it would be necessary to set the resolution of the cam within raspbian… ? To start the cam with a button u can even use the MMM-Buttons module. This should work, if i understand the camera-module correct ^^ { module: 'MMM-Buttons', config: { maxShortPressTime: 1000, buttons: [ { pin: 15, name: "camera", shortPress: { notification: "SHOW_CAMERA", } }, longPress: { notification: "HIDE_CAMERA", }, }, ] } },
  • French mirror problem

    1
    0 Votes
    1 Posts
    723 Views
    D
    Hi, everybody I have a little problem, I have put my mirror in French language but i can’t see the accents, I see “?” in diamond. Can you help me please (Sorry for my horrible English =D)
  • Controlling Embedded Youtube Video on MM

    23
    0 Votes
    23 Posts
    17k Views
    P
    Now I control PLAY and PAUSE through voice commands in the youtube module, instead of with MMM-Remote-Control. I would like to send data like http://localhost:8080 /youtube?Id=XXXXXXX, also with voice, but I can not find the form. The idea is to have a list of videos to play, automated by voice. Any idea? It could become a very interesting module…
  • Input field forces restart instead of update

    3
    0 Votes
    3 Posts
    1k Views
    J
    Thanks @ninjabreadman, that seems to do the trick for now :)
  • Refresh every day at midnight

    2
    0 Votes
    2 Posts
    1k Views
    cruunnerrC
    i would use pm2 for that. sudo nano /etc/crontab # /etc/crontab: system-wide crontab # Unlike any other crontab you don't have to run the `crontab' # command to install the new version when you edit this file # and files in /etc/cron.d. These files also have username fields, # that none of the other crontabs do. SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # m h dom mon dow user command 17 * * * * root cd / && run-parts --report /etc/cron.hourly 25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) 47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly ) 52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly ) 59 23 * * * pi pm2 restart mm # should work…
  • Heat Problem

    15
    0 Votes
    15 Posts
    9k Views
    ?
    Thanks, I will heatsinks a try and see if they can keep it cool enough. Alexa-pi is part of the mirror, but just for asking questions, no further integration. Keeping the frame open would be nice, but then I need to have some safety around the screen electronics. Need to have a look. Thanks you.
  • Server connection

    4
    0 Votes
    4 Posts
    3k Views
    ?
    I should know this … But you are right. Thank you
  • Unable to install dependencies!

    1
    0 Votes
    1 Posts
    788 Views
    A
    I am having following errors while installing MM Cloning MagicMirror Done! Installing dependencies ... npm WARN prefer global coffeescript@1.10.0 should be installed with -g npm WARN prefer global jsonlint@1.6.2 should be installed with -g > uws@0.14.5 install /home/pi/MagicMirror/node_modules/uws > node-gyp rebuild > build_log.txt 2>&1 || exit 0 Unable to install dependencies! pi@raspberrypi:~ $
  • Can't view MM page from PC after update [Fixed]

    4
    0 Votes
    4 Posts
    2k Views
    FlatPepsiF
    Got it solved, but not sure what exactly fixed it. I changed my config lines: address: "0.0.0.0", ipWhitelist: [], And then rebooted. Didn’t fix it. Rebooted again later, and then it was fixed. Very odd - but fixed is fixed!
  • MMM-MyNotes is authorised, but is failing to load

    1
    0 Votes
    1 Posts
    899 Views
    D
    Hi folks. I have installed MMM-MyNotes, and it is reporting that it is authorised but when running, the module just constantly shows “loading”. Any ideas why?
  • Trim the fat in a JSON file?

    6
    0 Votes
    6 Posts
    3k Views
    E
    @doubleT If you think there is an improvement that can be done to that module, perhaps file an issue or PR at the module repo? I’ve been looking at that module and wondering if it’s worthwhile using it, or rather just use something more complete as a template. What do you think?