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.

    [Remote-Control] Shutdown, Configure and Update your MagicMirror

    Scheduled Pinned Locked Moved System
    274 Posts 78 Posters 794.8k Views 77 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.
    • P Offline
      planet4
      last edited by

      Thanks for doing all the work. Just upgraded. However I had problems before waking and sleeping the screen and before I was able to change this in the node_helper.js to use:

      vcgencmd display_power 1 instead of tvservice. The command works via ssh but when I tried to change like below the screens sleeps but I can not wake it up via the remote.html menu. Anyone with the same problem?

       monitorControl: function(action, opts, res) {
                  let status = "unknown";
                  let monitorOnCommand = (this.initialized && "monitorOnCommand" in this.thisConfig.customCommand) ?
                      this.thisConfig.customCommand.monitorOnCommand :
                      "sudo vcgencmd display_power 1";
                  let monitorOffCommand = (this.initialized && "monitorOffCommand" in this.thisConfig.customCommand) ?
                      this.thisConfig.customCommand.monitorOffCommand :
                      "vcgencmd display_power 0";
                  let monitorStatusCommand = (this.initialized && "monitorStatusCommand" in this.thisConfig.customCommand) ?
                      this.thisConfig.customCommand.monitorStatusCommand :
                      "vcgencmd display_power --status";
                  if (["MONITORTOGGLE", "MONITORSTATUS", "MONITORON"].indexOf(action) !== -1) {
                      screenStatus = exec(monitorStatusCommand, opts, (error, stdout, stderr) => {
                  
      
      1 Reply Last reply Reply Quote 0
      • Cr4z33C Offline
        Cr4z33 @Jopyth
        last edited by Cr4z33

        @jopyth I would love to give it a try, but I need first to replace the monitor on/off commands with more suitable CEC commands (I use the cec-utils package) as I have a TV instead. :)

        Please tell me what do I have to edit to use the following commands?

        Turn tv on: echo on 0 | cec-client -s -d 1

        Turn tv off: echo standby 0 | cec-client -s -d 1

        Tv status: echo pow 0 | cec-client -s -d 1

        1 Reply Last reply Reply Quote 0
        • N Offline
          nobita @Jopyth
          last edited by

          @jopyth ,After git pull and npm install , Error like this (at below) happen
          what wrong and how to fix it
          Thanks for your help
          0_1550846453213_S__3162181.jpg

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

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • C Offline
              costascontis
              last edited by

              @Jopyth nice module but i have an issue ,i think last update broke the restart function.Now its just stops MagicMirror and not restart it.Is there a fix for that?

              1 Reply Last reply Reply Quote 0
              • swvalentiS Offline
                swvalenti Project Sponsor
                last edited by

                @costascontis I am experiencing the same issue you are as well.

                1 Reply Last reply Reply Quote 0
                • C Offline
                  costascontis
                  last edited by

                  solved it ,replace node_helper.js with this one ,fix is by ronanversendaal

                  1 Reply Last reply Reply Quote 0
                  • swvalentiS Offline
                    swvalenti Project Sponsor
                    last edited by swvalenti

                    @costascontis Thanks that worked I think…it doesn’t prompt a pm2 restart in the terminal window just closes MM browser and reopens?

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      bryan_1 @Jopyth
                      last edited by

                      @Jopyth after update the Magic Mirror to v2.7.0. I lost all icons. Do you have any idea why? Thanks in advance

                      1 Reply Last reply Reply Quote 0
                      • htilburgsH Offline
                        htilburgs
                        last edited by

                        Same issue here 🤔

                        (still trying to learn JS, but not afraid to ask) ☺

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 27
                        • 28
                        • 5 / 28
                        • 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