• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

How I got my Magic Mirror working on a Raspberry Pi 0 (zero)

Scheduled Pinned Locked Moved Tutorials
raspberry pipi0zeropizeropi1
204 Posts 47 Posters 477.2k Views 47 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.
  • W Offline
    Wieber @Mar
    last edited by Wieber Jan 30, 2017, 11:22 PM Jan 30, 2017, 11:21 PM

    @Mar Going out on a limb here: Are you sure you got the names of your scripts and their locations right?
    You’re talking about ‘startMagicMirror’ which could either refer to what I called ‘/home/pi/start.sh’ and ‘/home/pi/startMidori’.

    In the response you’re getting from your Pi it is referring to Electron, the browsing environment used in the default MM2 system, but which sadly doesn’t work on the Pi Zero. Running MM2 in server only mode would eliminate the whole of Electron I think.
    Possible solutions from the top of my mind would be to check your names and paths, and to make sure the ‘start.sh’ script is an executable by using the ‘chmod a+x /home/pi/start.sh’ command, again, names and paths could differ.

    This MIGHT also solve the connection refused issue, but I doubt it, for that we might need some more info ;)

    Edit: On a side note, I thought I had commented on your question like yesterday, but silly me didn’t press the ‘submit’ button, sorry!

    M 1 Reply Last reply Jan 31, 2017, 12:33 AM Reply Quote 0
    • W Offline
      Wieber @bmarofsky
      last edited by Jan 30, 2017, 11:26 PM

      @bmarofsky I don’t recall such errors when I finally did things right to be honest.
      Like the error states, it might be because you’re behind a proxy or a firewall, in which case you should look further on the interweb for help, cause I can’t help you with that!

      If you aren’t however, I would recommend trying to update NPM to a newer version, as this topic on another forum says it helped for some people.

      B 1 Reply Last reply Jan 31, 2017, 12:38 AM Reply Quote 0
      • M Offline
        Mar @Wieber
        last edited by Mar Jan 31, 2017, 12:51 AM Jan 31, 2017, 12:33 AM

        @Wieber Thanks for the response wieber. Im actually using randombullets guide where he moves the file into the init.d folder.

        Thing is i cant get MM to run the server and use a laptop to connect to the pi@8080 and it shows the mirror. I can also run the following commands via SSH to get the MM running on the pi!!! …but i cant AT ALL get the MM window up on the pi automatically using the shell scripts.

        Its obviously running the server command as I can access via another computer on the network (which has access via ip whitelist in the config file)

        I just need to know why none of the commands after node serveronly arent executing?

        1 Reply Last reply Reply Quote 0
        • B Offline
          bmarofsky @Wieber
          last edited by bmarofsky Jan 31, 2017, 1:11 AM Jan 31, 2017, 12:38 AM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • S Offline
            SebTota @Mar
            last edited by Jan 31, 2017, 1:20 AM

            @Mar do you have access to a 16gb SD card or no? If not what size do you have/want to use.

            M 1 Reply Last reply Jan 31, 2017, 1:26 AM Reply Quote 0
            • M Offline
              Mar @SebTota
              last edited by Jan 31, 2017, 1:26 AM

              @SebTota I currently have a 32 in there but the final im hoping will go on a 16 at least. Will the file you’re sending over be a clean first install for the zero?

              S 1 Reply Last reply Jan 31, 2017, 1:35 AM Reply Quote 0
              • S Offline
                SebTota @Mar
                last edited by Jan 31, 2017, 1:35 AM

                @Mar it is an install or Raspbian lite with magic mirror for RPI zero. There is some other alterations but not much. Would you like me to share the file?

                M M 2 Replies Last reply Jan 31, 2017, 1:41 AM Reply Quote 0
                • M Offline
                  Mar @SebTota
                  last edited by Jan 31, 2017, 1:41 AM

                  @SebTota Please I would appreciate that so much. Im on the verge of giving up and sticking with p3’s. I was really excited about being able to create a few mirrors with the cheaper board, so thanks again for sharing.

                  S 1 Reply Last reply Jan 31, 2017, 1:47 AM Reply Quote 0
                  • S Offline
                    SebTota @Mar
                    last edited by Jan 31, 2017, 1:47 AM

                    @Mar I’ll send you the link to the mega file download. You will have to unzip it and write the ISO file onto your SD card. I also have a version that has amazon Alexa built in but that takes a little bit of setup.

                    M 1 Reply Last reply Jan 31, 2017, 1:52 AM Reply Quote 0
                    • M Offline
                      Mar @SebTota
                      last edited by Jan 31, 2017, 1:52 AM

                      @SebTota Thanks so much!!! I’ll download it over night and try it in the morning and get back to you. Hopefully there is no difference between pi zeros?

                      S 1 Reply Last reply Jan 31, 2017, 1:55 AM Reply Quote 0
                      • 1
                      • 2
                      • 5
                      • 6
                      • 7
                      • 8
                      • 9
                      • 20
                      • 21
                      • 7 / 21
                      7 / 21
                      • First post
                        61/204
                        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