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/autostart
Added below part
@xset s noblank @xset s off @xset -dpms
I 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?