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.

    MMM-remote-control Restart MM not possible

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 2 Posters 1.3k 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.
    • S Do not disturb
      sdetweil @OberfragGER
      last edited by

      @oberfragger said in MMM-remote-control Restart MM not possible:

      and used the script from

      my script names the MM process MagicMirror

      pm2 status will show you the names of the processes it manages

      so, I think u have to change the rc parm for the pm2 process name

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      O 1 Reply Last reply Reply Quote 0
      • O Offline
        OberfragGER @sdetweil
        last edited by

        @sdetweil Thanks for your Info.
        Sorry for asking… i dnot know what you mean with “RC”

        change the rc parm for the pm2 process name
        

        or how tho change the process name…

        O 1 Reply Last reply Reply Quote 0
        • O Offline
          OberfragGER @OberfragGER
          last edited by

          @sdetweil Ui. I just found a possible solution.
          I editet the node_helper.js in the folder /home/pi/MagicMirror/modules/MMM-Remote-Control
          Line 959 from:

                      let processName = query.processName || this.thisConfig.pm2ProcessName || "mm";
          

          to

                      let processName = query.processName || this.thisConfig.pm2ProcessName || "MagicMirror";
          

          Lets see how dirty this is…and if this destroys other things.

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @OberfragGER
            last edited by sdetweil

            @oberfragger this.thisConfig.pm2ProcessName

            means there is a configuration option for the remote control (aka rc) module, so you don’t have to change the code

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            O 1 Reply Last reply Reply Quote 0
            • O Offline
              OberfragGER @sdetweil
              last edited by

              @sdetweil Thanks a lot. Found it now. Its ‘pm2ProcessName’.

              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