• 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-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 Offline
    sdetweil @Stroke 0
    last edited by sdetweil Jun 11, 2022, 6:18 PM Jun 11, 2022, 6:00 PM

    @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 Jun 13, 2022, 6:44 AM Reply Quote 0
    • O Offline
      OberfragGER @sdetweil
      last edited by Jun 13, 2022, 6:44 AM

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • O Offline
        OberfragGER @Stroke 0
        last edited by Jun 13, 2022, 6:45 AM

        @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 Aug 31, 2022, 8:51 PM Reply Quote 0
        • B Offline
          bdeelman @Stroke 0
          last edited by Jun 13, 2022, 8:54 AM

          @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 Aug 25, 2022, 3:54 PM

            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 Aug 31, 2022, 8:49 PM Reply Quote 1
            • S Offline
              Stroke 0 @MiPraSo
              last edited by Aug 31, 2022, 8:49 PM

              @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 Offline
                sdetweil @OberfragGER
                last edited by Aug 31, 2022, 8:51 PM

                @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 Sep 12, 2022, 3:38 PM Reply Quote 0
                • O Offline
                  OberfragGER @sdetweil
                  last edited by Sep 12, 2022, 3:38 PM

                  @sdetweil I dont have any proble with CEC e.g…? Or do you just mistakenly quotet me…?

                  S 1 Reply Last reply Sep 12, 2022, 3:56 PM Reply Quote 0
                  • S Offline
                    sdetweil @OberfragGER
                    last edited by Sep 12, 2022, 3:56 PM

                    @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 Sep 15, 2022, 7:39 PM Reply Quote 0
                    • O Offline
                      OberfragGER @sdetweil
                      last edited by Sep 15, 2022, 7:39 PM

                      @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 Sep 15, 2022, 8:38 PM 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