• 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.2k 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.
  • 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
                • S Offline
                  sdetweil @OberfragGER
                  last edited by sdetweil Sep 15, 2022, 8:38 PM Sep 15, 2022, 8:38 PM

                  @OberfragGER we have discovered that some pi firmware (updated under the covers by some kernel updates) causes the vcgencmd to not work,

                  https://forum.magicmirror.builders/topic/17185/pir-sensor-problem-after-restart-raspi/20?_=1663206370580

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  O 1 Reply Last reply Sep 18, 2022, 7:18 PM Reply Quote 0
                  • G Offline
                    grena Module Developer @MiPraSo
                    last edited by Sep 16, 2022, 5:59 AM

                    Ongoing fix! More information in my last post ;-)

                    1 Reply Last reply Reply Quote 1
                    • O Offline
                      OberfragGER @sdetweil
                      last edited by Sep 18, 2022, 7:18 PM

                      @sdetweil Thanks for your info.
                      I assume that i have an working firmware. I dont have any clue which version this is.
                      e7ae22b4-0b52-4988-afc7-8d84ff09ad61-image.png

                      S 1 Reply Last reply Sep 18, 2022, 7:28 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