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.

    Raspberry Pi Zero W for Magic Mirror

    Scheduled Pinned Locked Moved Hardware
    75 Posts 9 Posters 47.9k Views 10 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.
    • F Offline
      funkdafied
      last edited by

      Hello all giving MM a try again on a Rpi zero and have been trying to run the script in this thread but keeping getting the following message

      98df749c-1ae9-44bf-aea2-cd58f1c132c9-image.png

      Am I missing something to by pass the Xorg check?

      OS
      achild@raspberrypi:~ $ cat /etc/os-release
      PRETTY_NAME=“Raspbian GNU/Linux 12 (bookworm)”
      NAME=“Raspbian GNU/Linux”
      VERSION_ID=“12”
      VERSION=“12 (bookworm)”
      VERSION_CODENAME=bookworm
      ID=raspbian
      ID_LIKE=debian
      HOME_URL=“http://www.raspbian.org/”
      SUPPORT_URL=“http://www.raspbian.org/RaspbianForums”

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @funkdafied
        last edited by sdetweil

        @funkdafied I have just pushed a fix for that… (was a test for text mode or graphical mode)
        (and I see I have to expand the test for the Bookworm compositor too,edit: just fixed that too)

        but it won’t help in your situation…

        you cannot run MagicMirror on bookworm successfully on a pi0-w, armv6l
        takes too much memory

        you need to use the legacy 32 bit image (bullseye)

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        F 1 Reply Last reply Reply Quote 0
        • F Offline
          funkdafied @sdetweil
          last edited by

          @sdetweil thank you that worked to a point please have a look at the below with the errors I getting:

          505c93ab-b6ef-4667-a3fb-490d53665bf5-image.png

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @funkdafied
            last edited by

            @funkdafied I cannot recreate this…

            try this to increase the timeout

            
            You can extend timeout with those two commands:
            
            npm config set fetch-retry-maxtimeout 6000000
            npm config set fetch-retry-mintimeout 1000000
            enter image description here
            
            Source: https://docs.npmjs.com/cli/v9/using-npm/config#fetch-retry-maxtimeout
            
            

            kTo3j.png

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            F 1 Reply Last reply Reply Quote 0
            • F Offline
              funkdafied @sdetweil
              last edited by

              @sdetweil Thank you that did the trick. Only issue I see to be running into at the moment is Midori telling me it can’t find the page it is looking for.

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @funkdafied
                last edited by

                @funkdafied ok,

                when you run on a device that doesn’t have electron support, it doesn’t get installed via MM as expected…

                then my install script changes the startup to use my run-start.sh script

                which launches MagicMirror in server mode
                and waits for the ready message

                >>>   Ready to go! Please point your browser to: http://0.0.0.0:8080   <<<
                

                and then launches midori like this (with whatever the port number is in the message)

                midori http://localhost:8080 -e Fullscreen -e Navigationbar
                

                just for grins can you do

                cd ~/MagicMirror
                npm start server
                

                to see if that message appears

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @sdetweil
                  last edited by

                  @funkdafied I think we solved this on discord

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  M 1 Reply Last reply Reply Quote 0
                  • S schris88 referenced this topic on
                  • M Offline
                    Mayank Arora @sdetweil
                    last edited by

                    @sdetweil

                    I made a magic mirror in my college time using Raspberry pi 3b+

                    Integrated google assistant with youtube play also in it.

                    Now i am graduated and doing job from past 2 years, i am thinking to build one for my home.

                    Raspberry pi 4 and 5 are expensive, does raspberry pi zero works?

                    Will google assistant work on it? And youtube also will work on it?

                    If not youtube, will spotify work on it using pi zero

                    Which raspberry pi zero will you recommend me

                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @Mayank Arora
                      last edited by sdetweil

                      @Mayank-Arora you need the pi0-2w at minimum and a fast sd card

                      The google assistant module is no longer available
                      Most of the MagicMirror modules for Spotify are display only,
                      You need the raspotify system service to play ON the PI
                      YouTube might work, but you have no voice control without GA

                      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
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 8 / 8
                      • 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