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
    58 Posts 10 Posters 3.4k Views 9 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 Offline
      rkorell Module Developer @sdetweil
      last edited by

      @sdetweil I’ve found V3.3.2 and just try "git checkout 1f451ce "

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

        @rkorell if you pull the tags, you can use the tag name

        git checkout v3.3.2

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          rkorell Module Developer @sdetweil
          last edited by rkorell

          @sdetweil
          For some really strange reasons, neither

          pi@MagicMirrorPi5:~/MagicMirror/modules/MMM-Remote-Control $ git fetch --all --tags
          pi@MagicMirrorPi5:~/MagicMirror/modules/MMM-Remote-Control $ git fetch --tags
          

          currently give any feedback…

          So I’ve worked with the found git-hash:

          git checkout 1f451ce
          

          This at least worked and rolled back to V. 3.3.2.

          Unfortunately some dependencies (package-lock.json ???) are not strict enough, so the rollback produces an error message:

          [ERROR] Error when loading MMM-Remote-Control: require() of ES Module /home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/uuid/dist-node/index.js from /home/pi/MagicMirror/modules/MMM-Remote-Control/API/api.js not supported.
          

          So I downgraded UUID:

          cd ~/MagicMirror/modules/MMM-Remote-Control
          npm install uuid@9.0.1
          npm ci --omit=dev
          

          With this module is running again.

          From now on I’m in a in ‘detached HEAD’ state - but this seems OK.
          Thanks for your time, effort and always great help!

          Ralf

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

            @rkorell I was just about to add that you needed to redo the npm install for the module after deleting the node_modules folder
            else you were trying to run the new dependencies with the old code

            but you fixed it…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              rkorell Module Developer @sdetweil
              last edited by

              @sdetweil
              Yes :-)

              In fact I’ve used

              npm ci --omit=dev
              

              this does the deletion of the node_modules folder inherently AFAIK …

              Thanks again, dear Sam!

              Ralf

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

                @rkorell said in MMM-Remote-Control:

                npm ci

                be careful… the package.json was built and tested on a cloud based virtual machine.
                pi and other hardware types MAY need a different version of a dependency, i’ve only seen it myself twice in 6 years, but

                npm ci uses the exact package.json
                npm install will get the appropriate for this platform, even if the version changes.

                anyhow… I use npm install --omit=dev when I do the installs script or MMM-Config

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                R 1 Reply Last reply Reply Quote 0
                • R Offline
                  rkorell Module Developer @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 R 2 Replies 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 🙂

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

                            @KristjanESPERANTO maybe, if you never use sudo, but we use it very often

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              meikelrix @KristjanESPERANTO
                              last edited by

                              @KristjanESPERANTO Hi, I very much like MMM-Remote-Control!

                              The last update has possibly introduced an error with respect to the “Custom Menu Items” => I have a menu item which still shows, but the sub menu items don’t show anymore?

                              Else wise please let me repeat: excellent job on MMM-Remote-Control!

                              M 1 Reply Last reply Reply Quote 0
                              • M Offline
                                meikelrix @meikelrix
                                last edited by

                                said in MMM-Remote-Control:

                                @KristjanESPERANTO Hi, I very much like MMM-Remote-Control!

                                The last update has possibly introduced an error with respect to the “Custom Menu Items” => I have a menu item which still shows, but the sub menu items don’t show anymore?

                                Else wise please let me repeat: excellent job on MMM-Remote-Control!

                                FWIW: I’m using the showModuleApiMenu: true setting in config.js as well and the submenus there don’t show either, any more?

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

                                  @meikelrix I’ll take a look asap :-)

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

                                    @meikelrix Please check new release 4.1.1 🙂

                                    M 1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      meikelrix @KristjanESPERANTO
                                      last edited by

                                      @KristjanESPERANTO said in MMM-Remote-Control:

                                      @meikelrix Please check new release 4.1.1 🙂

                                      Thank you very much, that has fixed my custom menu!

                                      On the other hand I still don’t see the content of “Modules Controls” menu, although “showModuleApiMenu: true” is set in config.js?

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

                                        @meikelrix Did you set showModuleApiMenu like this?

                                            {
                                              module: "MMM-Remote-Control",
                                              position: "bottom_right",
                                              config: {
                                                showModuleApiMenu: true,
                                              ....
                                        

                                        Do you also have modules with recognizable notifications? Newsfeed is quite good for testing, for example.

                                        Ekrankopio de 2026-01-04 15.42.13.png

                                        If it doesn’t work, show me your config (without secrets of course).

                                        M 1 Reply Last reply Reply Quote 0
                                        • M Offline
                                          meikelrix @KristjanESPERANTO
                                          last edited by

                                          @KristjanESPERANTO I did set the showModuleApiMenu: true,
                                          I do get the “Module Controls” menu entry, but it has no content AND other notification based modules are working.
                                          I noticed as well that the “Updates” doesn’t show modules, anymore. The only one shown is “MagicMirror”, below the message “!No module loaded.”

                                          Ok, I renamed MMM-Remote-Contol directory and re-installed following the github instructions. All is working now!
                                          Thank you for your help and a great module!

                                          1 Reply Last reply Reply Quote 1
                                          • SnilleS Offline
                                            Snille Module Developer @KristjanESPERANTO
                                            last edited by Snille

                                            @KristjanESPERANTO
                                            I have this problem that has been bugging me for a while…
                                            Check this clip: https://photos.app.goo.gl/Zahc5xqttn33frbKA < From API

                                            My mirror have lot’s of modules many are multi instances (like MMM-MotionEye in this example).
                                            I see the same behavior (or similar) with other modules, mainly my “MMM-homeassistant-sensors”…
                                            I often makes API-calls from Node Red in Home Assistant, like this clip: https://photos.app.goo.gl/K9ktuXGKawoyHEez5

                                            Errors from the log:

                                            0|mmdev  | [2026-01-05 12:24:13.812] [ERROR] undefined Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
                                            0|mmdev  |     at ServerResponse.setHeader (node:_http_outgoing:700:11)
                                            0|mmdev  |     at ServerResponse.header (/var/www/html/magicmirror/m/node_modules/express/lib/response.js:686:10)
                                            0|mmdev  |     at ServerResponse.json (/var/www/html/magicmirror/m/node_modules/express/lib/response.js:249:10)
                                            0|mmdev  |     at Class.sendResponse (/var/www/html/magicmirror/m/modules/MMM-Remote-Control/node_helper.js:687:28)
                                            0|mmdev  |     at Class.handleSimpleSocketNotification (/var/www/html/magicmirror/m/modules/MMM-Remote-Control/node_helper.js:965:10)
                                            0|mmdev  |     at SHOW (/var/www/html/magicmirror/m/modules/MMM-Remote-Control/node_helper.js:1024:28)
                                            0|mmdev  |     at Class.executeQuery (/var/www/html/magicmirror/m/modules/MMM-Remote-Control/node_helper.js:1049:7)
                                            0|mmdev  |     at Class.answerModuleApi (/var/www/html/magicmirror/m/modules/MMM-Remote-Control/API/api.js:442:14)
                                            0|mmdev  |     at /var/www/html/magicmirror/m/modules/MMM-Remote-Control/API/api.js:299:14
                                            0|mmdev  |     at Layer.handleRequest (/var/www/html/magicmirror/m/node_modules/router/lib/layer.js:152:17)
                                            0|mmdev  |     at next (/var/www/html/magicmirror/m/node_modules/router/lib/route.js:157:13)
                                            0|mmdev  |     at Route.dispatch (/var/www/html/magicmirror/m/node_modules/router/lib/route.js:117:3)
                                            0|mmdev  |     at handle (/var/www/html/magicmirror/m/node_modules/router/index.js:435:11)
                                            0|mmdev  |     at Layer.handleRequest (/var/www/html/magicmirror/m/node_modules/router/lib/layer.js:152:17)
                                            0|mmdev  |     at /var/www/html/magicmirror/m/node_modules/router/index.js:295:15
                                            0|mmdev  |     at param (/var/www/html/magicmirror/m/node_modules/router/index.js:600:14)
                                            0|mmdev  | [2026-01-05 12:24:28.662] [ERROR] undefined Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
                                            0|mmdev  |     at ServerResponse.setHeader (node:_http_outgoing:700:11)
                                            0|mmdev  |     at ServerResponse.header (/var/www/html/magicmirror/m/node_modules/express/lib/response.js:686:10)
                                            0|mmdev  |     at ServerResponse.send (/var/www/html/magicmirror/m/node_modules/express/lib/response.js:163:12)
                                            0|mmdev  |     at ServerResponse.json (/var/www/html/magicmirror/m/node_modules/express/lib/response.js:252:15)
                                            0|mmdev  |     at Class.sendResponse (/var/www/html/magicmirror/m/modules/MMM-Remote-Control/node_helper.js:687:28)
                                            0|mmdev  |     at Class.handleSimpleSocketNotification (/var/www/html/magicmirror/m/modules/MMM-Remote-Control/node_helper.js:965:10)
                                            0|mmdev  |     at HIDE (/var/www/html/magicmirror/m/modules/MMM-Remote-Control/node_helper.js:1023:28)
                                            0|mmdev  |     at Class.executeQuery (/var/www/html/magicmirror/m/modules/MMM-Remote-Control/node_helper.js:1049:7)
                                            0|mmdev  |     at Class.answerModuleApi (/var/www/html/magicmirror/m/modules/MMM-Remote-Control/API/api.js:442:14)
                                            0|mmdev  |     at /var/www/html/magicmirror/m/modules/MMM-Remote-Control/API/api.js:299:14
                                            0|mmdev  |     at Layer.handleRequest (/var/www/html/magicmirror/m/node_modules/router/lib/layer.js:152:17)
                                            0|mmdev  |     at next (/var/www/html/magicmirror/m/node_modules/router/lib/route.js:157:13)
                                            0|mmdev  |     at Route.dispatch (/var/www/html/magicmirror/m/node_modules/router/lib/route.js:117:3)
                                            0|mmdev  |     at handle (/var/www/html/magicmirror/m/node_modules/router/index.js:435:11)
                                            0|mmdev  |     at Layer.handleRequest (/var/www/html/magicmirror/m/node_modules/router/lib/layer.js:152:17)
                                            0|mmdev  |     at /var/www/html/magicmirror/m/node_modules/router/index.js:295:15
                                            

                                            I also experience that when calling a specific module to show with “module_number_modulename”, it often shows the “wrong” module-instance (of that type of module, like MMM-homeassistant-sensors, but the wrong one)… I don’t know if it’s related to this.

                                            Let me know if you need anything more…
                                            Thank you for this great module! :)

                                            If you cant find it, make it and share it!
                                            Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

                                            KristjanESPERANTOK 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 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