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.

    Screen turning off

    Scheduled Pinned Locked Moved General Discussion
    16 Posts 3 Posters 5.1k Views 3 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.
    • S Offline
      sdetweil @N6NG
      last edited by

      @N6NG ah, monitor

      yes, u have an energy star compliant monitor.
      when the input is turned off it MUST power off after 15 mins.

      unless the monitor supports the cec commands, there is no way to turn it back on programmaticly.

      this is why I use a module that hides all the modules instead of turning off the HDMI port.

      I even had a tv that powered off if it was display a blank screen. pain in the rear.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      N6NGN 1 Reply Last reply Reply Quote 0
      • N6NGN Offline
        N6NG @sdetweil
        last edited by

        @sdetweil And which module is that Sam?

        N6NGN 1 Reply Last reply Reply Quote 0
        • N6NGN Offline
          N6NG @N6NG
          last edited by

          @N6NG I’m guessing it’s mm-Hide-All but can you tie that to the Pir sensor so it hides it with no motion?

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @N6NG
            last edited by sdetweil

            @N6NG my MMM-SleepWake

            can be triggered by pir(some other module reading pir), or camera

            I use camera, didn’t have PIR when I started this journey…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            N6NGN 1 Reply Last reply Reply Quote 0
            • N6NGN Offline
              N6NG @sdetweil
              last edited by

              @sdetweil Ok Sam… again thanks
              Dennis

              N6NGN 1 Reply Last reply Reply Quote 0
              • N6NGN Offline
                N6NG @N6NG
                last edited by

                @N6NG I have the MMM-SleepWake installed. I have the config.js installed. Now I have to tie it to the MMM-PIR-Sensor-Lite module.
                I’ve got the 2lines in the config.js
                But what is in place of the /external_motion start and end from the PIR module?

                on_event_start /home/pi/MagicMirror/modules/MMM-SleepWake/external_motion started
                on_event_end /home/pi/MagicMirror/modules/MMM-SleepWake/external_motion ended

                N6NGN 1 Reply Last reply Reply Quote 0
                • N6NGN Offline
                  N6NG @N6NG
                  last edited by

                  @N6NG I also don’t understand how this would keep the Monitor from turning off after 15 minutes? I need to turn off the auto off somehow.

                  S BKeyportB 2 Replies Last reply Reply Quote 0
                  • S Offline
                    sdetweil @N6NG
                    last edited by

                    @N6NG no need for external if you use pir

                    mode is hide( hides all modules or shows all modules.) doesn’t turn off monitor

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • BKeyportB Offline
                      BKeyport Module Developer @N6NG
                      last edited by

                      @N6NG the trick is to keep the monitor active enough to fool it into not triggering it’s eco feature.

                      The "E" in "Javascript" stands for "Easy"

                      1 Reply Last reply Reply Quote 0
                      • N6NGN Offline
                        N6NG
                        last edited by

                        @BKeyport and how would you do that?

                        N6NGN 1 Reply Last reply Reply Quote 0
                        • N6NGN Offline
                          N6NG @N6NG
                          last edited by

                          @N6NG I get an error from the line that looks like this.

                          on_event_start /home/pi/MagicMirror/modules/MMM-SleepWake/external_motion started

                          which is line 47 which shows this error.
                          [ERROR] Line 47 column 19: Parsing error: Unexpected token /
                          That’s the / in front of the home/pi/MagicMirror…
                          Can’t see why that would be a problem.

                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            sdetweil @N6NG
                            last edited by

                            @N6NG you are not using a camera, so u don’t need that

                            the PIR module should signal user_presence, true
                            and then sleep wake will show the modules ,

                            user_presence, false, plus the timeout will hide the modules

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            N6NGN 1 Reply Last reply Reply Quote 0
                            • N6NGN Offline
                              N6NG @sdetweil
                              last edited by

                              @sdetweil Thanks Sam… I’ll give it a try…

                              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