Read the statement by Michael Teeuw here.
MMM-Pir Monitor stays black instead of turning off completley
-
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?
-
@Che
Hi, just try to enable screen blancking withraspi-config
tool -
@bugsounet said in MMM-Pir Monitor stays black instead of turning off completley:
@Che
Hi, just try to enable screen blancking withraspi-config
toolThanks. 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 toDISPLAY=: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.
-
@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 inDisplay
block ?
and if not work try mode 2 inDisplay
blockTell me if better ?
-
@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 inDisplay
block ?
and if not work try mode 2 inDisplay
blockTell 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=1Edit: Plugged in my USB mouse and changed it manually on the desktop.
I think its working smoothly again.Merci bien, @bugsounet
-