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.

    How to hide desktop screen when raspberry turned on?

    Scheduled Pinned Locked Moved Troubleshooting
    11 Posts 4 Posters 5.3k Views 4 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 Offline
      sdetweil @bretonesf
      last edited by

      @bretonesf said in How to hide desktop screen when raspberry turned on?:

      Now when the raspberry boots up, The screen remains fully black until MM starts and all the modules are loaded, except one white flashing screen at the startup of MM, I don’t know why.

      its a bug in Electron browser, long talked about but not solved. MM sets its background to black before opening the page

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • B Offline
        bretonesf
        last edited by

        @sdetweil good to know, thanks for the tip.

        According to you, the 50s I’m talking about is ok or long?

        bheplerB 1 Reply Last reply Reply Quote 0
        • bheplerB Offline
          bhepler Module Developer @bretonesf
          last edited by

          @bretonesf - That’s about right for a RPi 3B+.

          1 Reply Last reply Reply Quote 0
          • B Offline
            bretonesf
            last edited by

            @bhepler - Nice, thank you.

            1 Reply Last reply Reply Quote 0
            • BKeyportB Offline
              BKeyport Module Developer
              last edited by

              FWIW, there’s lots of modules available for turning off/blanking the screen when not needed - that way you can leave the pi running (at minimal power use) and just have the screen turn off and on with a sensor or button…

              The "E" in "Javascript" stands for "Easy"

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

                @BKeyport or webcam in my case

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                BKeyportB 1 Reply Last reply Reply Quote 0
                • BKeyportB Offline
                  BKeyport Module Developer @sdetweil
                  last edited by

                  @sdetweil I’d put that under “sensor” – but how do you do that?

                  The "E" in "Javascript" stands for "Easy"

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

                    @BKeyport i didn’t want to program for every webcam out there, so I found a system level library that does it

                    the motion project… it can do all kinds of video/pics on motion…
                    https://github.com/Motion-Project/motion

                    but it also can call a script/program when motion starts/ends… so I wrote a MM screensaver module that watches for the events from the external motion module… now my TV’s don’t support any cool way to turn off the display, so I hide all the modules… and show later on motion…
                    https://github.com/sdetweil/MMM-SleepWake
                    (and I use this same approach on a different smart-mirror that I found before MM)…

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