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

Want to turn off my monitor

Scheduled Pinned Locked Moved Troubleshooting
monitorpower-saving
27 Posts 9 Posters 20.6k Views 7 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.
  • R Offline
    robmcc83
    last edited by Jan 20, 2018, 6:25 PM

    That’s brill your a legend, got a few hours to myself tomorrow so armed with all this information and sure be giving this a try see what the outcome is.
    Thank you so much :)

    1 Reply Last reply Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @Mykle1
      last edited by Mykle1 Jan 21, 2018, 1:56 AM Jan 21, 2018, 1:03 AM

      @Mykle1 said in Want to turn off my monitor:

      { exec(‘xset dpms force on’, null); }
      { exec(‘xset dpms force off’, null); }

      These commands do work. I just tested them on my desktop machine with a monitor connected through DVI and a laptop. Displays are immediately turned off (standby) and on. Here’s the laptop.

      https://youtu.be/3ldlUPkw2nM

      Create a working config
      How to add modules

      R 1 Reply Last reply Jan 21, 2018, 4:06 PM Reply Quote 2
      • R Offline
        robmcc83 @Mykle1
        last edited by Jan 21, 2018, 4:06 PM

        @Mykle1 that’s cool as :) what are you using for the voice command I love that its brill.

        M 1 Reply Last reply Jan 21, 2018, 5:02 PM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @robmcc83
          last edited by Jan 21, 2018, 5:02 PM

          @robmcc83 said in Want to turn off my monitor:

          that’s cool as :) what are you using for the voice command I love that its brill.

          https://github.com/mykle1/Hello-Lucy

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 1
          • J Offline
            Jonae @cruunnerr
            last edited by Jul 26, 2023, 9:14 PM

            @cruunnerr i made your tutorial, works like charm! only problem i found is: replaced print “.”, with: print (“.”), Thenks!

            J 1 Reply Last reply Aug 18, 2023, 3:32 PM Reply Quote 0
            • J Offline
              Jonae @Jonae
              last edited by Aug 18, 2023, 3:32 PM

              @Jonae
              i encounterd another problem, sometimes after display goes ON the resolution is changed. any ideas why?

              K 1 Reply Last reply Aug 18, 2023, 5:13 PM Reply Quote 0
              • K Offline
                karsten13 @Jonae
                last edited by Aug 18, 2023, 5:13 PM

                @Jonae

                I had similar problems using xrandr for disabling/enabling the monitor.

                We did a fix in mm for the above problem (coming with next release) but I don’t know if this fixes your problem too.

                You can find the fix in this PR.

                J 1 Reply Last reply Aug 20, 2023, 5:19 AM Reply Quote 0
                • J Offline
                  Jonae @karsten13
                  last edited by Aug 20, 2023, 5:19 AM

                  @karsten13 said in Want to turn off my monitor:

                  @Jonae

                  I had similar problems using xrandr for disabling/enabling the monitor.

                  We did a fix in mm for the above problem (coming with next release) but I don’t know if this fixes your problem too.

                  You can find the fix in this PR.

                  Thank you, i updated the file, hope for the best :)

                  J 1 Reply Last reply Aug 27, 2023, 5:30 AM Reply Quote 0
                  • J Offline
                    Jonae @Jonae
                    last edited by Aug 27, 2023, 5:30 AM

                    so far so good, no problems. so i can call it a fix for me.

                    Thanks

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