• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.1k 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 Offline
    sdetweil @OberfragGER
    last edited by Nov 24, 2021, 9:54 PM

    @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 Nov 24, 2021, 10:12 PM Reply Quote 0
    • O Offline
      OberfragGER @sdetweil
      last edited by Nov 24, 2021, 10:12 PM

      @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 Nov 24, 2021, 10:36 PM Reply Quote 0
      • O Offline
        OberfragGER @OberfragGER
        last edited by Nov 24, 2021, 10:36 PM

        @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 Nov 25, 2021, 1:44 AM Reply Quote 0
        • S Offline
          sdetweil @OberfragGER
          last edited by sdetweil Nov 25, 2021, 2:11 AM Nov 25, 2021, 1:44 AM

          @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 Nov 26, 2021, 10:14 PM Reply Quote 0
          • O Offline
            OberfragGER @sdetweil
            last edited by Nov 26, 2021, 10:14 PM

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

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