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

    Posts

    Recent Best Controversial
    • RE: YAPi0 Installer Stretch Lite

      also this warning

      Installing dependencies ...
      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.
      
      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      Just get following warnings similar to my post 3 days ago

      npm WARN npm npm does not support Node.js v10.15.2
      npm WARN npm You should probably upgrade to a newer version of node as we
      npm WARN npm can't make promises that npm will work with this version.
      npm WARN npm Supported releases of Node.js are the latest releases of 4, 6, 7, 8, 9.
      npm WARN npm You can find the latest version at https://nodejs.org/
      /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
      /usr/local/bin/npx -> /usr/local/lib/node_modules/npm/bin/npx-cli.js
      + npm@6.11.3
      added 430 packages from 833 contributors in 299.269s
      npm installation Done!
      
      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      it’s running now.:crossed_fingers_medium-light_skin_tone:

      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      that’s great :grinning_face:

      at the beginning it asks that’s not an Raspberry 2 or 3… continue?
      So I try with Raspberry Zerro again.

      hope it will work now as I will be off next 2-3 weeks.

      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      Hi Sam, that was the first attempt I did anyway, starting in MagicMirror folder.
      Only last I missed it :frowning_face:
      I tried it again in this folder, but result is bad.

      0_1569426815365_result.JPG

      I guess it makes no sense working on this.
      You said you have running multiple Pi0… let me try another one.

      Not starting with wrong way let me ask if my understanding is right.

      1. It dosn’t matter if I run SSH or direkt with keyboard attached. Also changing for the different steps?

      2. preperation as shown are done

      sudo apt-get update 
      sudo apt-get upgrade 
      sudo apt-get dist-upgrade 
      sudo apt-get autoremove && sudo reboot
      
      
      1. I will run your updated script
      bash -c "$(curl -sL https://www.dropbox.com/s/rlh710ng0zwv3vp/raspberry.sh?dl=0)"
      
      1. start MM

      Is this right?

      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      uname -a

      Linux RasPiZeroWH 4.19.66+ #1253 Thu Aug 15 11:37:30 BST 2019 armv6l GNU/Linux
      

      lsb_release -a

      No LSB modules are available.
      Distributor ID: Raspbian
      Description:    Raspbian GNU/Linux 10 (buster)
      Release:        10
      Codename:       buster
      
      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      No change to before.
      I tried already with double-quotes.

      Only thing I changed now is executing

      cd ~
      export ELECTRON_MIRROR="https://npm.taobao.org/mirrors/electron/"
      

      and afterwards

      npm install electron-chromedriver@v1.8.0 --arch=armv71
      

      and the result is 0_1569421573048_result.JPG

      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      @sdetweil redo, start and end of the mirror setting
      does it mean again (but single quotes in export ELECTRON…)?

      export ELECTRON_MIRROR='https://npm.taobao.org/mirrors/electron/'
      npm install electron-chromedriver@v1.8.0 --arch=armv71
      
      

      Sorry for this many beginner-questions :disappointed_face:

      cheers, bdream

      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      here the result :pouting_face:

      pi@RasPiZeroWH:~/MagicMirror $ export ELECTRON_MIRROR=“https://npm.taobao.org/mirrors/electron/”
      pi@RasPiZeroWH:~/MagicMirror $ npm install electron-chromedriver@v1.8.0 --arch=armv71
      
      > electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver
      > node ./download-chromedriver.js
      
      events.js:174
            throw er; // Unhandled 'error' event
            ^
      
      Error: Invalid URI "“https://npm.taobao.org/mirrors/electron/”1.8.0/chromedriver-v1.8.0-linux-armv71.zip"
          at Request.init (/home/pi/MagicMirror/node_modules/request/request.js:273:31)
          at new Request (/home/pi/MagicMirror/node_modules/request/request.js:127:8)
          at request (/home/pi/MagicMirror/node_modules/request/index.js:53:10)
          at /home/pi/MagicMirror/node_modules/request/index.js:100:12
          at download (/home/pi/MagicMirror/node_modules/nugget/index.js:164:18)
          at /home/pi/MagicMirror/node_modules/nugget/index.js:133:18
          at FSReqWrap.oncomplete (fs.js:154:21)
      Emitted 'error' event at:
          at Request.init (/home/pi/MagicMirror/node_modules/request/request.js:273:17)
          at new Request (/home/pi/MagicMirror/node_modules/request/request.js:127:8)
          [... lines matching original stack trace ...]
          at FSReqWrap.oncomplete (fs.js:154:21)
      npm WARN grunt-stylelint@0.11.1 requires a peer of stylelint@^10.0.0 but none is installed. You must install peer dependencies yourself.
      
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! electron-chromedriver@1.8.0 install: `node ./download-chromedriver.js`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the electron-chromedriver@1.8.0 install 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-09-25T13_49_38_086Z-debug.log
      
      

      Will it make sense starting again with a clean raspbian?
      Maybe there is anything weird on it…

      Cheers, bdream

      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      you mean this part here?

        "dependencies": {
          "colors": "^1.1.2",
          "electron": "^3.0.13",
          "electron-chromedriver": "^1.8.0",
          "express": "^4.16.2",
          "express-ipfilter": "^1.0.1",
          "feedme": "latest",
          "helmet": "^3.9.0",
          "iconv-lite": "latest",
          "moment": "latest",
          "request": "^2.88.0",
          "rrule": "^2.6.2",
          "rrule-alt": "^2.2.8",
          "simple-git": "^1.85.0",
          "socket.io": "^2.1.1",
          "valid-url": "latest"
      
      

      cheers, bdream

      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      0_1569385517608_npm_start.jpg

      npm install not yet. right?

      [0_1569360293647_2019-09-24T17_21_45_114Z-debug.txt](Uploading 100%)

      Not a working hint wit log -> txt. Only pics are allowed :(
      maybe as jpg even it is an log!

      [0_1569360379845_2019-09-24T17_21_45_114Z-debug.jpg](Uploading 100%)

      this is also not possible. what can I do?

      cheers, bdream

      posted in General Discussion
      B
      bdream
    • RE: VGA (not a HDMI) sleep via PIR-Sensor

      Good Info!
      Will play next days with MMM-PIR and MMM-PIR-Sensor investigating about needed scripts vs. /usr/bin/vcgencmd command

      If I can’t get it run mayby I will add an relais to turn off the display…

      At the moment I have to understand the both approaches and what my display is able to handle.
      Could be no way is possible as it’s an verry old one.

      Cheers, bdream

      posted in Show your Mirror
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      0_1569337684282_npm_start.jpg

      Seems not to be an easy task.
      And I totally lost what I have to do in case I want to setup it again on Pi0 :dizzy_face:

      Cheers, bdream

      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      see here:

      pi@RasPiZeroWH:~/MagicMirror $ npm install --arch=armv71
      
      > magicmirror@2.8.0 install /home/pi/MagicMirror
      > cd vendor && npm install
      
      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"})
      
      audited 220 packages in 69.246s
      found 5 vulnerabilities (4 low, 1 high)
        run `npm audit fix` to fix them, or `npm audit` for details
      
      > magicmirror@2.8.0 postinstall /home/pi/MagicMirror
      > sh installers/postinstall/postinstall.sh && npm run install-fonts
      
      MagicMirror installation successful!
      
      > magicmirror@2.8.0 install-fonts /home/pi/MagicMirror
      > cd fonts && npm install
      
      audited 1 package in 7.131s
      found 0 vulnerabilities
      
      npm WARN grunt-stylelint@0.11.1 requires a peer of stylelint@^10.0.0 but none is installed. You must install peer dependencies yourself.
      
      audited 3773 packages in 413.334s
      found 16 high severity vulnerabilities
        run `npm audit fix` to fix them, or `npm audit` for details
      
      

      cheers, bdream

      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      Here it is…

      pi@RasPiZeroWH:~/MagicMirror $ npm install  --arch=armv7l electron-chromedriver@1.8.0
      
      > electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver
      > node ./download-chromedriver.js
      
      successfully dowloaded and extracted!
      npm WARN grunt-stylelint@0.11.1 requires a peer of stylelint@^10.0.0 but none is installed. You must install peer dependencies yourself.
      
      + electron-chromedriver@1.8.0
      updated 1 package and audited 3773 packages in 640.327s
      found 16 high severity vulnerabilities
        run `npm audit fix` to fix them, or `npm audit` for details
      pi@RasPiZeroWH:~/MagicMirror $
      

      cheers, bdream

      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      Hi Sam,
      as I get Error replaying with code inside: 0_1569315660505_Error.JPG
      I will attach requested resukt as jpg-file 0_1569315787927_result.JPG

      cheers, bdream

      posted in General Discussion
      B
      bdream
    • RE: VGA (not a HDMI) sleep via PIR-Sensor

      no idea what to do getting display off while noone is infront of it using PIR-Sensor?

      Cheers, bdream

      posted in Show your Mirror
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      Oh boy, so bad.

      Maybe I don’t understand what I’m doing here.

      install.log has not changed but MM ist also not running.
      After I stopped above stated blinking curser with Ctrl - C

      > electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver
      > node ./download-chromedriver.js
      

      I did install MM

      cd ~/MagicMirror
      npm install
      

      after I did

      npm install pm@latest -g
      

      what failed.
      I’m :pouting_face:
      Do I go total wrong way here?
      Where is my fault?

      Maybe it’s that I’m not clear in what will your script do and what have I to do additional and in which sequence?

      Have you any advise to me please?

      Many thanks fpor your help! bdream

      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      Ohh sdetweil, my bad. I overwrote the SD-card already with the new image. I have to learn how to work with forum and being sensitive for upcoming questions/requests.

      For now I started your script again an it seems it’s running :sleeping_face:

      I wonder as I have on screen a warning

      npm WARN npm npm does not support Node.js v10.15.2
      npm WARN npm You should probably upgrade to a newer version of node as we
      npm WARN npm can't make promises that npm will work with this version.
      npm WARN npm Supported releases of Node.js are the latest releases of 4, 6, 7, 8, 9.
      npm WARN npm You can find the latest version at https://nodejs.org/
      /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
      /usr/local/bin/npx -> /usr/local/lib/node_modules/npm/bin/npx-cli.js
      + npm@6.11.3
      added 430 packages from 833 contributors in 433.321s
      npm installation Done!
      Cloning MagicMirror ...
      Klone nach 'MagicMirror' ...
      remote: Enumerating objects: 315, done.
      remote: Counting objects: 100% (315/315), done.
      remote: Compressing objects: 100% (282/282), done.
      remote: Total 315 (delta 39), reused 193 (delta 21), pack-reused 0
      Empangene Obekte: 100% (315/315), 655.08 KiB | 867.00 KiB/s, Fertig.
      Löse Unterschiede auf: 100% (39/39), Fertig.
      Cloning MagicMirror Done!
      Installing dependencies ...
      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.
      
      > electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver
      > node ./download-chromedriver.js
      

      That is the position cursor is blinking and nothing change since a long time.

      Here you are the install.log from actual running? installation.

      install starting  - So Sep 22 18:22:15 CEST 2019
      installing on armv6l processor system
      forcing armv71 architecture for pi 0
      Updating packages ...
      Installing helper tools ...
      Check current Node installation ...
      Node.js is not installed.
      Installing Node.js ...
      Node.js installation Done! version=v10.15.2
      Check current NPM installation ...
      npm is not installed.
      Installing npm ...
      upgrading npm to latest
      npm installation Done!
      Cloning MagicMirror ...
      Cloning MagicMirror Done!
      Installing dependencies ...
      

      Cheers, bdream

      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      thanks for this info, so I know what to do if my attempt to fix first installation only by deleting /MagicMirror and start your script fails :frowning_face: :winking_face:. And it failed :frowning_face:

      I get a new “Raspbian Buster Lite” now and start again :nerd_face:

      Will let you know about the outcome. It will take long time :sleeping_face:

      Best gerads, bdream

      posted in General Discussion
      B
      bdream
    • 1
    • 2
    • 7
    • 8
    • 9
    • 10
    • 11
    • 10 / 11