A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Issue with White list IP(s) not working :(

    23
    0 Votes
    23 Posts
    16k Views
    C
    Are you giving your raspberry pi an ip address of “0.0.0.0”? Why? The address line should be the IP address of your pi. Having it listen on any interface hasn’t really worked well. Then the whitelist is an array of ip address. If you leave it empy (ex. []) then all the devices on your network will be able to access your mirror. This is what mine looks like: var config = { address: "192.168.2.48", port: 8080, ipWhitelist: [], This especially makes a difference when using the “Restfull-ish” API. It is necessary to give the address line an ip address :)
  • How to check version of MM

    Solved
    4
    0 Votes
    4 Posts
    7k Views
    foxF
    @sean said in How to check version of MM: Or you can check version from package.json (in MagicMirror directory) { "name": "magicmirror", "version": "2.4.1", "description": "The open source modular smart mirror platform.", "main": "js/electron.js", "scripts": { ... But it could be different with your current running instance. that worked for me thank you !!
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    22 Views
  • Calendar shows wrong time

    Unsolved
    1
    0 Votes
    1 Posts
    732 Views
    D
    Hi, i’m quite out of idea why my calendar shows the appointments with the wrong time. Every time ist 2 hrs to late, ex: an appointment is 8:00 the magic mirror shows 10:00 { module: 'calendar', header: 'Kalender', position: 'top_left', config: { maximumEntries: '25', maximumNumberOfDays: '35', displayRepeatingCountTitle: 'true', colored: 'true', coloredSymbolOnly: 'true', calendars: [ { I’m running the MM v2.4.1 with a docker container on a debian stretch server. I show a lot of calendars from nextcloud via ics export and from office365, too. But regardless of the source the time is 2 hrs wrong. Hope somebody can give me a hint. regards Dirk
  • Cannot rotate display on new MM 2.4.0

    Unsolved
    10
    0 Votes
    10 Posts
    6k Views
    R
    @philreis i have the same problem - using toverlay=vc4-fkms-v3d i have 75° and a load above 1 the whole time. How does electron downgraded work?
  • Two Instances in PM2

    19
    0 Votes
    19 Posts
    13k Views
    bheplerB
    @shazglass - Ah. Okay, easy enough. You’re missing the mm.sh script. I’m not sure how you had this registered in pm2 earlier, but we can fix it. We’ll use nano to create a new mm.sh file: cd ~ nano mm.sh This will give you a blank screen with the nano options at the bottom. Enter the following lines: cd ~/MagicMirror DISPLAY=:0 npm start When you’re done, hit ctl+o to save the file and then ctl+x to exit nano. Then just like you did earlier, make your script executable by entering chmod +x mm.sh Before we go any further, we need to test your script. From the command line, enter ./mm.sh Your mirror should start after 30 seconds or so. Try this and report back with any errors and behaviors. Also, please use the markup commands when posting code and logs (follow this link for a quick tutorial).
  • Temperatures Seem High

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    M
    Yes 50 degree should be perfectly fine ;)
  • Black screen after MM v2.4.0 update.

    Unsolved
    32
    0 Votes
    32 Posts
    21k Views
    joela85J
    @bhepler Ye, I had a play around last week and managed to do just this. All back up and running now. Thank you for the reply though. Regards, Joel
  • MMM-Carousel - cannot get it to have an effect

    Unsolved
    1
    0 Votes
    1 Posts
    667 Views
    A
    I cannot get MMM-Carousel to have any affect. I can modify the config.js to add, move, and delete modules, but have not been able to ge MMM-Carousel to have any effect at all. Here’s a simplified config.js I’m using while I debug – I’m sure the problem is obvious, but I just can’t see it yet. var config = { port:8080, address:"0.0.0.0", ipWhitelist:[], language:"en", timeFormat:12, units:"imperial", modules:[{ module:'MMM-Carousel', config:{ transitionInterval:3000, ignoreModules:[], mode:'global'} } , { module:"clock", position:"top_left"} , { module:"calendar", header:"US Holidays", position:"top_left", config:{ calendars:[{ symbol:"calendar-check-o ", url:"webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"} ] } } , { module:"newsfeed", position:"bottom_center", config:{ feeds:[{ title:"New York Times", url:"http://feeds.nytimes.com/nyt/rss/Technology.xml", url:"https://www.nytimes.com/services/xml/rss/nyt/PersonalTech.xml", } ], showSourceTitle:true, showPublishDate:true} } , { module:"compliments", position:"bottom_center"} , ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") { module.exports = config; }
  • Change language of MMM-Remote-Control

    2
    0 Votes
    2 Posts
    2k Views
    A
    It depends on the language flag of your MM config.js, try this and restart MM: language: "nl", AxLED
  • Todoist accesstoken

    9
    0 Votes
    9 Posts
    6k Views
    A
    Hello all, I also get so many trouble to make it work, but thanks to your help it is now ok ! :grinning_face: So no need to create that incredibly complicated “OAuth string”, the use of the “Test token” works perfectly fine : [image: 1531575732900-todoist.png] But… It is mandatory to define “projects” value in the config.js file. As the default value is [] I also consider it as optional…:flushed_face: With this value defined, everything is OK !
  • Shell scripts through mirror

    voice control
    2
    0 Votes
    2 Posts
    1k Views
    strawberry 3.141S
    @trmst the way I’m calling the turn off monitor cmd in my voice module you can execute your shell script. https://github.com/fewieden/MMM-voice/blob/master/node_helper.js#L348 official documentation https://nodejs.org/dist/latest-v8.x/docs/api/child_process.html#child_process_child_process_exec_command_options_callback
  • An error is spamming my terminal

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    lavolp3L
    You need to disable one module at a time and find out the source module for this error. If you’ve identified it, go to the github page and send an issue. I also had an error of this type some time ago. Trying to remember what I did to get rid of this…
  • Autostart woes

    Unsolved
    7
    0 Votes
    7 Posts
    3k Views
    lavolp3L
    I’d recommend trying to do it again using the description by MichMich https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror It is crystal clear from what I see, also describes what to do. "the doc for ‘pm2 startup’ doesn’t help me… ‘will give you the command u need to execute’ execute when, how? if unattended, who is ‘you’?" No offense, but btoh the doc and your terminal will show you exactly what to do. Copy a line of text the terminal throws out and execute it again. That’s the reason I’d suggest to do it again with a bit more patience. :-)
  • Black Screen with MMM-PIR-Sensor and v2.4.0

    5
    0 Votes
    5 Posts
    2k Views
    B
    Me too. I fixed by using this… https://github.com/paviro/MMM-PIR-Sensor/issues/49 I needed to delete the node_modules directory first. Then I ran npm install and the issue was gone.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    5 Views
  • Applied change to config.txt, MM fails to boot.

    Unsolved
    13
    0 Votes
    13 Posts
    7k Views
    R
    Done through raspi-config, seems ok, boots and runs fine. sudo vcgencmd measure_temp shows 56.9C
  • Magic Mirror not starting after upgrade on Raspberry Pi2

    1
    0 Votes
    1 Posts
    811 Views
    H
    I upgraded MM today to version 2.4.1 on my raspberry Pi 2. I did the npm install but now getting the following error: 0 info it worked if it ends with ok 1 verbose cli [ ‘/usr/bin/nodejs’, ‘/usr/bin/npm’, ‘start’ ] 2 info using npm@1.4.21 3 info using node@v4.8.2 4 verbose run-script [ ‘prestart’, ‘start’, ‘poststart’ ] 5 info prestart magicmirror@2.4.1 6 info start magicmirror@2.4.1 7 verbose unsafe-perm in lifecycle true 8 info magicmirror@2.4.1 Failed to exec start script 9 error magicmirror@2.4.1 start: sh run-start.sh 9 error Exit status 127 10 error Failed at the magicmirror@2.4.1 start script. 10 error This is most likely a problem with the magicmirror package, 10 error not with npm itself. 10 error Tell the author that this fails on your system: 10 error sh run-start.sh 10 error You can get their info via: 10 error npm owner ls magicmirror 10 error There is likely additional logging output above. 11 error System Linux 4.14.52-v7+ 12 error command “/usr/bin/nodejs” “/usr/bin/npm” “start” 13 error cwd /home/pi/MagicMirror 14 error node -v v4.8.2 15 error npm -v 1.4.21 16 error code ELIFECYCLE 17 verbose exit [ 1, true ]
  • This topic is deleted!

    Unsolved
    2
    0 Votes
    2 Posts
    14 Views
  • config file issue

    Unsolved
    2
    0 Votes
    2 Posts
    782 Views
    S
    @oj96 said in config file issue: accessToken: ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’ lists: [ “inbox”], interval: 60 fade: true } }, ] modules: [ well, a bunch of problems… 1 you have the wrong single and double quotes here… do NOT use a word processing editor… only a text editor… (nano or gedit or vi)… 2. missing comma after accesstoken line and interval line and u have two modules: [ blocks… quick way to test your config for syntax… copy/paste it all to jslint.com check long lines, single quotes, and whitespace mess at the bottom, then press jslint then copy/paste it back to the config.js file.