A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Finishing touches

    2
    0 Votes
    2 Posts
    1k Views
    KimzerK
    Also added MMM-Skyss, but how do i reduce the width of the table?
  • Changing physical sizes of different modules. Everything's too big!

    4
    0 Votes
    4 Posts
    4k Views
    C
    @Diareactic no problem! play with the zoom til you get the right number you like. Been doing this for over a year and there are still things I bash my head in trying to figure out but sometimes you just know someone has a quick answer! LOL
  • 0 Votes
    1 Posts
    2k Views
    T
    tried to run the bash command and the installation got stucked to this message can you guys help me step by step? I HAVE NO IDEEA ABOUT PROGRAMMING AND A STEP BY STEP TUTORIAL WILL SAVE MY LIFE. THANK YOU VERY MUCH **Cloning into 'MagicMirror'... remote: Counting objects: 277, done. remote: Compressing objects: 100% (246/246), done. remote: Total 277 (delta 37), reused 121 (delta 21), pack-reused 0 Receiving objects: 100% (277/277), 421.09 KiB | 554.00 KiB/s, done. Resolving deltas: 100% (37/37), done. Cloning MagicMirror Done! Installing dependencies ... > uws@0.14.5 install /home/pi/MagicMirror/node_modules/uws > node-gyp rebuild > build_log.txt 2>&1 || exit 0 > electron-chromedriver@1.7.1 install /home/pi/MagicMirror/node_modules/spectron/node_modules/electron-chromedriver > node ./download-chromedriver.js > electron@1.7.13 postinstall /home/pi/MagicMirror/node_modules/electron > node install.js /home/pi/MagicMirror/node_modules/electron/install.js:48 throw err ^ Error: read ECONNRESET at TLSWrap.onread (net.js:602:25) npm WARN grunt-stylelint@0.10.0 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! electron@1.7.13 postinstall: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the electron@1.7.13 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2018-04-15T23_48_40_173Z-debug.log Unable to install dependencies! pi@raspberrypi:~ $**
  • Problem updating to v2.3.1

    17
    0 Votes
    17 Posts
    11k Views
    C
    @Bob said in Problem updating to v2.3.1: Not sure what I’ve done but when I run a git pull I now have a message that says I need to run “git commit -a” to fix the issues. What would happen if I did that ? Would it overwrite the main branch, or just create my own version of that branch ? I don’t have a git account, so would that cause issues as well ? I ran the “git commit -a”, exited that screen, then ran sudo git pull & npm install and it worked for me then…Had the same issues above before that
  • Notifications and commands help please.

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    P
    So I did some quick googling over coffee this morning. I think there is a two part suggestion for you. Please note, this will require research and testing which I have not done, this is just directional. Install MMM-RemoteControl - https://github.com/Jopyth/MMM-Remote-Control Add some custom code to the MMM-Remote-Control module to handle requests for turning on/off the motion device. In MMM-Remote-Control’s node_helper.js module, you can find the “MONITORON” code: if (query.action === "MONITORON") { exec("tvservice --preferred && sudo chvt 6 && sudo chvt 7", opts, function(error, stdout, stderr){ self.checkForExecError(error, stdout, stderr, res); }); return true; } Notes: query.action defines a trigger word for the MMM-RemoteControl to listen for. exec() - executes a command on the OS The rest is for error checking that the external command executed. In your case, we could define the following: if (query.action === "MOTIONON") { exec("echo "motion_enable on" > ~/pikrellcam/www/FIFO", opts, function(error, stdout, stderr){ self.checkForExecError(error, stdout, stderr, res); }); return true; } if (query.action === "MOTIONOFF") { exec("echo "motion_enable off" > ~/pikrellcam/www/FIFO", opts, function(error, stdout, stderr){ self.checkForExecError(error, stdout, stderr, res); }); return true; }
  • Weird MMM-Wunderground numbers

    1
    0 Votes
    1 Posts
    805 Views
    D
    Hi Updated MM … even did a Git pull, but these weird numbers still show? Is this needing me to perhaps allocate another location near me ( if present one is having issues) or something else I need to investigate? Been working perfect for over a year. [image: 0_1523723685700_IMG-20180414-WA0005.jpg]
  • MagicMirror keeps crashing

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    P
    Same here for the screen issues. I hate even offering this solution but…add a restart of the app to cron for every morning at 2am seems to mitigate the crashing issue. It’s not a fix, it’s a bandaid. Using pm2 the crontab entry would look like: 0 2 * * * pm2 restart mm >/dev/null 2>&1
  • MMM-GoogleAssistant keeps saying "Update Available"

    Solved
    7
    0 Votes
    7 Posts
    4k Views
    J
    @slametps start.wav plays the sound when assistant is activated and listening for request.
  • broken css in forum

    5
    0 Votes
    5 Posts
    3k Views
    S
    @yawns sure. Uncaught TypeError: Cannot set property ‘serializer’ of undefined at undefined.module.module.exports (serializer.js:159) at serializer.js:159
  • MMM-Networkscanner: 1 Divice and 2 macAddresses How

    1
    0 Votes
    1 Posts
    730 Views
    M
    Hi Guys, I have a Problem. My Telefon is one day in 2,4 GHz WLAN and next Day in 5Ghz WLAN. My Telefon has a other MacAddress. Is possible 2 MacAddresses for 1 Device? { macAddress: “mac.address.all.lower.case"or"macAddress.from.5Ghz.WLAN”, name: “DonnaiPhone”, icon: “mobile”}, thanks
  • Any MMM-Hive Users that can help, please?

    34
    0 Votes
    34 Posts
    23k Views
    D
    @mongo116 Ahhhh… thanks. I thought these referred to the inside temp? I will have another look at the config and see, but off hand I recall only 1 set? Those I thought were for inside… but will look more closely 2mor and play about. So yeah, very happy to have it actually working now, and that the link I gave you helped finding that BG changed things… and other MMM-Hive users on here will also appreciate the work you done to fix it. Thanks again…
  • Magic Mirror 2 - Please create a config file error

    8
    0 Votes
    8 Posts
    8k Views
    Mykle1M
    @Rpickp said in Magic Mirror 2 - Please create a config file error: It worked! Thank you so much! Excellent! :-)
  • MMM-netatmo integration

    2
    0 Votes
    2 Posts
    2k Views
    C
    @blebbens, please make sure that the “:” are not part of parameters! I just added a description how to do this with curl, this is a bit easier.
  • Current Weather module not working

    8
    0 Votes
    8 Posts
    6k Views
    S
    Odd… mine hasn’t… Is there a way to manually restart the module? Edit: Seems to be related to that metric to imperial thread. If I switch to metric, it loads fine, but imperial breaks It. What was the solution to that?
  • Black Screen issue using Autoinstaller

    2
    0 Votes
    2 Posts
    1k Views
    S
    I followed the update procedure for 2.3.1 including elctron beta and it’s now working with the default modules!
  • Calendar - dates but no times....

    1
    0 Votes
    1 Posts
    802 Views
    CrckrsC
    Hi All, Super new to this - so apologies upfront if this is a ‘stupid’ question! Have the default calendar setup, linked to a Google calendar, set to absolute date. For whatever reason I cannot get it to display event times, it only shows the dates. Am I missing something obvious here?! Thanks in advance - any suggestions welcome!
  • Touch inverted, can't get it right!! HELP

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Y
    Please stop posting the same question multiple times. This is closed, please continue here: https://forum.magicmirror.builders/post/37832
  • No helper found for module:

    7
    0 Votes
    7 Posts
    9k Views
    Mykle1M
    @raymonvdm If you reinstall, I believe there is an option for autostarting where you simple have to choose yes. Otherwise, if you are setting up autostart manually, Pay particular attention to this line: PM2 will now show you a command you need to execute. Most people miss this step. You have to execute the command that appears. And lastly, you have to save the PM2 state
  • Sleep for updatenotification loop -- Help with JS needed

    1
    1 Votes
    1 Posts
    1k Views
    H
    Hi, I’m running MM on a PiZero, which has a comparable small amount of memory and to have a long lasting SD card, I put some tmp directories in memory and disabled swap. It works fine, however, once the update process of the default updatenotification module starts, I quickly run out of memory and the browser crashes. By changing the updateinterval, I verified that it is indeed due to the updatenotification module. I think this is because all modules are checked at the same time. I’ve 10 installed modules plus the default ones. All these parallel update processes consume quite some memory. I think I found the responsible loop “for (moduleName in modules)” in MagicMirror/modules/default/updatenotification/node_helper.js However I didn’t manage to put in some sleep command between each execution of the items in the loop. My knowledge of JS is very limited and I was not able to adapt the code examples found here https://stackoverflow.com/questions/3583724 to the MM code. I hope that somebody of you can help me with this issue. For me a hard coded sleep time would be totally fine, but of course an official change with a parameter that can be changed in the config file (or an option, that would make the different simpleGits run one after each other) would be even better. Already many thanks for your help!
  • New MagicMirror Version

    7
    0 Votes
    7 Posts
    3k Views
    O
    I don’t know what happens, but now there is no error