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

MM current version on Raspberry Pi 5 cannot turn off monitor

Scheduled Pinned Locked Moved Solved Troubleshooting
53 Posts 9 Posters 24.8k Views 9 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 @jbat66
    last edited by Jan 4, 2024, 12:58 PM

    @jbat66 the mouse pointer should not show on the mm screen by default.

    the main.css sets cursor to display:none;

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    B 1 Reply Last reply Jan 4, 2024, 6:37 PM Reply Quote 0
    • B Offline
      BKeyport Module Developer @sdetweil
      last edited by Jan 4, 2024, 6:37 PM

      @sdetweil Should is the key word. Some bug somewhere is causing the system to come up background to various things - sometimes mouse is on screen, sometimes the pi menubar is in front of the window (rare, but does happen). I had to use unclutter to fix one, and hide the menubar to fix the other. I know it’s not us, so it’s not reported to MM github issue.

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

      1 Reply Last reply Reply Quote 0
      • B Offline
        BKeyport Module Developer @jbat66
        last edited by Jan 4, 2024, 6:43 PM

        @jbat66 not sure how much power the pi+power supply takes and if it would be worth it to shut it down overnight. Could rig a button to do a graceful shutdown, then use the power down button to shut down both the pi and the monitor. Interesting ideas here. Let me know what you come up with.

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

        S J 2 Replies Last reply Jan 4, 2024, 7:01 PM Reply Quote 0
        • S Offline
          sdetweil @BKeyport
          last edited by sdetweil Jan 4, 2024, 7:05 PM Jan 4, 2024, 7:01 PM

          @BKeyport i have been transitioning to Home Assistant for my home austomation platform.

          and interesting idea being described for integrating older devices, like washing machine, is to monitor the power consumption with a smart plug… (I don’t know which do that in the US)

          I wonder if the ps also has a lower consumption that can be measured and used as a trigger to turn off the smart switch when the power drops after pi shuts down…

          i’ll have to try to find one of these outlets
          maybe
          https://www.amazon.com/gp/product/B08TNF4835/ref=ox_sc_act_title_4?smid=ATVPDKIKX0DER&psc=1

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          J 1 Reply Last reply Jan 6, 2024, 4:12 PM Reply Quote 0
          • J Offline
            jbat66 @sdetweil
            last edited by Jan 6, 2024, 4:12 PM

            @sdetweil Get a Yo-Link Plug. They have an API, you get your API key from an advanced menu in their app. Their plugs do grab usage, I have not used the API to grab usage, just to turn on and off, and to get temperatures from their sensors. I then use the API in MM to display the temperatures.
            https://www.amazon.com/s?k=yolink+smart+plug
            The whole Yo-Link echo system is great for DIY folks in home automation.

            S 1 Reply Last reply Jan 6, 2024, 4:15 PM Reply Quote 0
            • S Offline
              sdetweil @jbat66
              last edited by Jan 6, 2024, 4:15 PM

              @jbat66 trying to find devices without host connections… get more/all local

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              J 2 Replies Last reply Jan 6, 2024, 4:19 PM Reply Quote 0
              • J Offline
                jbat66 @BKeyport
                last edited by Jan 6, 2024, 4:18 PM

                @BKeyport the physical Mirror’s Power supply is the only thing I plug in, and the PI gets its power from USB from the display, so no extra power source to monitor.

                I will probably just do a bash script to shut down the pi at some time say 10:00pm, then I will have Alexa shut down the mirror’s power (thus the pi as well) via a Yo-Link smart plug at 10:05pm. Then at sunrise via Amazon Alexa, I will just turn on mirror.

                I already do this for my RV Starlink, since I have cell modem as a backup, I can use the internet to turn on and off my internet. lol

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jbat66 @sdetweil
                  last edited by Jan 6, 2024, 4:19 PM

                  @sdetweil said in MM current version on Raspberry Pi 5 cannot turn off monitor:

                  @jbat66 trying to find devices without host connections… get more/all local

                  While the Yo-Link is great it is cloud and you can’t do local yet. They have been talking about it in their forums, however.

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jbat66 @sdetweil
                    last edited by Jan 6, 2024, 5:38 PM

                    @sdetweil
                    I looked it up and you can get power readings via the API.
                    http://doc.yosmart.com/docs/yolinkapi/Outlet

                    S 1 Reply Last reply Jan 6, 2024, 6:10 PM Reply Quote 0
                    • S Offline
                      sdetweil @jbat66
                      last edited by Jan 6, 2024, 6:10 PM

                      @jbat66 yeh gotta get a token for each I think

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      K 1 Reply Last reply Jan 6, 2024, 8:43 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 3 / 6
                      3 / 6
                      • First post
                        23/53
                        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