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-Sensor-Lite does not switch HDMI off

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    43 Posts 7 Posters 20.4k Views 7 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.
    • V Offline
      Volkae
      last edited by

      My MM works fine but I have a problem using MMM-PIR-Sensor-Lite. The modul is running, the countdown is shown on the MM but when the countdown shows 0 it does not switch HDMI off so the monitor is still alive.

      What can I do??

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @Volkae
        last edited by

        @Volkae this module requires python3, which is not installed by default… and not listed in the requirements

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        V 1 Reply Last reply Reply Quote 0
        • V Offline
          Volkae @sdetweil
          last edited by

          @sdetweil
          Python3 was already installed (up to date).
          Module seems to work fine but does not switch HDMI off…

          S 1 Reply Last reply Reply Quote 1
          • S Do not disturb
            sdetweil @Volkae
            last edited by sdetweil

            @Volkae so have u tried the command it uses, on the terminal window

            from the code

            /usr/bin/vcgencmd display_power 0
            

            make sure to do this over ssh, so you can turn it back on

            /usr/bin/vcgencmd display_power 1
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            V 1 Reply Last reply Reply Quote 0
            • V Offline
              Volkae @sdetweil
              last edited by

              @sdetweil
              then it shows me:

              display_power=1

              HDMI is still alive…

              S 1 Reply Last reply Reply Quote 1
              • S Do not disturb
                sdetweil @Volkae
                last edited by

                @Volkae those two were off and on

                if you do off

                does it turn off?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                V 1 Reply Last reply Reply Quote 0
                • V Offline
                  Volkae @sdetweil
                  last edited by

                  @sdetweil
                  No, it does not switch HDMI off

                  S 1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @Volkae
                    last edited by sdetweil

                    @Volkae works perfectly on my pi 4…

                    what pi version are you using?

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    V 1 Reply Last reply Reply Quote 0
                    • V Offline
                      Volkae @sdetweil
                      last edited by

                      @sdetweil
                      I´m using a pi3.
                      Maybe that´s the problem??

                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @Volkae
                        last edited by

                        @Volkae worked on my pi3 as well…

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        J 1 Reply Last reply Reply Quote 0
                        • J Offline
                          JoeFranz @sdetweil
                          last edited by

                          @sdetweil same here https://forum.magicmirror.builders/topic/17185/pir-sensor-problem-after-restart-raspi?page=1

                          S 1 Reply Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @JoeFranz
                            last edited by

                            @JoeFranz @Volkae this appears to be a problem related to the raspi os kernel level

                            https://forums.raspberrypi.com/viewtopic.php?t=339079

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            J 1 Reply Last reply Reply Quote 0
                            • J Offline
                              JoeFranz @sdetweil
                              last edited by sdetweil

                              Thanks @sdetweil for the link :-)
                              It is probably due to the current firmware 5.15
                              With

                              rpi-update b976c54917e240630c05a9b383010f1492bc61b4
                              

                              I installed version 5.10. It now works again with the standby on the HDMI connection.

                              Greetings Joerg

                              1 Reply Last reply Reply Quote 0
                              • B Offline
                                blouzbee
                                last edited by

                                all these modules and all these guides you can find online all fail to tell you that at some point a kernel or driver update broke vcgencmd and tvservice commands for the newer pis or Rasberry OS. I spent so many hours making mine work.

                                xrandr --output HDMI-1 --off
                                
                                xrandr --output HDMI-1 --auto
                                

                                these worked for me, maybe they’ll work for you, I dunno.

                                S 1 Reply Last reply Reply Quote 1
                                • S Do not disturb
                                  sdetweil @blouzbee
                                  last edited by sdetweil

                                  @blouzbee cool…

                                  yeh tvservice went away in bullseye

                                  they are trying to get rid of all the old ‘raspberry pi’ unique stuff to maintain

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  V 1 Reply Last reply Reply Quote 0
                                  • V Offline
                                    Volkae @sdetweil
                                    last edited by

                                    @sdetweil
                                    Seems that there is no way for me to swich off HDMI via PIR-Sensor :-(

                                    Maybe I will find a way to do this with a python-Scrip out of MagicMirror but I´m a just a beginner and it seems to be not easy…

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Do not disturb
                                      sdetweil @Volkae
                                      last edited by

                                      @Volkae did u see @JoeFranz post about changing the OS firmware down a couple levels?

                                      https://forum.magicmirror.builders/topic/17202/mmm-pir-sensor-lite-does-not-switch-hdmi-off/13?_=1662126560261

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      V 1 Reply Last reply Reply Quote 0
                                      • S sdetweil referenced this topic on
                                      • V Offline
                                        Volkae @sdetweil
                                        last edited by

                                        @sdetweil
                                        I will try to downgrade

                                        1 Reply Last reply Reply Quote 0
                                        • G Offline
                                          grena Module Developer
                                          last edited by

                                          Hello all,

                                          I think I have restored the compatibility of MMM-PIR-Sensor-Lite with Bullseye (lastest firmware). See issue on GitHub and more information in ReadMe

                                          Can you install the testing version to confirm the resolution of this issue?

                                          cd ~/MagicMirror/modules/MMM-PIR-Sensor-Lite
                                          git pull
                                          git checkout testing
                                          

                                          Thanks for your feedback!

                                          V 1 Reply Last reply Reply Quote 0
                                          • G grena referenced this topic on
                                          • V Offline
                                            Volkae @grena
                                            last edited by

                                            @grena
                                            Hey grena,
                                            seems to work fine on my Raspi 3!!!
                                            Thank you, great support!!!

                                            V 1 Reply Last reply Reply Quote 1

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • 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