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.

    MagicMirror stays black, but loading from another browser (Windows, Android) works

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    16 Posts 5 Posters 6.4k 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.
    • A Offline
      abetterway @AnduriI
      last edited by

      @andurii, I have no idea then. It worked perfectly for me. I’ll have to take a look at my configuration and let you know. I am currently traveling so I can’t look at the moment.

      1 Reply Last reply Reply Quote 0
      • SnilleS Offline
        Snille Module Developer @AnduriI
        last edited by Snille

        @andurii Hmm… Sounds like your monitor has gone to standby.
        Login via SSH:

        Make a sh file named: monitor.sh

        Add the flowing to the file:

        #!/bin/bash
        
        if [ "$1" == 'on' ]; then
          tvservice -p;
          chvt 6;
          chvt 7;
        fi
        
        if [ "$1" == 'off' ]; then
          tvservice -o
        fi
        

        Then make it executable with: chmod +x monitor.sh
        Turn on them monitor it like this: ./monitor.sh on
        Turn it off like this: ./monitor.sh off

        And of course, make sure you are on the correct input to actually see the Pi… :)

        That should “turn on” (or off) the screen from SSH. :)

        If you cant find it, make it and share it!
        Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

        1 Reply Last reply Reply Quote 0
        • A Offline
          AnduriI
          last edited by

          trying your script or chvt 6 [or 7] manually does result in this error:

          Konnte keinen Dateideskriptor finden, der auf die Konsole verweist.
          

          The monitor is turning on correctly and I can see the background dark grey in the mirror, but it simply does not show the mirror. Maybe it somehow has multiple desktops defined and just showing the wrong on hdmi output…

          SnilleS 1 Reply Last reply Reply Quote 0
          • idoodlerI Offline
            idoodler Module Developer @AnduriI
            last edited by

            @andurii Yep, that definetly sounds like your monitor just went sleeping.

            1 Reply Last reply Reply Quote 0
            • SnilleS Offline
              Snille Module Developer @AnduriI
              last edited by Snille

              @andurii I get the same error message “Couldn’t get a file descriptor referring to the console” but the monitor turn on… :)

              I have tow desktops as well, the Mirror shows up on one of them… I can use (in VNC) CTRL + ALT + Right or Left arrow key to switch between virtual desktops.

              If you cant find it, make it and share it!
              Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

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

                that only works for PI devices where tvservice command exists… I run MM on an ODROID so, that doesn’t help…

                I also use an EnergyStar TV, which freaks out when the video input signal is cut and then powers off after 15 minutes…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • A Offline
                  AnduriI
                  last edited by

                  I did use CTRL + ALT + RIGHT or LEFT, but that didn’t helped either. Only change was that in the middle of the VNC-session was a small blue notification saying Desktop 1 so I suppose I have only one virtual desktop active.

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    AnduriI
                    last edited by

                    well something strange I noticed… (don’t know if that’s related)
                    My Desktop used to be PIXEL I think (this nice road wallpaper and menu bars at the top. Now it looks like it is running Openbox. I don’t know how this happened, but it was not intended by me. Was that changed in the newest version because of my upgrades?

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