• 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.

Installing on a Pi Zero

Scheduled Pinned Locked Moved Troubleshooting
175 Posts 33 Posters 183.5k Views 33 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.
  • C Offline
    cdh1001 @andyc7687
    last edited by Jan 13, 2019, 10:59 PM

    @andyc7687 - I needed to delete the line: key_mgmt=WPA-PSK Based on discussions elsewhere I originally tried renaming Key_mgmt to WPA2 and/or changing group=CCMP, but neither of those were necessary for me; simply deleting the line was sufficient.

    A 1 Reply Last reply Jan 14, 2019, 7:05 AM Reply Quote 1
    • A Offline
      andyc7687 @cdh1001
      last edited by Jan 14, 2019, 7:05 AM

      @cdh1001 thanks, I will amend my guide over the weekend then.

      1 Reply Last reply Reply Quote 1
      • S Offline
        Smolo
        last edited by Jan 24, 2019, 12:17 AM

        Thanks for the script and the hints so far :-)

        Unfortunately I am really frustrated after x installations. :-( Currently everything is installed the autostart works but chrome says “err_connection_refused”!

        Does anyone have an idea?

        Zero W V1.1 / Raspian Desktop / no sudo

        B 1 Reply Last reply Jan 24, 2019, 2:49 AM Reply Quote 0
        • B Offline
          bhepler Module Developer @Smolo
          last edited by Jan 24, 2019, 2:49 AM

          @smolo Some suggestions: First, make sure that some form of IP address is present in the address key. Usually 127.0.0.1, but the IP address of your pi will probably work too. Without that value, the web server has a tendency to freak out.

          Second, make sure you are specifying the port in your web call. That one has bitten me a couple times.

          Third, I would double-check your IP whitelist in the config.js. Possibly open it up to all connections and attempt to view the magic mirror from another computer. See if the problem is local to the PI Zero or if it is on a deeper level.

          1 Reply Last reply Reply Quote 0
          • S Offline
            Smolo
            last edited by Jan 24, 2019, 10:51 PM

            @bhepler
            First, as a supplement the installation is absolute standard except for another VNC server.
            Chromium starts automaticly with http://localhost:8080

            I have already tested the following constellations before my post.
            the local ip (192.168.2.84:8080)
            127.0.0.1:8080
            localhost:8080

            “err_connection_refused”

            with https browser fault > “err_address_unreachable”

            Other things :…

            • ublock is inactive!
            • Configuration vom MagicMirror Config:
              var config = {
              port: 8080,
              address: “0.0.0.0”,
              ipWhitelist: [],
            • Test from another pc > “err_connection_refused”
            1 Reply Last reply Reply Quote 0
            • S Offline
              Smolo
              last edited by Smolo Jan 25, 2019, 12:08 AM Jan 25, 2019, 12:02 AM

              I’ve solved the problem and it’s going crazy. After I tried with a portscanner to find out if there is anything running I found out that there is no port 8080 open.

              If somebody has problems checking the logs via "pm2 logs MagicMirror --lines 1000

              I missed the npm module “moment” under “/home/pi/MagicMirror/node_modules/moment”!!!:astonished_face:

              Go to MagicMirror > “npm install” the problem was solved!:slightly_smiling_face:

              1 Reply Last reply Reply Quote 0
              • A Offline
                AnalogCHeep
                last edited by Feb 7, 2019, 9:57 PM

                @andyc7687, thanks a lot! It will be easy for me now, I planned going for building a device like yours
                Regards

                A 1 Reply Last reply Feb 7, 2019, 10:04 PM Reply Quote 0
                • A Offline
                  andyc7687 @AnalogCHeep
                  last edited by Feb 7, 2019, 10:04 PM

                  @analogcheep thanks, let me know if yours works and upvote if it is helpful!

                  1 Reply Last reply Reply Quote 0
                  • 1 Offline
                    12wsx
                    last edited by Apr 7, 2019, 8:12 PM

                    today i have to reinstall MM and I have some small problem. MM do not show on local hdmi outpul- I can see the dektop but no MM. Server is working properly because when I open it from laptop i can see MM, when I connect to raspberry pi via vnc i can see to MM. What is going on? what i miss?

                    S 1 Reply Last reply Apr 7, 2019, 9:28 PM Reply Quote 0
                    • S Offline
                      sdetweil @12wsx
                      last edited by sdetweil Apr 7, 2019, 9:28 PM Apr 7, 2019, 9:28 PM

                      @12wsx in terminal, or script u use to start mm do

                      export DISPLAY=:0
                      

                      Then npm start

                      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
                      • 17
                      • 18
                      • 2 / 18
                      • 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