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.

    optimize modules during days

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    11 Posts 3 Posters 2.2k 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.
    • C Offline
      chassain 0
      last edited by

      i have a raspberry pi4 since 2 days on replace raspberry pi3…i have a lot of modules with MMM-pages…videos, meteo,images,default modules,spotify…
      How can i optimize display without bug (slow display)? what’s the perfect size of memory split? (128 now) i’m using crontab -e to reduce default (pm2 stop and restart in half day)…thanks

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

        :)

        module: "MMM-pages",
        			disabled: false,
                		config: {
                        		modules:
        				[[ "MMM-EmbedYoutube" , "MMM-EyeCandy" , "newsfeed" ],
        				[ "helloworld" , "MMM-ImagesPhotos" , "MMM-ImagesPhotos2" , "newsfeed" , "helloworld2" ],
        				[ "MMM-iFrameReload" , "MMM-EyeCandy" , "newsfeed" ],
        				[ "helloworld" , "MMM-ImagesPhotos" , "newsfeed" ],
        				[ 'MMM-Lunartic' , "MMM-DarkSkyForecast" , "MMM-EARTH" , 'MMM-rfacts' ,  "MMM-NowPlayingOnSpotify" , "newsfeed" ],
        				[ "helloworld" , "MMM-ImagesPhotos" , "newsfeed" ],
        				[ "MMM-EmbedYoutube" , "MMM-EyeCandy" , "newsfeed" ],
        				[ "helloworld" , "MMM-ImagesPhotos" , "newsfeed" ],
        				[ "MMM-iFrameReload" , "MMM-EyeCandy" , "newsfeed" ],
        				[ "helloworld" , "MMM-ImagesPhotos" , "newsfeed" ],
        				[ "clock" , "calendar", "calendar_monthly" , "MMM-cryptocurrency" , "MMM-EyeCandy" , "newsfeed" ],
        				[ "helloworld" , "MMM-ImagesPhotos" , "newsfeed" ],
        				[ "MMM-EmbedYoutube" , "MMM-EyeCandy" , "newsfeed" ],
        				[ "helloworld" , "MMM-ImagesPhotos" , "newsfeed" ],
        				[ "MMM-iFrameReload" , "MMM-EyeCandy" , "newsfeed" ],
        				[ "helloworld" , "MMM-ImagesPhotos" , "newsfeed" ],
        				[ 'MMM-SoccerLiveScore' , "MMM-Cocktails" , 'MMM-MovieListings' , "newsfeed" , 'MMM-SystemStats' ],
        				[ "helloworld" , "MMM-ImagesPhotos" , "newsfeed" ]],
                			rotationTime: 15000,
        				}
        
        S ? 2 Replies Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @chassain 0
          last edited by sdetweil

          @chassain-0 sorry, I do not understand what you are asking…

          also, can you use the markdown syntax, put a code block around your config post (mark the text and press the code icon in the editor

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • C Offline
            chassain 0
            last edited by

            Sorry my english is bad…and school was so far 😁…for resume, you can see the differents modules used in my config.js…i have a magicmirror without mirror…the memory gpu is 128 M (with sudo raspi-config) but i have some slowly in a day…then, i use on a terminal “crontab -e” to restart mm at different moment…and it s ok !..but may be there is more parameters about raspberry pi 4 to work fine…

            1 Reply Last reply Reply Quote 0
            • C Offline
              chassain 0
              last edited by

              Cpu…not gpu

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

                @chassain-0 hmm… 128meg memory? i don’t think so… pi 4 has 1 2 or 4 gig

                lets check for swap space enabled

                free -m
                

                might show something like

                              total        used        free      shared  buff/cache   available
                Mem:           1994         631          50         523        1313         785
                Swap:          2047         224        1823
                

                if no swap space, do , see here
                https://wpitchoune.net/tricks/raspberry_pi3_increase_swap_size.html

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • C Offline
                  chassain 0
                  last edited by

                  Sorry but i speak about option 7 “advanced options” / A3 " memory split" / how much memory should the gpu have : 128 choose /…is it correct to have no slowly with vidéos & photos modules ? I have raspberry pi 4 with 4G memory

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

                    @chassain-0

                    i don’t know when the GPU is used, but not very much if at all by MagicMirror
                    maybe video encoding/decoding…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @sdetweil thanks

                      1 Reply Last reply Reply Quote 0
                      • ? Offline
                        A Former User @chassain 0
                        last edited by

                        @chassain-0
                        Why do you use so many duplicated pages? I can’t understand what you want.

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          chassain 0
                          last edited by

                          Hello sean
                          It’s just a magicmirror wit no mirror… i duplicate pages because i don’t know change the timer for only one page. this config is just to play and see the result along a day…i had some slowly displays after 10 hours. I play with crontab to refresh modules and it’s correct now…i play too with trigger cmd (and alexa echo) to start mm or stop mm…it’s really funny !!! and i just wanted to know the best configuration for my raspi 4 to work fine

                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • 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