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.

    Splitting load..

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    8 Posts 3 Posters 4.4k Views 1 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.
    • PointPubMediaP Offline
      PointPubMedia
      last edited by

      @MichMich

      Right now I have one RPI3 that handle server/client at the same time… but looks like the RPI3 is not having enough CPU power to handle everything.

      So what’s the step to convert my MM server/client into just a “server” and what I need to do on my other RPI3 to be just a “client” ?

      brobergB 1 Reply Last reply Reply Quote 0
      • brobergB Offline
        broberg Project Sponsor @PointPubMedia
        last edited by

        @PointPubMedia

        From the Readme :
        "Server Only

        In some cases, you want to start the application without an actual app window. In this case, execute the following command from the MagicMirror folder: node serveronly. This will start the server, after which you can open the application in your browser of choice."

        And as stated, the client would need a browser running fullscreen

        1 Reply Last reply Reply Quote 1
        • MichMichM Offline
          MichMich Admin
          last edited by MichMich

          As @PointPubMedia states, this is what the serveronly version is for.

          But more importantly, what’s the load on your Pi? Ore you really running into issues? It should work fine on one Pi. Like almost all users have their MagicMirror.

          EDIT: I just checked, when Idle, the load of my Mirror on a PI3 is ~ 0.35. So it’s fully cable of handeling it.

          Maybe you’re using modules that are a bit processor intensive?

          brobergB 1 Reply Last reply Reply Quote 0
          • brobergB Offline
            broberg Project Sponsor @MichMich
            last edited by

            @MichMich

            I have noticed that fast moving animations with css doesn’t really run smooth on the Pi, this could be seen as high load maybe?

            MichMichM 1 Reply Last reply Reply Quote 0
            • MichMichM Offline
              MichMich Admin @broberg
              last edited by

              @broberg No, this is a limitation of the RPi, because it doesn’t have hardware accelerated CSS animations. Moving away the server part will not solve this.

              brobergB 1 Reply Last reply Reply Quote 0
              • brobergB Offline
                broberg Project Sponsor @MichMich
                last edited by

                @MichMich I know it won’t solve it, but this could be SEEN as a heavy load, :P

                1 Reply Last reply Reply Quote 1
                • PointPubMediaP Offline
                  PointPubMedia
                  last edited by

                  My load is always around 1.5. And I was playing with some animation and of course, the RPI is not made to handle that!

                  1 Reply Last reply Reply Quote 0
                  • PointPubMediaP Offline
                    PointPubMedia
                    last edited by

                    Instead, I already have an i7 running for the home automation, I can move MM to this machine instead… that will give enough power ;)

                    But using MMM-Facial, with a USB webcam, is it working fine ?

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