• 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.
  • 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
                • C Offline
                  cazz
                  last edited by Oct 16, 2019, 7:02 PM

                  mm yes, iPad 2 running on a old 9.3.5 version and that mean a old version of Safari and Chrome.
                  Firefox did not install, it was to old version of ios.

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