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 6.0k 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

      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 Reply Quote 0
      • S Do not disturb
        sdetweil @Newbie007
        last edited by

        @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 Reply Quote 0
        • N Offline
          Newbie007 @sdetweil
          last edited by

          @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

            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 Reply Quote 0
            • S Do not disturb
              sdetweil @Newbie007
              last edited by

              @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

                @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 Reply Quote 0
                • S Do not disturb
                  sdetweil @Newbie007
                  last edited by

                  @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

                    This is what I got

                    lxsession screen saver already disabled
                    
                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @Newbie007
                      last edited by

                      @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

                        @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 Reply Quote 0
                        • S Do not disturb
                          sdetweil @Newbie007
                          last edited by sdetweil

                          @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

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @Newbie007
                            last edited by

                            @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

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            N 1 Reply Last reply Reply Quote 0
                            • N Offline
                              Newbie007 @sdetweil
                              last edited by

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

                              1 Reply Last reply Reply Quote 0

                              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
                              • 1 / 1
                              • First post
                                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