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

turn magic mirror black or fade dark

Scheduled Pinned Locked Moved Unsolved Troubleshooting
13 Posts 3 Posters 3.2k 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.
  • S Away
    sdetweil
    last edited by Oct 15, 2019, 1:28 PM

    this sounds interesting… i will play with making my MMM-Sleepwake detect device motion and hide all the modules on no motion after a timeout…

    and u have multiple iPads doing this at the same time? so i t run locally on each…

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • C Offline
      cazz
      last edited by Oct 15, 2019, 7:04 PM

      Thanks for the replay
      I going to try both, first with MMM-Sleepwake to see if it going to works like I want to.
      I going to use my Home Assistant that have a IR connected or even try with a timer to see how it works.

      S 1 Reply Last reply Oct 15, 2019, 7:36 PM Reply Quote 0
      • S Away
        sdetweil @cazz
        last edited by Oct 15, 2019, 7:36 PM

        @cazz SleepWake hides the remotes, but doesn’t know how to wake up…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • C Offline
          cazz
          last edited by cazz Oct 15, 2019, 8:03 PM Oct 15, 2019, 8:02 PM

          @sdetweil
          Hmm well I did try a little and add this code

          {
              module: 'MMM-SleepWake',
              delay:  15,               // default
              source: 'external',
              mode:  'HIDE',
          }
          

          and I was hopping it was going to turn black screen (when it hide clock, calender,JSONTable and backgroundslideshow) but nothing happend when I run this command on same server that have MM

          /home/{userid}/MagicMirror/modules/MMM-SleepWake/external_motion ended
          

          I have change the userid to the account I have on the server but I get no error at all so I guess I have miss something

          S 1 Reply Last reply Oct 15, 2019, 10:09 PM Reply Quote 0
          • S Away
            sdetweil @cazz
            last edited by Oct 15, 2019, 10:09 PM

            @cazz Ended means no more motion, so timer starts. And in 15 minutes will go to sleep.

            I will try in serveronly mode later tonight

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S 1 Reply Last reply Oct 16, 2019, 1:39 AM Reply Quote 0
            • S Away
              sdetweil @sdetweil
              last edited by sdetweil Oct 16, 2019, 2:55 AM Oct 16, 2019, 1:39 AM

              @cazz

              I set my server to serveronly and changed the timeout to 3 minutes for testing (from 5 normally)

              and all three clients went to sleep at the same time.

              now, the two mobile devices show the browser address line… not sure how to turn that off, cause that is a Kiosk mode value… there is an api to go to fullscreen mode, but it must be initiated by a user gesture… looking at how to get around that…

              haven’t got ipad to generate motion events yet…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • C Offline
                cazz
                last edited by Oct 16, 2019, 5:55 PM

                Hmm strange, at first I did not know that 15 mean in minute, was thinking it was secund. But I did change it and sett 1 in the deplay

                {
                    module: 'MMM-SleepWake',
                    delay:  1,
                    source: 'external',
                    mode:  'HIDE',
                }
                

                But it still show everything even after I run the command and wait 1 minute.
                maybe “hide” option does not work so good?

                S 1 Reply Last reply Oct 16, 2019, 6:00 PM Reply Quote 0
                • S Away
                  sdetweil @cazz
                  last edited by Oct 16, 2019, 6:00 PM

                  @cazz hm… works for me… just changed timeout to 3 from 5…

                  i fixed the doc to indicate minutes

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    cazz
                    last edited by cazz Oct 16, 2019, 6:42 PM Oct 16, 2019, 6:39 PM

                    I think I have found the problem and that is very strange problem
                    When I run in a brower on my computer it works but when I run on a iPad 2 it does not work and I Apple does not upgrade this version of machine anymore so I have to see what I can do.

                    S 1 Reply Last reply Oct 16, 2019, 6:49 PM Reply Quote 0
                    • S Away
                      sdetweil @cazz
                      last edited by Oct 16, 2019, 6:49 PM

                      @cazz weird… i am testing on iPad Air, MD789LL/B model right now, and installed 12.4.2 update this morning

                      I am using both safari and chrome to test, same results

                      on my iPad 2 i get create a config file… even tho it is working on iPad Air right next to it!

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        7/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