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-RemoteControl or vcgencmd Issue

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    16 Posts 7 Posters 5.0k Views 8 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 Away
      sdetweil @Stroke 0
      last edited by sdetweil

      @Stroke-0 my pi4 doesn’t have an issue

      off command is
      (sudo /usr/bin/vcgencmd display_power 0) >/dev/null
      on command is
      (sudo /usr/bin/vcgencmd display_power 1) >/dev/null

      commands issued over ssh

      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

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • O Offline
          OberfragGER @Stroke 0
          last edited by

          @Stroke-0 No Problems here. Im using MMM-RemoteControl and a PI4. I also use MMM-NewPir to turn the Monitor off.

          S 1 Reply Last reply Reply Quote 0
          • bdeelmanB Offline
            bdeelman @Stroke 0
            last edited by

            @Stroke-0

            A (or my) Rpi4 has two HDMI ports. So you should add also the HDMI port 0 or 1 (or id 2 and id 7). docs

            Status screen:

            vcgencmd display_power -1 2 | grep -q "1" && echo "on" || echo "off"
            vcgencmd display_power -1 7 | grep -q "1" && echo "on" || echo "off"
            

            Regards,
            Bert

            1 Reply Last reply Reply Quote 1
            • M Offline
              MiPraSo
              last edited by

              I had the same issue, I use MMM-PIR-Sensor-Lite to switch the monitor off and on again. On the command line “vcgencmd display_power 0” does not work, the return is always: “display_power=1”.

              I have tried a few things, they all did not work.
              Edit the “config.txt” in the “/boot” directory.

              Go to:

              “# Enable DRM VC4 V3D driver
              dtoverlay=vc4-kms-v3d
              max_framebuffers=2”

              And change “dtoverlay=vc4-kms-v3d” to “dtoverlay=vc4-fkms-v3d”.

              There is a bug in the “vc4-kms-v3d” driver.

              After changing in the “config.txt” “vcgencmd display_power 0” returns a “display_power=0”.

              MMM-PIR-Sensor-Lite now works as desired.

              S G M 3 Replies Last reply Reply Quote 1
              • S Offline
                Stroke 0 @MiPraSo
                last edited by

                @MiPraSo Well done! Thank you. Your solution works perfectly. I do not understand why others are not experiencing the same issue however, they now have a solution. Thank you, again.

                1 Reply Last reply Reply Quote 0
                • S Away
                  sdetweil @OberfragGER
                  last edited by

                  @OberfragGER do you have it set for cec-client mode? it does all 4 approaches

                  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 I dont have any proble with CEC e.g…? Or do you just mistakenly quotet me…?

                    S 1 Reply Last reply Reply Quote 0
                    • S Away
                      sdetweil @OberfragGER
                      last edited by

                      @OberfragGER no, I was just asking how you used NEW-Pir

                      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 I just use the Standard setting in my config.js.
                        Standard = use vgencmd

                        https://wiki.bugsounet.fr/en/EXT-Screen

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