Read the statement by Michael Teeuw here.
Monitor goes to sleep within minutes
-
I have installed MM a week back it was all fine however since couple of days my monitor goes to sleep mode within minutes of powering on RPi.
Post installing I was playing around with couple of modules but one suspect might be PIR-Sensor though I have it disconnected currently.
My setup to disable sleep mode:
sudo nano /etc/xdg/lxsession/LXDE-pi/autostartAdded below part
@xset s noblank @xset s off @xset -dpmsI couldn’t find [SeatDefaults] so as a trial I made changes in Seat Configuration and [Seat : *]
/etc/lightdm/lightdm.conf

-
@Newbie007 said in Monitor goes to sleep within minutes:
xset s noblank
xset s off
xset -dpmsyou can issue those commands manually
or you have to reboot to disable screensaver -
@sdetweil i’ve already issues those commands during mm setup. Once monitor goes to sleep im unable to even wake it up
-
I am not even sure how to wake up the screen, I don’t have keyboard just the mouse moving that doesn’t help
-
@Newbie007 ok, so mouse is shown… and moves… this is not screen saver…
so, it appears MM is showing black screen
you need a keyboard to be able to get to the debug info
-
@sdetweil said in Monitor goes to sleep within minutes:
MM is showing black screen
I actually doubt that cause before going to sleep my monitor shows the default “HDMI” text which is usually shown before boot as well
-
@Newbie007 hm… well, if you reboot it, run my screensaver setup script…
seehttps://forum.magicmirror.builders/topic/11052/new-script-for-screensaver-disable
post the log after from
~/screensaver.log -
This is what I got
lxsession screen saver already disabled -
@Newbie007 PIR-Sensor… is that module still in config.js?
you can disable it by adding
disabled: true,to that module config, after the module: statement
note that PIR has some dependencies, which can cause black screen…
-
@sdetweil said in Monitor goes to sleep within minutes:
PIR-Sensor
Damn! You are right.
I commented whole PIR-Sensor in config.js but I followed this method as well and forgot about it.
Currently I have unplugged my PIR, let me plug it again and report back to you.
But in mean time how can I disable this?
-
@Newbie007 said in Monitor goes to sleep within minutes:
But in mean time how can I disable this?
what? the module? I gave u instructions in the prior post
-
@Newbie007 said in Monitor goes to sleep within minutes:
but I followed this method as well and forgot about it.
I don’t see a ‘method’ there… its a 4 page topic
-
@sdetweil said in Monitor goes to sleep within minutes:
@Newbie007 said in Monitor goes to sleep within minutes:
but I followed this method as well and forgot about it.
I don’t see a ‘method’ there… its a 4 page topic
I thought I linked you to a comment in that thread which details how to use PIR sensor to turn on/off monitor along with LED lights which is apart from PIR-Sensor module.
I commented out the module but forgot about the standalone script. Now we are good.
Thanks for your help!
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