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

Screen turning off

Scheduled Pinned Locked Moved General Discussion
16 Posts 3 Posters 2.8k 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.
  • N Offline
    N6NG @N6NG
    last edited by Aug 1, 2022, 5:56 PM

    @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 Aug 1, 2022, 7:11 PM Reply Quote 0
    • S Away
      sdetweil @N6NG
      last edited by sdetweil Aug 1, 2022, 7:13 PM Aug 1, 2022, 7:11 PM

      @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

      N 1 Reply Last reply Aug 1, 2022, 7:45 PM Reply Quote 0
      • N Offline
        N6NG @sdetweil
        last edited by Aug 1, 2022, 7:45 PM

        @sdetweil Ok Sam… again thanks
        Dennis

        N 1 Reply Last reply Aug 1, 2022, 9:25 PM Reply Quote 0
        • N Offline
          N6NG @N6NG
          last edited by Aug 1, 2022, 9:25 PM

          @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

          N 1 Reply Last reply Aug 1, 2022, 9:29 PM Reply Quote 0
          • N Offline
            N6NG @N6NG
            last edited by Aug 1, 2022, 9:29 PM

            @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 B 2 Replies Last reply Aug 1, 2022, 9:48 PM Reply Quote 0
            • S Away
              sdetweil @N6NG
              last edited by Aug 1, 2022, 9:48 PM

              @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
              • B Offline
                BKeyport Module Developer @N6NG
                last edited by Aug 1, 2022, 9:54 PM

                @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
                • N Offline
                  N6NG
                  last edited by Aug 1, 2022, 11:10 PM

                  @BKeyport and how would you do that?

                  N 1 Reply Last reply Aug 1, 2022, 11:34 PM Reply Quote 0
                  • N Offline
                    N6NG @N6NG
                    last edited by Aug 1, 2022, 11:34 PM

                    @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 Aug 1, 2022, 11:49 PM Reply Quote 0
                    • S Away
                      sdetweil @N6NG
                      last edited by Aug 1, 2022, 11:49 PM

                      @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

                      N 1 Reply Last reply Aug 2, 2022, 5:00 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        10/16
                        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