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.9k 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.
    • brobergB Offline
      broberg Project Sponsor @cazz
      last edited by

      @cazz use mmm-remote and one of the page/profile modules to just display a black background/empty page.

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

        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

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

            @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

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

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

                  @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

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

                      @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

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