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 23.1k 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

      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
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @Mykle1
        last edited by Mykle1

        @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 Reply Quote 2
        • R Offline
          robmcc83 @Mykle1
          last edited by

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

          Mykle1M 1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @robmcc83
            last edited by

            @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

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

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                Jonae @Jonae
                last edited by

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

                karsten13K 1 Reply Last reply Reply Quote 0
                • karsten13K Offline
                  karsten13 @Jonae
                  last edited by

                  @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 Reply Quote 0
                  • J Offline
                    Jonae @karsten13
                    last edited by

                    @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 Reply Quote 0
                    • J Offline
                      Jonae @Jonae
                      last edited by

                      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