MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    PI Zero module issues for this beginner

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    24 Posts 2 Posters 6.5k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sdetweil @wagon40
      last edited by sdetweil

      @wagon40 you should use my installation script… it does it all…
      see here https://github.com/sdetweil/MagicMirror_scripts/blob/master/run-start.sh

      use the desktop version of the pi 0… stretch or buster… jessie is too old

      what modules

      what is installed is folders in ~/MagicMirror/modules
      what is being used , see the ~/MagicMirror/config/config.js, and each module: statement
      where disabled is not specified or disabled: false

      nano is the commandline editor

      ctrl-o to save the file
      ctrl-x to exit
      ctrl-w to search the file

      I had to manually add the configuration I found on the My-commute page so is that normal to have to enter in configuration to the config.js?

      yes. u install the code, then have to update the MM config to actually use it

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      W 1 Reply Last reply Reply Quote 0
      • W Offline
        wagon40 @sdetweil
        last edited by

        @sdetweil thank you for the quick reply. I will try your download tomorrow if I get a chance and hopefully have better luck.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @wagon40
          last edited by

          @wagon40 to install MM again, you will need to rename the current folder out of the way

          do this

          cd ~
          mv MagicMirror  MagicMirror.save
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • W Offline
            wagon40
            last edited by

            can you send me the direct script to place in the command line to load your script? I have tried a few bash $( bala bal bal) and im not getting much luck.

            I tried to follow this https://forum.magicmirror.builders/topic/9386/installing-on-a-pi-zero/72
            but of course it wont start. screen goes to sleep and it only starts for a minute then goes to desktop.
            I installed buster with desktop.

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @wagon40
              last edited by sdetweil

              @wagon40 from the page I referenced

              bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
              

              you can do that over ssh, or on the pi monitor terminal session

              it will prompt you about autostart with pm2 and turning off screensaver

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              W 1 Reply Last reply Reply Quote 0
              • W Offline
                wagon40 @sdetweil
                last edited by

                @sdetweil
                all was going well until the dependencies stopped it. tired to send the code using </> or :: but it blanks out the submit button?

                W 1 Reply Last reply Reply Quote 0
                • W Offline
                  wagon40 @wagon40
                  last edited by

                  @wagon40

                  npm WARN grunt-stylelint@0.13.0 requires a peer of stylelint@^12.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/2020-02-05T21_24_22_985Z-debug.log
                  Unable to install dependencies!
                  
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @wagon40
                    last edited by

                    @wagon40 hm… I don’t see that on my pi 0…

                    And electron is optional, so there should be no need for chrome driver

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • W Offline
                      wagon40
                      last edited by

                      Same issue I had with the other download. any suggestion?

                      
                      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/2020-02-05T22_31_04_266Z-debug.log
                      
                      
                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @wagon40
                        last edited by

                        @wagon40 I will have to look. It will be a couple hours. Have grandson now

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy