MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. mrdenmark
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 15
    • Posts 80
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: updated installer script available for testing

      i never thought to mention it before but i have MM working on a windows laptop-i’ve been playing around with it while i waited for all my parts to arrive-are there any files that i can copy between the 2 machines to fix the problem?

      posted in Troubleshooting
      M
      mrdenmark
    • RE: updated installer script available for testing

      @sdetweil

      terminal output below of everything i just tried,uname at the bottom.
      do you want the debug logs pasting?

      pi@raspberrypi:~/MagicMirror $ sudo npm i 0g npm
      npm ERR! code ENOVERSIONS
      npm ERR! No valid versions available for 0g

      npm ERR! A complete log of this run can be found in:
      npm ERR! /root/.npm/_logs/2019-10-26T03_33_41_912Z-debug.log
      pi@raspberrypi:~/MagicMirror $ cd
      pi@raspberrypi:~ $ sudo npm i 0g npm
      npm ERR! code ENOVERSIONS
      npm ERR! No valid versions available for 0g

      npm ERR! A complete log of this run can be found in:
      npm ERR! /root/.npm/_logs/2019-10-26T03_34_31_151Z-debug.log

      pi@raspberrypi:~ $ cd ~/MagicMirror
      pi@raspberrypi:~/MagicMirror $ npm install
      npm WARN tarball cached data for json5@^2.1.0 (sha512-l+3HXD0GEI3huGq1njuqtzYK8OYJyXMkOLtQ53pjWh89tvWS2h6l+1zMkYWqlb57+SiQodKZyvMEFb2X+KrFhQ==) seems to be corrupted. Refreshing cache.
      npm WARN tarball cached data for jsesc@^2.5.1 (sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==) seems to be corrupted. Refreshing cache.

      magicmirror@2.9.0 install /home/pi/MagicMirror
      cd vendor && npm install

      npm WARN tarball cached data for is-extendable@0.1.1 (sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=) seems to be corrupted. Refreshing cache.
      npm WARN tarball cached data for lcid@1.0.0 (sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=) seems to be corrupted. Refreshing cache.
      npm WARN tarball cached data for minimatch@3.0.4 (sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==) seems to be corrupted. Refreshing cache.
      npm WARN tarball cached data for invert-kv@1.0.0 (sha1-EEqOSqym09jNFXqO+L+rLXo//bY=) seems to be corrupted. Refreshing cache.
      npm WARN tarball cached data for os-locale@1.4.0 (sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=) seems to be corrupted. Refreshing cache.
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“arm”})

      added 82 packages from 56 contributors and audited 220 packages in 204.709s
      found 5 vulnerabilities (4 low, 1 high)
      run npm audit fix to fix them, or npm audit for details

      magicmirror@2.9.0 postinstall /home/pi/MagicMirror
      sh untrack-css.sh && sh installers/postinstall/postinstall.sh && npm run install-fonts

      MagicMirror installation successful!

      magicmirror@2.9.0 install-fonts /home/pi/MagicMirror
      cd fonts && npm install

      added 1 package from 1 contributor and audited 1 package in 25.735s
      found 0 vulnerabilities

      added 50 packages from 51 contributors, removed 7 packages, updated 10 packages, moved 1 package and audited 3714 packages in 543.232s
      found 29 vulnerabilities (1 low, 1 moderate, 27 high)
      run npm audit fix to fix them, or npm audit for details
      pi@raspberrypi:~/MagicMirror $ npm start

      magicmirror@2.9.0 start /home/pi/MagicMirror
      sh run-start.sh

      run-start.sh: 7: run-start.sh: electron: not found
      npm ERR! code ELIFECYCLE
      npm ERR! syscall spawn
      npm ERR! file sh
      npm ERR! errno ENOENT
      npm ERR! magicmirror@2.9.0 start: sh run-start.sh
      npm ERR! spawn ENOENT
      npm ERR!
      npm ERR! Failed at the magicmirror@2.9.0 start 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/2019-10-26T03_48_33_404Z-debug.log
      pi@raspberrypi:~/MagicMirror $ cd
      pi@raspberrypi:~ $ uname -a
      Linux raspberrypi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux
      pi@raspberrypi:~ $

      posted in Troubleshooting
      M
      mrdenmark
    • RE: MMM-Sunrise-Sunset

      would it be possible to add a line with the day length?i’m not sure how to go about adding a time offset,i’ll do some research

      posted in Utilities
      M
      mrdenmark
    • RE: MMM-Sunrise-Sunset

      @vbloke i changed the config file to lowercase,that fixed the layout
      as for the api?not sure what the options are,i’ll see if i can an alternative,
      thanks for your help

      posted in Utilities
      M
      mrdenmark
    • RE: MMM-Sunrise-Sunset

      just added it,thanks for your work, a couple of issues i found-

      it doesn’t seem to account for southern hemisphere or timezones or something as i get sunrise at 5.36 pm sunset at 7.23 am and solar noon at 12.30 am,also,in my config inline or list makes no difference,-its always inline.
      heres my config-{
      module: “MMM-Sunrise-Sunset”,
      position: “top_left”,
      config: {
      latitude: “-44.57”,
      longitude: “168.50”,
      Layout: “list”,
      }
      },

      posted in Utilities
      M
      mrdenmark
    • RE: updated installer script available for testing

      heres the debug log-

      0 info it worked if it ends with ok
      1 verbose cli [ ‘/usr/local/bin/node’, ‘/usr/local/bin/npm’, ‘start’ ]
      2 info using npm@6.12.0
      3 info using node@v12.13.0
      4 verbose run-script [ ‘prestart’, ‘start’, ‘poststart’ ]
      5 info lifecycle magicmirror@2.9.0~prestart: magicmirror@2.9.0
      6 info lifecycle magicmirror@2.9.0~start: magicmirror@2.9.0
      7 verbose lifecycle magicmirror@2.9.0~start: unsafe-perm in lifecycle true
      8 verbose lifecycle magicmirror@2.9.0~start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
      9 verbose lifecycle magicmirror@2.9.0~start: CWD: /home/pi/MagicMirror
      10 silly lifecycle magicmirror@2.9.0~start: Args: [ ‘-c’, ‘sh run-start.sh’ ]
      11 info lifecycle magicmirror@2.9.0~start: Failed to exec start script
      12 verbose stack Error: magicmirror@2.9.0 start: sh run-start.sh
      12 verbose stack spawn ENOENT
      12 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
      12 verbose stack at ChildProcess.emit (events.js:210:5)
      12 verbose stack at maybeClose (internal/child_process.js:1021:16)
      12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
      13 verbose pkgid magicmirror@2.9.0
      14 verbose cwd /home/pi/MagicMirror
      15 verbose Linux 4.19.75-v7+
      16 verbose argv “/usr/local/bin/node” “/usr/local/bin/npm” “start”
      17 verbose node v12.13.0
      18 verbose npm v6.12.0
      19 error code ELIFECYCLE
      20 error syscall spawn
      21 error file sh
      22 error errno ENOENT
      23 error magicmirror@2.9.0 start: sh run-start.sh
      23 error spawn ENOENT
      24 error Failed at the magicmirror@2.9.0 start script.
      24 error This is probably not a problem with npm. There is likely additional logging output above.
      25 verbose exit [ 1, true ]

      posted in Troubleshooting
      M
      mrdenmark
    • RE: updated installer script available for testing

      no joy for me,heres a copy of the terminal output-
      pi@raspberrypi:~/MagicMirror $ rm -rf node_modules
      pi@raspberrypi:~/MagicMirror $ npm install
      npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates.
      npm WARN acorn-jsx@5.1.0 requires a peer of acorn@^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.

      npm ERR! code ENOENT
      npm ERR! syscall chmod
      npm ERR! path /home/pi/MagicMirror/node_modules/jsesc/bin/jsesc
      npm ERR! errno -2
      npm ERR! enoent ENOENT: no such file or directory, chmod ‘/home/pi/MagicMirror/node_modules/jsesc/bin/jsesc’
      npm ERR! enoent This is related to npm not being able to find a file.
      npm ERR! enoent

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/pi/.npm/_logs/2019-10-25T19_15_39_049Z-debug.log
      pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 npm start

      magicmirror@2.9.0 start /home/pi/MagicMirror
      sh run-start.sh

      run-start.sh: 7: run-start.sh: electron: not found
      npm ERR! code ELIFECYCLE
      npm ERR! syscall spawn
      npm ERR! file sh
      npm ERR! errno ENOENT
      npm ERR! magicmirror@2.9.0 start: sh run-start.sh
      npm ERR! spawn ENOENT
      npm ERR!
      npm ERR! Failed at the magicmirror@2.9.0 start 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/2019-10-25T19_16_09_123Z-debug.log
      pi@raspberrypi:~/MagicMirror $ ^C
      pi@raspberrypi:~/MagicMirror $

      any suggestions?
      many thanks for your help so far!

      posted in Troubleshooting
      M
      mrdenmark
    • RE: Failed at the magicmirror@2.9.0 start script

      following,i’m having the same problem

      posted in Troubleshooting
      M
      mrdenmark
    • RE: updated installer script available for testing

      email sent,

      posted in Troubleshooting
      M
      mrdenmark
    • RE: updated installer script available for testing

      [0_1571974919417_install.log](Uploading 100%)

      posted in Troubleshooting
      M
      mrdenmark
    • RE: updated installer script available for testing

      i’ve tried running this installer a couple of times now but i keep getting the message-unable to install dependencies-any suggestions on how to proceed?

      posted in Troubleshooting
      M
      mrdenmark
    • RE: installation without ssh

      The GUI isn’t installed,just the black screen with green writing,on that screen it says ssh is enabled,is that not correct?

      posted in Troubleshooting
      M
      mrdenmark
    • RE: installation without ssh

      Yep,has always worked for me in the past but it keeps timing out when I try.i can ping the pi no problem.it must be possible to install directly on the pi though without ssh?

      posted in Troubleshooting
      M
      mrdenmark
    • RE: installation without ssh

      @sdetweil,

      its a pi 2b,connected via wifi,ssh enabled,i’ll try tour installer once i get home from work

      posted in Troubleshooting
      M
      mrdenmark
    • installation without ssh

      i’m currently (trying) installing magicmirror onto my pi but i can’t ssh into it (keeps timing out) so i’m trying to download and install directly from the pi interface(correct term?) itself.
      i’m following this guide-https://www.magicmirrorcentral.com/complete-raspberry-pi-magic-mirror-tutorial/
      and i’m skipping step 5,when i type thisi nto the pi-bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"nothing happens,i just get another line that says pi@mirror:~ $,any ideas what i’m doing wrong?

      posted in Troubleshooting
      M
      mrdenmark
    • RE: MMM-ISS

      problem solved-it was the none required in state!thanks for the assistance

      posted in Education
      M
      mrdenmark
    • RE: MMM-ISS

      is anyone else having problems with this module?i’m getting the following error-
      Error Found
      The Spot The Station widget has encountered a problem. If you are the website curator please visit our widget page for a new version of the embed code.

      Visit the Spot The Station website to see when the International Space Station will be flying over you.

      posted in Education
      M
      mrdenmark
    • RE: aurora forecast

      Thats pretty cool,thanks a lot for taking the time to do that,i guess all the information needed is actually displayed there once you understand it all,i’ll have a play around with it.

      posted in Requests
      M
      mrdenmark
    • aurora forecast

      i’d be interested in a module that shows a forecast/prediction for the aurora australis by location,i’m located in southern new zealand.
      heres a typical forecast i found-https://cdn.softservenews.com/free-member/aurora-borealis-forecast-3-day-bar.html-just not sure how the info could be best presented

      posted in Requests
      M
      mrdenmark
    • beginner questions

      hi all,

      i’m new to magicmirror and pi in general,apologies if this has been answered,i searched but didn’t find the answer.

      i’ve been playing around with the magicmirror for the past day or 2 and i like what i see but i’m wondering if it can do what i want to achieve…

      what i’m trying to achieve is a touchscreen mounted in my kitchen with all the usual stuff such as calender,weather,news ticker etc. i want a web browser for looking up recipes etc and be able to add notes and entries into the calendar but i don’t want a physical keyboard but one that pops up onscreen the way it does on phones and tablets.

      is this possible at the moment?

      cheers

      posted in General Discussion
      M
      mrdenmark
    • 1
    • 2
    • 3
    • 4
    • 4 / 4