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 Monitor stays black instead of turning off completley

    Scheduled Pinned Locked Moved Solved Troubleshooting
    6 Posts 2 Posters 571 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.
    • C Offline
      Che
      last edited by sdetweil

      I´ve updated my whole setup as I´ve missed out too many updates and decided to reset my SD Card and give it a fresh clean install.
      Mostly the mirror is back on track but I am still struggling with my PIR-Sensor. I have used the the older version EXT-Pir which isn´t supported anymore.
      Using this my monitor turned off completely. Now it only stays black.
      This was my older config:

      {
          module: 'EXT-Pir',
          disabled: false,
          config: {
            debug: false,
            gpio: 21,
            reverseValue: false
          }
        },
        {
          module: 'EXT-Screen',
          position: 'top_left',
          disabled: false,
          config: {
            debug: false,
            animateBody: true,
            delay: 60000,
            mode: 1,
            displayCounter: true,
            displayBar: true,
            displayAvailability: false,
            displayStyle: 'SemiCircle',
            displayLastPresence: true,
            lastPresenceTimeFormat: 'LL H:mm',
            detectorSleeping: false,
            gpio: 21,
            clearGpioValue: true,
            sound: false,
            touchMode: 3,
            ON: [],
            OFF: []
          }
        },
      

      I am using the MMM-PIR now using this config:

      module: 'MMM-Pir',
        position: 'top_left',
        config: {
          debug: false,
          Display: {
            timeout: 1 * 60 * 1000,
            animate: true,
            style: 3,
            colorFrom: "#FF0000",
            colorTo: "#00FF00",
            mode: 1,
            counter: true,
            lastPresence: false,
            lastPresenceTimeFormat: "LL H:mm",
            availability: false,
            autoDimmer: false,
            xrandrForceRotation: "normal",
            wrandrForceRotation: "normal",
            wrandrForceMode: null,
            waylandDisplayName: "wayland-0"
          },
          Pir: {
            mode: 1,
            gpio: 21
          },
          Motion: {
            deviceId: 0,
            captureIntervalTime: 1000,
            scoreThreshold: 100
          },
          Cron: {
            ON: [],
            OFF: []
          },
          Touch: {
            mode: 3
          },
          Governor: {
            sleeping: 4,
            working: 2
          },
          Sounds: {
            on: "open.mp3",
            off: "close.mp3"
          }
        }
      },    {
        module: 'EXT-Screen',
        config: {
          detectorSleeping: false
        }
      

      I remember that there was a difference between TVservices and vcgencmd.
      I am using 64bit on a Pi3b.

      Any ideas?

      bugsounetB 1 Reply Last reply Reply Quote 0
      • bugsounetB Offline
        bugsounet Banned @Che
        last edited by

        @Che The real question is now:

        What compositor do you use ? (X11, wayfire or labwc)

        I purpose to use X11 compositor. (it’s the better choice for rpi 3b+)
        Can you try this commands:

        sudo raspi-config nonint do_wayland W1
        sudo raspi-config nonint do_blanking 0
        

        and reboot your pi

        in your config of MMM-Pir, can you try mode 1 in Display block ?
        and if not work try mode 2 in Display block

        Tell me if better ?

        C 1 Reply Last reply Reply Quote 0
        • bugsounetB Offline
          bugsounet Banned @Che
          last edited by

          @Che
          Hi, just try to enable screen blancking with raspi-config tool

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            Che @bugsounet
            last edited by

            @bugsounet said in MMM-Pir Monitor stays black instead of turning off completley:

            @Che
            Hi, just try to enable screen blancking with raspi-config tool

            Thanks. Tried that. Did not work. :-(
            The sensor is working because the countdown is visible and it´s reacting perfectly after detecting motion.
            The screen just dont turn off - it stays black which wasn´t an issue before updating.
            I´ve tried to

            DISPLAY=:0.0 xrandr --output HDMI-1 --off
            

            to see if I am able to turn it off manualy and via SSH. Output:

            warning: output HDMI-1 not found; ignoring
            

            Still a bit clueless how to fix that.

            Is there another option I could try? I know the monitor is able to be switched off as this was working before.

            bugsounetB 1 Reply Last reply Reply Quote 0
            • bugsounetB Offline
              bugsounet Banned @Che
              last edited by

              @Che The real question is now:

              What compositor do you use ? (X11, wayfire or labwc)

              I purpose to use X11 compositor. (it’s the better choice for rpi 3b+)
              Can you try this commands:

              sudo raspi-config nonint do_wayland W1
              sudo raspi-config nonint do_blanking 0
              

              and reboot your pi

              in your config of MMM-Pir, can you try mode 1 in Display block ?
              and if not work try mode 2 in Display block

              Tell me if better ?

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                Che @bugsounet
                last edited by Che

                @bugsounet said in MMM-Pir Monitor stays black instead of turning off completley:

                @Che The real question is now:

                What compositor do you use ? (X11, wayfire or labwc)

                I purpose to use X11 compositor. (it’s the better choice for rpi 3b+)
                Can you try this commands:

                sudo raspi-config nonint do_wayland W1
                sudo raspi-config nonint do_blanking 0
                

                and reboot your pi

                in your config of MMM-Pir, can you try mode 1 in Display block ?
                and if not work try mode 2 in Display block

                Tell me if better ?

                I´ve changed to X11 via raspi config and did the commands. Now it seems working. Thanks so far, buddy.
                BUT the Display rotated.
                I´ve tried to change it via sudo nano/boot/firmware/config.txt and add display_rotate=1

                Edit: Plugged in my USB mouse and changed it manually on the desktop.
                I think its working smoothly again.

                Merci bien, @bugsounet

                bugsounetB 1 Reply Last reply Reply Quote 0
                • bugsounetB Offline
                  bugsounet Banned @Che
                  last edited by

                  @Che

                  I am touched by your “thank you” in French!

                  Happy use,
                  @bugsounet

                  1 Reply Last reply Reply Quote 1
                  • S sdetweil has marked this topic as solved on

                  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 / 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