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

Scheduled Pinned Locked Moved Solved Troubleshooting
6 Posts 2 Posters 365 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 Nov 17, 2024, 10:41 PM Nov 17, 2024, 10:37 PM

    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?

    B 1 Reply Last reply Nov 18, 2024, 6:10 AM Reply Quote 0
    • B Offline
      bugsounet Banned @Che
      last edited by Nov 18, 2024, 4:12 PM

      @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 Nov 18, 2024, 7:20 PM Reply Quote 0
      • B Offline
        bugsounet Banned @Che
        last edited by Nov 18, 2024, 6:10 AM

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

        C 1 Reply Last reply Nov 18, 2024, 8:00 AM Reply Quote 0
        • C Offline
          Che @bugsounet
          last edited by Nov 18, 2024, 8:00 AM

          @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.

          B 1 Reply Last reply Nov 18, 2024, 4:12 PM Reply Quote 0
          • B Offline
            bugsounet Banned @Che
            last edited by Nov 18, 2024, 4:12 PM

            @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 Nov 18, 2024, 7:20 PM Reply Quote 0
            • C Offline
              Che @bugsounet
              last edited by Che Nov 18, 2024, 8:01 PM Nov 18, 2024, 7:20 PM

              @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

              B 1 Reply Last reply Nov 18, 2024, 8:05 PM Reply Quote 0
              • B Offline
                bugsounet Banned @Che
                last edited by Nov 18, 2024, 8:05 PM

                @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 Dec 22, 2024, 4:04 PM
                • 1 / 1
                1 / 1
                • First post
                  5/6
                  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