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 3.7k 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.
    • 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 Online
            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
                    • 1
                    • 2
                    • 2 / 2
                    • 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