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.

    Need help on monitor power

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 5 Posters 1.5k Views 5 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
      shalumov
      last edited by shalumov

      Very exited about my first MagicMirror!

      I have a question about powering my monitor … tried searching the Forum but was not able to find any similar question:

      My monitor have a power button, and if monitor is unplugged I need to turn it on using that button or TV remote. I wanted to find out if it is possible to turn monitor on once it is plugged in (without using the On/Off switch - see picture below).

      ![0_1608621663607_Monitor3.gif](Uploading 100%)

      I am planning to add a power strip with 2 outlets inside and add a switch on the outside of the mirror to turn on both Monitor and RaspberryPi together - so the switch on the monitor will not be needed.

      Any helpful links with the similar problem would be welcome.

      Thanks in advance for your help!

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        adrian.k
        last edited by adrian.k

        Hi!
        I have used a multiple outlet power strip that is hidden inside my mirror. Im also using a TP-link smartplug to control the power strip, so its automatically turns on my RP4 and monitor.

        This works fantastic, as I am only using my monitor in the morning and in the evening after work. I have made a schedule to turn on/off the mirror for each day in the app.

        0000211_tp-link-smart-plug_550.jpeg

        1 Reply Last reply Reply Quote 0
        • A Offline
          ashishtank Module Developer @shalumov
          last edited by

          @shalumov Powering off the raspberry pi directly from power strip is not recommended as it might corrupt the SD card. Your monitor is not switching on after powering on but stays in stand by can be solved using Raspberry pi itself. check Remote-control or other modules/scripts in this forum who supports it. If you monitor support CEC or other standard then it is doable with raspberry pi and you do not need to use Monitor/TV remote or button.

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

            @ashishtank - It has been my experience that shutting off the power without shutting down the Pi will corrupt the SD card after about 18 months of daily hard shutoffs. Rebuilding the SD card with a backup config is about a 45 minute process by this point, most of it just waiting for the npm install routine to finish.

            I have a lot of Pi laying about due to work, so I usually have 3-6 unconfigured Buster installations on SD cards on my desk. Run the installation script, copy the config.js file from backup, do a whole bunch of git clone commands and I’m off & running again. SD cards are cheap. Easy enough to have a spare card for the mirror ready to go.

            (If you were really paranoid, you could have the spare SD card taped to the inside of your mirror. Corrupted card? Shutdown, swap, boot. Rebuild corrupted card during your spare time)

            A 1 Reply Last reply Reply Quote 1
            • A Offline
              ashishtank Module Developer @bhepler
              last edited by

              @bhepler Thanks for sharing your experience, I also did sometimes pulled the plug but I prefer not to do this as later on I might need to correct the things like you said. Also being a programmer if I can automate something then won’t do it manually so I prefer to schedule a shutdown/Restart by software or hardware :) Which will also save power and SD card and manual efforts.

              mumblebajM 1 Reply Last reply Reply Quote 0
              • mumblebajM Offline
                mumblebaj Module Developer @ashishtank
                last edited by

                @ashishtank I use MMM-Networkscanner and control my screen via that. If it does not detect my device residents then it powers the monitor off and when the device is detected on the network then it powers the monitor on. That way when I go out it powers the monitor off automatically and powers it on when I am back home.

                Check out my modules at: https://github.com/mumblebaj?tab=repositories
                Check my blog-post: https://mumblebaj.xyz/

                A 1 Reply Last reply Reply Quote 4
                • A Offline
                  ashishtank Module Developer @mumblebaj
                  last edited by

                  @mumblebaj Yes, there are many techniques to do this. If you also want to shutdown the Raspberry Pi then you can schedule it and using hardware plug like @adrian-k mentioned power on the Pi again.

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