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.

    Newbie

    Scheduled Pinned Locked Moved Troubleshooting
    10 Posts 4 Posters 1.4k Views 4 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.
    • JerryPJ Offline
      JerryP @bimmer
      last edited by

      @bimmer
      Ok… so the folder MagicMirror is on the PI.

      in the terminal…

      sudo npm install -g pm2
      2.
      cd ~
      nano mm.sh
      3.
      cd ~/MagicMirror
      DISPLAY=:0 npm start
      4.
      CTRL-O en CTRL-X
      5.
      chmod +x mm.sh
      6.
      sudo pm2 startup systemd -u pi --hp /home/pi
      7.
      now you can fire up the mirror
      pm2 start mm.sh
      8.
      One command
      pm2 save
      9.
      sudo reboot

      Goodluck

      S 1 Reply Last reply Reply Quote 1
      • JerryPJ Offline
        JerryP
        last edited by

        Som useful commands MagicMirror:

        Restart the MagicMirror
        pm2 restart mm
        Stop the MagicMirror
        pm2 stop mm
        The Log of the MagicMirror showing
        pm2 logs mm
        MagicMirror proces info
        pm2 show mm

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

          @jerryp use my fixuppm2 script.

          see https://github.com/sdetweil/MagicMirror_scripts

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          JerryPJ Mykle1M 2 Replies Last reply Reply Quote 0
          • JerryPJ Offline
            JerryP @sdetweil
            last edited by

            @sdetweil Why my mirror is running ferry nice.

            I only offer a way how @bimmer can fix is issue.

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

              @jerryp i understand. but dont need to issue commands. my script does it all.

              also included in my install script

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              JerryPJ 1 Reply Last reply Reply Quote 0
              • JerryPJ Offline
                JerryP @sdetweil
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @sdetweil
                  last edited by

                  @sdetweil said in Newbie:

                  @jerryp use my fixuppm2 script.

                  Absolutely the best advice. Follow it. Or not, at your peril.

                  Create a working config
                  How to add modules

                  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