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.

    OrangePi Zero 2 installation issues

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    41 Posts 2 Posters 10.3k 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.
    • M Offline
      michelw @sdetweil
      last edited by

      @sdetweil

      Not sure what you are trying to say by pointing me to the 9to5 article. Is there something relevant in there i missed? :)

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

        @sdetweil

        I just played around with the DISPLAY parameter and when setting:

        michel@orangepizero2:~/MagicMirror$ export DISPLAY=:1
        michel@orangepizero2:~/MagicMirror$ npm start
        
        > magicmirror@2.17.1 start /home/michel/MagicMirror
        > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
        
        [11.12.2021 09:15.21.920] [LOG]   Starting MagicMirror: v2.17.1
        [11.12.2021 09:15.21.937] [LOG]   Loading config ...
        [11.12.2021 09:15.21.952] [LOG]   Loading module helpers ...
        [11.12.2021 09:15.21.957] [LOG]   No helper found for module: alert.
        [11.12.2021 09:15.21.994] [LOG]   Initializing new module helper ...
        [11.12.2021 09:15.21.998] [LOG]   Module helper loaded: updatenotification
        [11.12.2021 09:15.22.001] [LOG]   No helper found for module: clock.
        [11.12.2021 09:15.22.350] [LOG]   Initializing new module helper ...
        [11.12.2021 09:15.22.353] [LOG]   Module helper loaded: calendar
        [11.12.2021 09:15.22.355] [LOG]   No helper found for module: compliments.
        [11.12.2021 09:15.22.358] [LOG]   No helper found for module: weather.
        [11.12.2021 09:15.22.404] [LOG]   Initializing new module helper ...
        [11.12.2021 09:15.22.406] [LOG]   Module helper loaded: newsfeed
        [11.12.2021 09:15.22.408] [LOG]   All module helpers loaded.
        [11.12.2021 09:15.22.633] [LOG]   Starting server on port 8080 ... 
        [11.12.2021 09:15.22.669] [LOG]   Server started ...
        [11.12.2021 09:15.22.672] [LOG]   Connecting socket for: updatenotification
        [11.12.2021 09:15.22.676] [LOG]   Connecting socket for: calendar
        [11.12.2021 09:15.22.678] [LOG]   Starting node helper for: calendar
        [11.12.2021 09:15.22.680] [LOG]   Connecting socket for: newsfeed
        [11.12.2021 09:15.22.683] [LOG]   Starting node helper for: newsfeed
        [11.12.2021 09:15.22.685] [LOG]   Sockets connected & modules started ...
        [11.12.2021 09:15.23.736] [LOG]   Launching application.
        [11.12.2021 09:15.29.501] [LOG]   Create new calendarfetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
        [11.12.2021 09:15.29.593] [LOG]   Create new newsfetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
        [11.12.2021 09:15.29.661] [INFO]  Checking git for module: default
        [11.12.2021 09:15.31.393] [INFO]  Calendar-Fetcher: Broadcasting 10 events.
        [11.12.2021 09:15.31.553] [INFO]  Newsfeed-Fetcher: Broadcasting 58 items.
        
        

        I get the magic mirror in the VNC session (but not on the monitor)
        0f3dacac-c919-4a08-856e-849e5e76708b-image.png

        So this seems to be related to the output somehow.

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

          @michelw no, but I can try armbian on my pi now

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @michelw and when u are using vnc, the monitor is showing the desktop, right?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              michelw
              last edited by

              Ah right.

              I would like to thank you very much for all your help.

              Went looking for a second hand Raspberry PI 4B 1G today and found one. A little expensive but at least I have something more compatible now so I at least can get the magicmirror running :)

              Still willing to help out (testing) if you would like to make your script Orange Pi Zero 2 compatible. That might help others.

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

                @sdetweil said in OrangePi Zero 2 installation issues:

                @michelw and when u are using vnc, the monitor is showing the desktop, right?

                Yes, that is correct.

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

                  @michelw it’s not the script, it’s the assumption by the mm startup, defined in package.json), that DISPLAY needs to be :0 if not already set.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    which image did u try?

                    debian or Ubuntu?

                    Screenshot_20211211-073033_Chrome.jpg

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      michelw
                      last edited by

                      I tried all of them, the latest I tried was : Orangepizero2_2.1.6_debian_buster_desktop_linux4.9.170.img

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

                        @michelw installed XFCE desktop armbian on pi4(4gb)…

                        opened terminal on desktop, see
                        DISPLAY=:0.0

                        installing MM now

                        DISPLAY not set on ssh session

                        SLOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOW!

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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