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

    Scheduled Pinned Locked Moved Utilities
    26 Posts 5 Posters 232 Views 5 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.
    • R Online
      rkorell @sdetweil
      last edited by

      @sdetweil
      OK; thanks for this hint.
      May npm install has avoided the resulting error which I had to solve…

      Anyway: Thanks a LOT!
      Regards,
      Ralf

      KristjanESPERANTOK 1 Reply Last reply Reply Quote 0
      • KristjanESPERANTOK Offline
        KristjanESPERANTO Module Developer @rkorell
        last edited by KristjanESPERANTO

        Thanks for the feedback!

        Since Sam has already addressed some of the issues, I won’t go into them again.

        A few problems were mentioned, some of which I have just addressed with v4.1.0. E.g.:

        • Restart/Shutdown: Should now also work on systems without PM2.
        • Minimize: Now says “restart to restore” so you know how to undo it.

        About the monitor control issue:

        This would be tricky to get running by default everywhere because every system uses different commands (X11/Wayland/etc). You have to check the Monitor Control docs and configure the right commands for your specific setup - the defaults won’t work everywhere.


        About the “npm install/npm ci” topic:

        Yes, npm ci can be problematic for modules with native dependencies that need platform-specific builds. However, MMM-Remote-Control only uses pure JavaScript dependencies (marked, qrcode, simple-git, swagger-ui-dist, uuid) - no native modules that require compilation.

        For this module, npm ci is actually the better choice because:

        • Guarantees exact tested versions which the developers released
        • Faster installation (no dependency resolution)
        • Same behavior in CI and production
        • No change on the package-lock.json

        So the warning about npm ci is valid in general, but doesn’t apply here.


        About the microupdates. Since the test suite does not a lot parts yet, some details simply go unnoticed after major changes. If you are not experiencing any problems with the module, you do not need to install every update.


        About node update: I recommend using nvm for node updates. This is also what is offered as default for Linux on the official download page. This makes many things easier - like if something does not work after an update, you can easily switch back to the previous node version. So you don’t need to be so afraid of updates.

        S 1 Reply Last reply Reply Quote 0
        • KristjanESPERANTOK Offline
          KristjanESPERANTO Module Developer @S374n
          last edited by

          @S374n said in MMM-Remote-Control:

          First update changes my main.css - took me a while to figure it out and redo all my customizations.

          You should not change main.css. All customizations should be made in custom.css: https://docs.magicmirror.builders/modules/customcss.html#custom-css

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

            @KristjanESPERANTO n also allows you to change version on the fly.

            One nvm ‘benefit’, it stores the node versions in the users home folder at .nvm

            So, on a multi-user system each user could have different node versions.

            As MagicMirror is deployed as only user, it’s functionally the same.

            One n benefit, it stores the version in the /usr/ local folder
            So it requires sudo to make the change, cannot be accidental

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            KristjanESPERANTOK 1 Reply Last reply Reply Quote 1
            • KristjanESPERANTOK Offline
              KristjanESPERANTO Module Developer @sdetweil
              last edited by

              @sdetweil said in MMM-Remote-Control:

              So it requires sudo to make the change, …

              This can also be seen as a disadvantage 🙂

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