MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED turn magic mirror black or fade dark

    Troubleshooting
    3
    13
    1550
    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.
    • C
      cazz last edited by

      Hi
      I running Magic Mirror as server only and use two old iPad 2 to show my information.
      But is it possible to remote send info to the server to show black screen or fade very dark.

      Why I ask is because at night the iPad 2 works as a light and can light the entire room when the iPad is on.
      I do not think I can turn off iPad remote so my only option is to see if it is less bright when I have just a black screen.

      broberg 1 Reply Last reply Reply Quote 0
      • broberg
        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
          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

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • C
            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
              sdetweil @cazz last edited by

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

              Sam

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • C
                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
                  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

                  Create a working config
                  How to add modules

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    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

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • C
                      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
                        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

                        Create a working config
                        How to add modules

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy