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
    73 Posts 8 Posters 42.8k Views 9 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 @davidgagne
      last edited by

      @davidgagne I am interested in the log to see why the inline pm2 setup failed.

      yes, pi0w is not fast.

      the default calendar and weather take configuration before they produce output.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @davidgagne you can also adjust the MagicMirror config so you can open your windows browser to see it too.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • D Offline
          davidgagne @sdetweil
          last edited by

          @sdetweil I’m an Apple user. I am sure there’s something similar, though. Thanks.

          1 Reply Last reply Reply Quote 0
          • D Offline
            davidgagne @sdetweil
            last edited by

            @sdetweil It looks like I spoke too soon. After a reboot, I cannot seem to get any output from MagicMirror.
            I rebooted and then called pm2 start MagicMirror from within the MagicMirror directory, and it seems to execute just fine. But … nothing happens. It doesn’t actually start the app, as far as I can tell. Even though the output seems the same:

            [PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 0 ])
            [PM2] [MagicMirror](0) ✓
            [PM2] Process successfully started
            ┌────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
            │ id │ name           │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
            ├────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
            │ 0  │ MagicMirror    │ default     │ 2.27.0  │ fork    │ 4592     │ 1s     │ 148  │ online    │ 0%       │ 27.4mb   │ dvg      │ disabled │
            └────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
            

            Any ideas?

            S 2 Replies Last reply Reply Quote 0
            • S Offline
              sdetweil @davidgagne
              last edited by

              @davidgagne pm2 logs --lines=75

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @davidgagne that circle with the arrow heading column says times restarted. 148 is a problem

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                D 2 Replies Last reply Reply Quote 0
                • D Offline
                  davidgagne @sdetweil
                  last edited by

                  @sdetweil I emailed you the output from that. I’m guessing Error: Cannot find module 'electron' is bad?

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

                    @sdetweil It’s frustrating because I swear it was working before I rebooted.

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      davidgagne @sdetweil
                      last edited by

                      @sdetweil If you thought 148 restarts was bad … This is what I see now:

                      pm2 start MagicMirror
                      [PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 0 ])
                      [PM2] [MagicMirror](0) ✓
                      [PM2] Process successfully started
                      ┌────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
                      │ id │ name           │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
                      ├────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
                      │ 0  │ MagicMirror    │ default     │ 2.27.0  │ fork    │ 14132    │ 0s     │ 659  │ online    │ 0%       │ 20.8mb   │ dvg      │ disabled │
                      └────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
                      
                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @davidgagne
                        last edited by

                        @davidgagne got it. Just back from my walk… will examine…

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        D 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 8
                        • 3 / 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