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.

    How to schedule on off in magic mirror

    Scheduled Pinned Locked Moved Solved Troubleshooting
    8 Posts 2 Posters 1.2k Views 2 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.
    • 1 Offline
      1a2a3a
      last edited by

      Hi all

      Can I know what are the solution to schedule on off monitor for the magic mirror?
      I’m trying mmm remote control but it’s either I’m doing it wrongly or it doesn’t seems like it’s working.

      Appreciate any help please

      S 1 Reply Last reply Reply Quote 0
      • 1 Offline
        1a2a3a
        last edited by

        ill be damned. managed to get it to work using this after some searching

        Edit the “config.txt” in the “/boot” directory.

        Go to:

        “# Enable DRM VC4 V3D driver
        dtoverlay=vc4-kms-v3d
        max_framebuffers=2”

        And change “dtoverlay=vc4-kms-v3d” to “dtoverlay=vc4-fkms-v3d”.

        There is a bug in the “vc4-kms-v3d” driver.

        After changing in the “config.txt” “vcgencmd display_power 0” returns a “display_power=0”.

        1 Reply Last reply Reply Quote 1
        • S Away
          sdetweil @1a2a3a
          last edited by

          @1a2a3a what os version are you running
          do

          lsb_release -a
          uname -a
          

          on what device? pi3, 4?

          many os changes have caused different screen off functions to no longer work

          like
          tvservice is no more
          vcgencmd works on some
          xrandr works with xwindows, not with wayland
          cec-client works in my pi4, not my pi3
          there are new Wayland commands

          I don’t know what different modules support, many have not been updated in quite some time.

          there is no required commitment to maintain 3rd party modules. they are ‘as is’ in many cases. but open source for anyone to enhance

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 1 Reply Last reply Reply Quote 0
          • 1 Offline
            1a2a3a @sdetweil
            last edited by

            @sdetweil hello
            lsb_release -a returns -
            No LSB modules are available.
            Distributor ID: Raspbian
            Description: Raspbian GNU/Linux 11 (bullseye)
            Release: 11
            Codename: bullseye

            uname -a returns-
            Linux pi-mirror 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux

            raspberyy pi 3b+

            which one should i use and can you advise me on the code please?

            S 1 Reply Last reply Reply Quote 0
            • S Away
              sdetweil @1a2a3a
              last edited by

              @1a2a3a I do not know the answer

              you are running 32 bit bullseye.

              maybe someone else can help

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 1 Offline
                1a2a3a
                last edited by

                ill be damned. managed to get it to work using this after some searching

                Edit the “config.txt” in the “/boot” directory.

                Go to:

                “# Enable DRM VC4 V3D driver
                dtoverlay=vc4-kms-v3d
                max_framebuffers=2”

                And change “dtoverlay=vc4-kms-v3d” to “dtoverlay=vc4-fkms-v3d”.

                There is a bug in the “vc4-kms-v3d” driver.

                After changing in the “config.txt” “vcgencmd display_power 0” returns a “display_power=0”.

                1 Reply Last reply Reply Quote 1
                • 1 Offline
                  1a2a3a
                  last edited by

                  this doesnt seems to work on rpi5 bookworm…

                  1 Reply Last reply Reply Quote 0
                  • 1 Offline
                    1a2a3a
                    last edited by

                    @sdetweil

                    i have also check that wayland is enabled.

                    when i ssh from terminal it says fail to connect to display.

                    but when i type wlr-randr on the pi itself, it has result. but i didnt trigger the off because i have no idea how to turn it back on?

                    Also, this is my code in cron but it doesnt work as well…
                    52 17 * * * /usr/bin/wlr-randr --output HDMI-A-2 --on
                    51 17 * * * /usr/bin/wlr-randr --output HDMI-A-2 --off

                    S 1 Reply Last reply Reply Quote 0
                    • S Away
                      sdetweil @1a2a3a
                      last edited by

                      @1a2a3a sorry I don’t know xrandr.

                      you
                      might look at bugsounet mmm-screen. he worked on some Wayland stuff not long ago for this.

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      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