• 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-PIR

Scheduled Pinned Locked Moved Unsolved Troubleshooting
8 Posts 2 Posters 731 Views 2 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.
  • E Offline
    eyesallin
    last edited by Feb 12, 2024, 9:32 AM

    Having had issues with Pi5 I went back to Pi4b. MMM-PIR works great with pi 4, blanking the screen after timer expires and resetting once presence is detected.
    The only issue I have is when the screen is blanked, the monitor backlight remains on, visible at nightnas a glow, the monitor remains powered up, I would have expected it to go into standby?

    S 1 Reply Last reply Feb 13, 2024, 3:05 PM Reply Quote 0
    • S Away
      sdetweil @eyesallin
      last edited by Feb 13, 2024, 3:05 PM

      @eyesallin blanking means hide modules. HDMI and screen still active

      need CEC commands to potentially get standby mode, if you monitor supports that. I have one TV that supports CEC commands, but does not support standby, only off or on

      I use blanking extensively cause none of my monitors will turn off/on

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      E 1 Reply Last reply Feb 14, 2024, 11:02 AM Reply Quote 0
      • E Offline
        eyesallin @sdetweil
        last edited by Feb 14, 2024, 11:02 AM

        @sdetweil
        Many thanks, when I shut down the Pi, I get a No Hdmi message on screen and then the monitor goes into standby.
        Is there a way that MMM-PIR can turn off the Hdmi feed?
        Apologies but I’m not a programmer, just a hobbyist, you mention CEC commands, how would I implement this?

        S 1 Reply Last reply Feb 14, 2024, 12:39 PM Reply Quote 0
        • S Away
          sdetweil @eyesallin
          last edited by Feb 14, 2024, 12:39 PM

          @eyesallin One the the modes will turn off the HDMI port. one of the modes uses CEC commands

          see this MMM-Pir
          https://github.com/bugsounet/MMM-Pir

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          E 1 Reply Last reply Feb 15, 2024, 2:08 PM Reply Quote 0
          • E Offline
            eyesallin @sdetweil
            last edited by Feb 15, 2024, 2:08 PM

            @sdetweil

            Thank you, I’ve checked and it is mode 4 for HDMI CEC, I have checked my monitor and HDMI CEC function is turned on, so it should work. After time out the monitor blanks but it is still powered on so I’m guessing so is the backlight, but Ill wait till dark to find out.
            Can I just say thanks again for your support with this.

            S 1 Reply Last reply Feb 15, 2024, 2:22 PM Reply Quote 0
            • S Away
              sdetweil @eyesallin
              last edited by sdetweil Feb 15, 2024, 2:46 PM Feb 15, 2024, 2:22 PM

              @eyesallin can u execute the cec-client commands from the commandline to verify they work as you expect?

              see https://pimylifeup.com/raspberrypi-hdmi-cec/

              then u may be able to adjust the commands the module is using…

              none of my displays support standby

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              E 1 Reply Last reply Feb 16, 2024, 7:37 PM Reply Quote 0
              • E Offline
                eyesallin @sdetweil
                last edited by Feb 16, 2024, 7:37 PM

                @sdetweil
                So to ask but where are the commands located?

                S 1 Reply Last reply Feb 16, 2024, 7:40 PM Reply Quote 0
                • S Away
                  sdetweil @eyesallin
                  last edited by Feb 16, 2024, 7:40 PM

                  @eyesallin in the node_helper.js

                  browsers cannot access the system directly.
                  the node_helper is the mm solution for that

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  1 / 1
                  • First post
                    3/8
                    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