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 Solved Troubleshooting
    6 Posts 2 Posters 476 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.
    • J Offline
      JMac
      last edited by

      I had a MM set up and running nicely before the SD card failed (lesson learnt).

      It was using MMM-PIR sensor lite and working perfectly with this sensor.
      This module is no longer developed/maintained and has been achieved so now I’m using MMM-PIR which works.

      However, the difference between the 2 is that the PIR sensor lite would physically turn the screen off and put it in standby, then wake the screen up when the PIR sensed movement.
      MMM-PIR appears to only blank the screen of modules so the screen stays on (albeit black) but the screen is still on.
      Not ideal at night/for mirror usage/power use.

      Can MMM-PIR be configured to put the screen in standby?
      With PIR sensor lite, will this still work even though the module is no longer maintained or will this become an issue as MM evolves?

      Cheers.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @JMac
        last edited by

        @JMac you can still use lite.

        MMM-Pir haa lots of different modes

        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
          JMac @sdetweil
          last edited by

          @sdetweil
          So if I stick with MMM-Pir am I right in thinking if u set the mode to mode 4 in the script it would turn the screen off via the HDMI?

          Just read that it is set to mode 1 by default which uses vgencmd but my screen and pi are connected via HDMI.

          Would be handy to get this one turning the screen off entirely (if possible) and use the PIR to turn it back on, as the rest of the MM is working nicely.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @JMac
            last edited by

            @JMac I do not ‘know’ the correct mode… it depends on the hardware and OS

            on pi3 the HDMI port is one way, out… you can only turn it on/off.
            the monitor(energy star compliant) put up a big NO INPUT screen when the port is turned off… fun!.. for some timeout (max 15 mins) and then POWERS OFF…
            the spec said AND STAYS OFF til MANUALLY turned on…
            darn mess for us…

            the pi4/5 (and maybe pi02w) hdmi port is bi-directional, so one can GET status from the other side… in software (CEC) … (if the code is supported and installed on the OS)…

            my 55in TV os CEC compliant, BUT it will turn off, but not back on… sorta not useful… oops… no firmware fix yet, 4 yrs later

            now later energy star also provides for STANDBY mode… so it COULD come back on… i don’t ‘know’, but I think this status is NOT known on the OS side.

            I know that the author is constantly fixing/enhancing the module
            it is INTENDED and DESIGNED to turn the output back on with movement…

            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
              JMac @sdetweil
              last edited by

              @sdetweil That was exactly how PIR sensor lite worked on the same pi 3.
              screen would turn off after time interval - i had it set to 5 minutes - pi would detect a hand swipe past the PIR sensor, pi would wake the screen up and the 5 minute cycle would start again.

              do we (you) think the mode 4 for HDMI in this module will function the same?

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @JMac
                last edited by

                @JMac said in MMM-PIR:

                (you) think the mode 4 for HDMI in this module

                I do not know the details of this module modes

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • J JMac has marked this topic as solved on
                • 1 / 1
                • 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