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.

    4 inch RPi LCD displaying MM not working

    Scheduled Pinned Locked Moved Hardware
    23 Posts 3 Posters 5.5k Views 3 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
      aecandroid @sdetweil
      last edited by

      @sdetweil thank you for your help.

      I’ve checked my mm.sh file and it reads as follows. Not sure where to go from here?

      
      cd ~/MagicMirror
      node serveronly &
      sleep 30
      xinit /home/pi/chromium_start.sh
      
      
      S 2 Replies Last reply Reply Quote 0
      • A Offline
        aecandroid @sdetweil
        last edited by

        @sdetweil thank you for your help.

        I’ve checked my mm.sh file and it reads as follows. Not sure where to go from here?

        
        cd ~/MagicMirror
        node serveronly &
        sleep 30
        xinit /home/pi/chromium_start.sh
        
        
        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @aecandroid
          last edited by

          @aecandroid look at that /home/pi/chromium_start.sh

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil I did, sorry, should’ve mentioned.

            This is the code:

            
            /bin/sh
            unclutter &
            xset -dpms # disable DPMS (Energy Star) features.
            xset s off # disable screen saver
            xset s noblank # don’t blank the video device
            matchbox-window-manager &
            #midori -e Fullscreen -a http://localhost:8080
            chromium-browser --incognito --kiosk http://localhost:8080/
            
            
            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @aecandroid
              last edited by

              @aecandroid what version are you running? none of that is current…

              use my installer script, it handles piw -4, odroid, jetson nano, any unix variant.

              see the readme here

              https://github.com/sdetweil/MagicMirror_scripts

              it will setup to launch chrome against serveronly exactly as it appears you have done…

              oh, you need raspian buster… jessie and stretch are too old now

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil Thanks for the help. I tried to start over from fresh. I’ve installed buster lite and completed a fresh install of MM and followed the bash -c "$(curl -sL… commands listed. I still am not having any luck getting MagicMirror working on the 4 inch display. Everything is fine right up until I do the Waveshare driver install and then do ./LCD4-show. Once I do that, I can see the device reboot, the HDMI no longer works and on the small LCD, I see the command prompt boot to pi@raspberrypi:~ $. From this point, I can no longer get MagicMirror to run, even if I try to run ./LCD-hdmi, MM does not start working again with HDMI. Something with the install of the Waveshare drivers is killing MM. I am genuinely at a loss.

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

                  @aecandroid can’t be lite… needs to be the graphical version…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @sdetweil in the immortal words of Homer J. Simpson - Doh! I’ll have to give this a try later this evening. Is there any reason the GUI version will work and the lite won’t with the small LCD?

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

                      @aecandroid u MUST HAVE the gui version for electron to run, or chromium

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @sdetweil Right, so before I get ahead of myself and balls it up again. I have just installed Raspbian Buster Full 2020-02-13 image and going through the initial setup on my Pi Zero W. Should I do the Waveshare drivers for the 4 inch LCD first and then do the MM scripts on your github? Or should I run your scripts first, configure my MM, then do the Waveshare driver?

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