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.

    MMM-Remote-Control

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 4 Posters 1.8k Views 4 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 Do not disturb
      sdetweil @Dennis-010
      last edited by

      @Dennis-010 sorry, don’t know what you mean ‘custom line’

      i don’t know if any of us know what to do yet… wayland right now is only setup on pi4… apparently there is a setting in raspiconfig to got back to x11…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        Dennis-010 @sdetweil
        last edited by

        @sdetweil said in MMM-Remote-Control:

        @Dennis-010 sorry, don’t know what you mean ‘custom line’

        Well, I started with:

        monitorOnCommand: "echo 'on 0.0.0.0' | cec-client -s -d 1",
        

        Then changd it to:

        monitorOnCommand: 'xrandr -d :0 --output HDMI-1 --auto',
        

        So I was wondering if there was a new “custom” line of code I can use. But u already said thast there might be no solution yet.

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @Dennis-010
          last edited by

          @Dennis-010 he had another post

          yeah ! just found for wayland 
          [3:58 PM]
          for turn on: pi@raspberrypi:~ $ WAYLAND_DISPLAY=wayland-1 wlr-randr --output HDMI-A-2 --on
          [3:58 PM]
          for turn off: pi@raspberrypi:~ $ WAYLAND_DISPLAY=wayland-1 wlr-randr --output HDMI-A-2 --off
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          ankonaskiff17A D 2 Replies Last reply Reply Quote 0
          • ankonaskiff17A Offline
            ankonaskiff17 @sdetweil
            last edited by

            @sdetweil Saw this and I maybe putting out old news because most people do
            sudo raspi-config and then hit enter. Saw some text that appear to type in
            sudo raspi-config nonint do_wayland <W1/W2> with

            W1 - Use the X11 backendWayland.jpg
            W2 - Use the Wayland backend

            1 Reply Last reply Reply Quote 0
            • D Offline
              Dennis-010 @sdetweil
              last edited by

              @sdetweil

              That line infortunatly did not do the trick.

              I used the revert option from @ankonaskiff17 to revert back to X11 and now the commands are working again.
              Only thing now is: when monitor turns back on it’s set back to landscape instead of 90 degrees right portrait.

              I remember seeing a fix for that somewhere, so I’ll be looking for that.

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                Jessendelft @Dennis-010
                last edited by Jessendelft

                @Dennis-010

                Thanks for figuring all of this out. I also reverted back to the X11 window driver.
                For completeness, just add --rotate right to the command:

                customCommand: {  // Optional, See "Using Custom Commands" below
                  monitorOnCommand: 'xrandr -d :0 --output HDMI-1 --auto --rotate right',
                  monitorOffCommand: 'xrandr -d :0 --output HDMI-1 --off'
                },
                
                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