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.

    Installer scripts on Raspberry Pi Zero 2 W

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    14 Posts 2 Posters 584 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 @kribbitykrab
      last edited by sdetweil

      @kribbitykrab if you ran the setup _over_server
      it should have changed the start script in
      package.json to

      "start":"./run-start.sh",
      

      can you confirm that

      looks like i had a bug in the script, run it again

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      K 1 Reply Last reply Reply Quote 1
      • K Offline
        kribbitykrab @sdetweil
        last edited by

        @sdetweil Ah! I had thought I had to do those steps in the other order so I hadn’t ran the setup_over_server script yet–I have ran it now.

        The readout after DISPLAY=:0 npm start is not much more promising. Can’t quite share a screenshot from here, but it has gotten to the point where it says “Ready to go! Please point your browser to” and it’s trying to start Midori!

        Now the waiting game.

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

          @kribbitykrab did you install midori?
          can you launch midori from the commandline

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          K 1 Reply Last reply Reply Quote 0
          • K Offline
            kribbitykrab @sdetweil
            last edited by

            @sdetweil Weird sequence of events. Midori did end up booting, but then it just stayed on a blank white page without loading anything else. I let it sit for a couple hours just in case it was being slow, but no dice. I alt-tabbed back to the terminal to see if I had any error logs or something. I didn’t see anything, so I alt-tabbed back, and voila! I have a display!

            I didn’t change the config.js file, so I assume this is the default setup. I see date, time, holidays in the top left. In the center I see some compliments and some news headlines. In the top right I see the weather!

            I guess now I can try to fiddle around to get the calendar modules setup how I’d like.

            Would ideally like this to boot on launch of the pi 0w, any advice there would also be handy.

            From the default timing display, it appears it’s refreshing anywhere from every second to every ~10seconds.

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

              @kribbitykrab if you ran the fixuppm2 script it would have setup MagicMirror to start on boot
              I made separate scripts for the extra steps used in the installer in case one needed to do it manually, or changed their mind (fox example, didn’t want pm2 at install, but does now)

              the modules update independently

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 2 / 2
              • 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