A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Switching Raspberry Pi

    Unsolved
    1
    0 Votes
    1 Posts
    705 Views
    B
    Hi there, after months of not using my MagicMirror, I wanted to modify some components. I changed the Raspberry Pi 3 to a 3B+ and put the SD card into the newer one. Now, nothing is working like before… Raspbian is working very slow… most of the time the OS hangs for 2-3 minutes before executing my orders. I updated Raspbian using sudo apt-get update && sudo apt-get upgrade -y and pushed MagicMirrorOS to 2.41 using git pull & npm install. Then I switched to the GL driver via raspi-config. MagicMirror shows the screen like in good old times, but the modules are not updating after their initial screen. System temperature, for example, is showing 49 degrees all the time. Installed a PIR-script for my PIR-sensor, which was working fine in the past. Now, after 10 seconds, it is showing the screen for 5 seconds and switches it off again. The hole system is slow like hell… At the moment I am very dissapointed… tried to get it running several times using a SD backup… Is there anything I have to think about after switching the Raspberry Pi to a newer version ?
  • I only get a black screen with my cursor when running MMM-AssistantMk2

    1
    0 Votes
    1 Posts
    1k Views
    S
    So i’ve been trying to get MMM-AssistantMk2 to work but i can’t do it, the program keeps asking for a file that doesn’t exist. I’ve tried to do an electron rebuild but that doens’t help. I ran MM with npm start dev, and got this error WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/binding/Release/electron-v2.0-linux-arm/snowboy.node’ In the directory there is a node-v59-linux-arm and node-v48-darwin-x64 but no such file as electron-v2.0-linux-arm
  • Problems with updating MagicMirror

    Unsolved
    1
    0 Votes
    1 Posts
    740 Views
    B
    Hi, tried to update my MM-installation from 04/2018 to the latest version… There a a lot of warnings and errors… could someone tell me how to update successfully without any warnings/errors ? (node:18232) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. npm WARN package.json array-unique@0.2.1 license should be a valid SPDX license expression npm WARN package.json base64-arraybuffer@0.1.5 No license field. npm WARN package.json JSV@4.0.2 'repositories' (plural) Not supported. Please pick one as the 'repository' field npm WARN package.json JSV@4.0.2 No license field. npm WARN package.json bcrypt-pbkdf@1.0.1 No repository field. npm WARN package.json better-assert@1.0.2 No license field. npm WARN package.json blob@0.0.4 No license field. npm WARN package.json callsite@1.0.0 No repository field. npm WARN package.json callsite@1.0.0 No license field. npm WARN package.json component-bind@1.0.0 No license field. npm WARN package.json component-inherit@0.0.3 No license field. npm WARN package.json console-browserify@1.1.0 No license field. npm WARN package.json css-value@0.0.1 No license field. npm WARN package.json current-week-number@1.0.7 license should be a valid SPDX license expression npm WARN package.json date-now@0.1.4 No license field. npm WARN package.json deep-is@0.1.3 license should be a valid SPDX license expression npm WARN package.json dev-null@0.1.1 license should be a valid SPDX license expression npm WARN package.json domelementtype@1.3.0 No license field. npm WARN package.json domhandler@2.3.0 No license field. npm WARN package.json domutils@1.5.1 No license field. npm WARN package.json entities@1.1.1 license should be a valid SPDX license expression npm WARN package.json esquery@1.0.0 license should be a valid SPDX license expression npm WARN package.json esutils@2.0.2 No license field. npm WARN package.json exit@0.1.2 No license field. npm WARN package.json findup-sync@0.3.0 No license field. npm WARN package.json foreachasync@3.0.0 license should be a valid SPDX license expression npm WARN package.json getobject@0.1.0 No license field. npm WARN package.json glob-base@0.3.0 license should be a valid SPDX license expression npm WARN package.json has-binary2@1.0.2 No repository field. npm WARN package.json hooker@0.2.3 No license field. npm WARN package.json indexof@0.0.1 No repository field. npm WARN package.json indexof@0.0.1 No license field. npm WARN package.json is-primitive@2.0.0 license should be a valid SPDX license expression npm WARN package.json json-schema@0.2.3 No license field. npm WARN package.json json3@3.3.2 No license field. npm WARN package.json jsonlint@1.6.2 No license field. npm WARN package.json nomnom@1.8.1 No license field. npm WARN package.json nugget@2.0.1 license should be a valid SPDX license expression npm WARN package.json object-component@0.0.3 No repository field. npm WARN package.json object-component@0.0.3 No license field. npm WARN package.json optimist@0.6.1 license should be a valid SPDX license expression npm WARN package.json postcss-resolve-nested-selector@0.1.1 No repository field. npm WARN package.json prelude-ls@1.1.2 No license field. npm WARN package.json preserve@0.2.0 license should be a valid SPDX license expression npm WARN package.json punycode@1.4.1 punycode is also the name of a node core module. npm WARN package.json querystring@0.2.0 querystring is also the name of a node core module. npm WARN package.json querystring@0.2.0 No license field. npm WARN package.json range_check@1.4.0 license should be a valid SPDX license expression npm WARN package.json repeat-element@1.1.2 license should be a valid SPDX license expression npm WARN package.json rrule-alt@2.2.8 No license field. npm WARN package.json rx-lite@4.0.8 No license field. npm WARN package.json rx-lite-aggregates@4.0.8 No license field. npm WARN package.json source-map@0.1.43 No license field. npm WARN package.json speedometer@0.1.4 No license field. npm WARN package.json string_decoder@0.10.31 string_decoder is also the name of a node core module. npm WARN package.json svg-tags@1.0.0 No license field. npm WARN package.json shelljs@0.3.0 license should be a valid SPDX license expression npm WARN package.json to-array@0.1.4 No license field. npm WARN package.json trim@0.0.1 No repository field. npm WARN package.json trim@0.0.1 No license field. npm WARN package.json underscore@1.6.0 No license field. npm WARN package.json url@0.11.0 url is also the name of a node core module. npm WARN package.json url-template@2.0.8 license should be a valid SPDX license expression npm WARN package.json valid-url@1.0.9 No license field. npm WARN package.json wgxpath@1.0.0 No license field. npm WARN package.json x-is-string@0.1.0 No license field. npm WARN package.json xmlhttprequest-ssl@1.5.5 No license field. npm WARN package.json xtend@2.1.2 No license field. npm ERR! Error: Method Not Allowed npm ERR! at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10) npm ERR! at /usr/share/npm/lib/cache/add-named.js:203:12 npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:167:7) npm ERR! at FSReqWrap.oncomplete (fs.js:135:15) npm ERR! If you need help, you may report this *entire* log, npm ERR! including the npm and node versions, at: npm ERR! <http://github.com/npm/npm/issues> npm ERR! System Linux 4.14.69-v7+ npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" npm ERR! cwd /home/pi/MagicMirror npm ERR! node -v v8.11.1 npm ERR! npm -v 1.4.21 npm ERR! code E405 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/pi/MagicMirror/npm-debug.log npm ERR! not ok code 0
  • Rpi 3B+, can't install

    Solved
    19
    1 Votes
    19 Posts
    10k Views
    A
    Please try the following sudo apt-get remove nodejs nodejs-legacy nodered after that curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs sudo npm install -g npm@latest after that enter in the repository with cd MagicMirror If have not install MM, use this from github bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)" then install and run the app with npm install && npm start This method worked for me. Credit: @NoNameRo
  • Git bash run command not found

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    S
    @sudhakarclk Now it is cleared after reinstalling gitbash (I selected final option i.e support for both windows and Linux)
  • it shows "unauthorised" instead of magic mirror

    Unsolved
    1
    0 Votes
    1 Posts
    587 Views
    S
    When I enter start npm it shows unauthorized at top left corner, I am very interested to do this but it showing this please help me how to solve this
  • Auto restart MagicMirror after x hours ?

    Unsolved
    5
    0 Votes
    5 Posts
    4k Views
    F
    I see your original problem. You have the cron job set to execute each day at 5am. Here is the cron command for every five hours: 0 */5 * * * pm2 restart /home/piMagicMirror/mm.sh I now have this running myself (every three hours). Note: The leading 0 means that it will execute in the 0th minute of the hour.
  • black screen with "node clientonly"

    Solved
    2
    0 Votes
    2 Posts
    3k Views
    rudibaraniR
    I think I found the solution: When starting MM inside Docker, I cannot add the true address (172.1.0.9) into the config file but leave it like this: address: "", // Localhost I can open this Docker-hosted Magic Mirror Website directly using a browser without problem. I am not yet versed in JS, but I had a look at the config.js in the clientonly-folder: There is this section, where the config from the remote server is received and passed along as environment variable: getServerAddress(); (config.address && config.port) || fail(); // Only start the client if a non-local server was provided if (["localhost", "127.0.0.1", "::1", "::ffff:127.0.0.1", undefined].indexOf(config.address) === -1) { getServerConfig(`http://${config.address}:${config.port}/config/`) .then(function (config) { // Pass along the server config via an environment variable var env = Object.create(process.env); var options = { env: env }; config.address = config.address; config.port = config.port; env.config = JSON.stringify(config); It seems, that the address information received from the server (which is empty in my case) overwrites the config.address variable I passed along when starting node clientonly --address 192.0.0.95 --port 9090. I changed the code manually and it worked :slightly_smiling_face: @MichMich I have added a pull request on Github to help others with the same problem (https://github.com/MichMich/MagicMirror/pull/1403) PS: The error message describe above remains, but the Magic Mirror shows up without problem.
  • Google Assistant Virtual Output problem

    Unsolved
    1
    0 Votes
    1 Posts
    599 Views
    M
    Everything seems in normal working condition, But when I check my Google cloud console in the API request monitor section, it shows the message below with red color highlight. Also, when I say" Give me a direction to xxx" and It respond just like what it suppose to(Voice respond with virtual text output “Ok, getting you direction to xxxx”), but then I was expecting there should be some sort of Map pop out beside the text, IT DID NOT. It shows only text, Other than this, everything looks normal, video output etc. Any idea what’s the problem? api/request_count:consumed_api:REDUCE_SUM(mirror-mirror-assistant-216006): 0.033
  • Infinite loading of my google calendar

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    A
    I tested with a link but still this bug loading: / { module: "calendar", header: "Vacances", position: "top_left", config: { calendars: [ { symbol: "home", url: "http://www.education.gouv.fr/download.php?file=http://cache.media.education.gouv.fr/ics/Calendrier_Scolaire_Zone_B.ics" } ] } },
  • Calendar, start after 5 days ?

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    S
    @smotx displaying my calendar shows tomorrow and more. I don’t use calendarext
  • Source of Black Screen Crash in pm2 log?

    Unsolved
    1
    0 Votes
    1 Posts
    618 Views
    D
    I’m running the pm2 logger. MagicMirror finally went to the black screen again. pm2 is throwing back this error: [16798:0911/061159.534755:FATAL:webthread_impl_for_worker_scheduler.cc(32)] Check failed: started. Any ideas?
  • MagicMirror sleep in 5 minutes

    Solved
    9
    0 Votes
    9 Posts
    4k Views
    Mykle1M
    @asaxena11 Simply type xscreensaver in your terminal and Enter. Click Settings and you choose your options here. [image: 1536625789732-x.png]
  • [RasPi2] Application not starting when OpenGL is enabled

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    C
    I don’t have the MMM-PIR-Sensor, also, node is up to date. Wonder whether it has to do with system upgrades…
  • MMM-iFrame Send command

    Unsolved mmm-iframe
    1
    0 Votes
    1 Posts
    710 Views
    P
    Hello, I use squeezelite into iFrame. I want to send command (next track, previous track, play, pause, …) The command I have to send b8:27:eb:72:c3:f1 button stop b8:27:eb:72:c3:f1 button play b8:27:eb:72:c3:f1 pause b8:27:eb:72:c3:f1 stop b8:27:eb:72:c3:f1 play b8:27:eb:72:c3:f1 mixer volume +10 b8:27:eb:72:c3:f1 is the MAC Adress Can you help me ? Thanks
  • MM doesn't start after fresh install on Stretch lite

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    A
    @cruunnerr . Thanks for replying. I just did it on full version on raspbian stretch. Installer went fine. I also pressed y when it asked for installing pm2 now after i reboot the pi, MagicMirror splash screen comes but i boot into the desktop when i ran npm start dev , i can see modules working. if i try to run pm2 log, i get error -bash: pm2: command not found What am i doing wrong in here?
  • calendar not showing

    Unsolved
    6
    0 Votes
    6 Posts
    4k Views
    E
    @johnnewhouse Could/Would you mark my last post as the answer? Not sure if you saw my previous comment, as I edited the post to @ you :)
  • change height of region

    Solved
    4
    1
    0 Votes
    4 Posts
    2k Views
    ?
    @toms I think that is not the problem of region height. I guess the height of module might be fixed. (or max-height might be set) Which module do you use? See the module’s css.
  • Youtube

    Unsolved
    2
    0 Votes
    2 Posts
    910 Views
    Mykle1M
    @gomez296 There are a few youtube options on this page. https://github.com/MichMich/MagicMirror/wiki/3rd-party-modules
  • MMM-LocalTransport Module not loading bc wrong destination

    Unsolved
    2
    0 Votes
    2 Posts
    832 Views
    N
    So It’s not really solved but it works with St-Louis Grenze. I left it over night on and in the morning it has loaded the tram departure times. The only porblem is: it will also show one departure time wich is in the past. so it says “4mins ago” and eventually it will go away but still not so nice if it’s there until the next departures times comes. So almost always the first entry will say “mins ago”. And the other problem when I restart it takes forever to load the departure times (more than an hour).