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

Monitor goes to sleep within minutes

Scheduled Pinned Locked Moved Solved Troubleshooting
13 Posts 2 Posters 4.3k 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.
  • N Offline
    Newbie007
    last edited by Nov 11, 2019, 4:30 PM

    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
    

    Config

    alt text

    S 1 Reply Last reply Nov 11, 2019, 6:34 PM Reply Quote 0
    • S Offline
      sdetweil @Newbie007
      last edited by Nov 11, 2019, 6:34 PM

      @Newbie007 said in Monitor goes to sleep within minutes:

      xset s noblank
      xset s off
      xset -dpms

      you can issue those commands manually
      or you have to reboot to disable screensaver

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      N 1 Reply Last reply Nov 12, 2019, 1:02 PM Reply Quote 0
      • N Offline
        Newbie007 @sdetweil
        last edited by Nov 12, 2019, 1:02 PM

        @sdetweil i’ve already issues those commands during mm setup. Once monitor goes to sleep im unable to even wake it up

        1 Reply Last reply Reply Quote 0
        • N Offline
          Newbie007
          last edited by Nov 13, 2019, 3:46 PM

          I am not even sure how to wake up the screen, I don’t have keyboard just the mouse moving that doesn’t help

          S 1 Reply Last reply Nov 13, 2019, 3:48 PM Reply Quote 0
          • S Offline
            sdetweil @Newbie007
            last edited by Nov 13, 2019, 3:48 PM

            @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

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • N Offline
              Newbie007
              last edited by Nov 13, 2019, 4:05 PM

              @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

              S 1 Reply Last reply Nov 13, 2019, 4:19 PM Reply Quote 0
              • S Offline
                sdetweil @Newbie007
                last edited by Nov 13, 2019, 4:19 PM

                @Newbie007 hm… well, if you reboot it, run my screensaver setup script…
                see

                https://forum.magicmirror.builders/topic/11052/new-script-for-screensaver-disable

                post the log after from

                ~/screensaver.log
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • N Offline
                  Newbie007
                  last edited by Nov 13, 2019, 4:49 PM

                  This is what I got

                  lxsession screen saver already disabled
                  
                  S 1 Reply Last reply Nov 13, 2019, 4:52 PM Reply Quote 0
                  • S Offline
                    sdetweil @Newbie007
                    last edited by Nov 13, 2019, 4:52 PM

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

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      Newbie007
                      last edited by Nov 13, 2019, 4:59 PM

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

                      S 2 Replies Last reply Nov 13, 2019, 5:00 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        1/13
                        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