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

Need help on monitor power

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 5 Posters 1.1k 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.
  • A Offline
    adrian.k
    last edited by adrian.k Dec 22, 2020, 9:05 AM Dec 22, 2020, 9:04 AM

    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 Dec 22, 2020, 9:47 AM

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

      B 1 Reply Last reply Dec 23, 2020, 3:40 AM Reply Quote 1
      • B Offline
        bhepler Module Developer @ashishtank
        last edited by Dec 23, 2020, 3:40 AM

        @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 Dec 23, 2020, 9:41 AM Reply Quote 1
        • A Offline
          ashishtank Module Developer @bhepler
          last edited by Dec 23, 2020, 9:41 AM

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

          M 1 Reply Last reply Dec 23, 2020, 3:24 PM Reply Quote 0
          • M Offline
            mumblebaj Module Developer @ashishtank
            last edited by Dec 23, 2020, 3:24 PM

            @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

            A 1 Reply Last reply Dec 23, 2020, 3:57 PM Reply Quote 4
            • A Offline
              ashishtank Module Developer @mumblebaj
              last edited by Dec 23, 2020, 3:57 PM

              @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
              1 / 1
              • First post
                6/7
                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