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.

    Scrolling rather than Carousel mode...

    Scheduled Pinned Locked Moved Unsolved Requests
    7 Posts 3 Posters 3.6k 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.
    • BKeyportB Offline
      BKeyport Module Developer
      last edited by

      I’d love to see a new module, based on MMM-Carousel’s ideas maybe, to take a series of modules in the same position, and scroll them up. I don’t have time to learn javascript to figure this out myself, but if someone could help me, it would be wonderful.

      basically, I’d like to keep modules in Top_center in a X*Y area, and then scroll the area upwards so to catch the remaining information from the modules.

      Currently, I have 4 copies of the same module (MMM-MyScoreboard) running, each configured to show one of the 4 sports I use that module for, and a copy of MMM-NFL in the same block, rotating between panes using MMM-Carousel’s positional feature.

      The problem with this, is that MyScoreboard hides sports that is off season or no games scheduled, so currently, it’ll show a big blank area for those copies. If I could dynamically scroll the position to the end MyScoreboard, then fade out and reset to top, it would be much better, IMO.

      Anyone want to take this on for me? Thanks!

      The "E" in "Javascript" stands for "Easy"

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @BKeyport
        last edited by

        @bkeyport

        Have you seen how well (or badly) a Pi handles scrolling?

        Create a working config
        How to add modules

        lavolp3L BKeyportB 2 Replies Last reply Reply Quote 0
        • lavolp3L Offline
          lavolp3 Module Developer @Mykle1
          last edited by

          @mykle1
          I wonder what exactly the problem is. The pi can handle videos with high quality formatting, it can handle games fluently to some degree so the Pi itself should be able to handle a scrolling element.
          Is it electron?
          Is it the javascript handling itself?
          Does anybody know?

          How to troubleshoot modules
          MMM-soccer v2, MMM-AVStock

          Mykle1M 1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @lavolp3
            last edited by

            @lavolp3 said in Scrolling rather than Carousel mode...:

            Is it electron?

            I would not be so bold as to say it is electron. However, electron has been the cause of high cpu usage in the past. About a year ago, and a few MM versions ago, there was a very active topic about this. As it turned out, electron was the culprit. I did quite a bit of testing versions back then, both MM and electron. I don’t have the heart to go through that again.

            As far as javascript handling is concerned, I haven’t a clue.

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • BKeyportB Offline
              BKeyport Module Developer @Mykle1
              last edited by

              @mykle1 Actually, I have not. I assume from what I see, it’s horizontal scrolling you’re talking about. But, it’s interesting all the less.

              The "E" in "Javascript" stands for "Easy"

              1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer
                last edited by Mykle1

                This is the topic I mentioned above from a year ago about the cpu usage and stuttering transitions (and heat issue, I think). It’s a lengthy topic but it does detail the testing and the determinations that were made.

                https://forum.magicmirror.builders/topic/4684/electron-cpu-usage/1

                Create a working config
                How to add modules

                BKeyportB 1 Reply Last reply Reply Quote 0
                • BKeyportB Offline
                  BKeyport Module Developer @Mykle1
                  last edited by

                  @mykle1 Ahh, I guess I’m one of the lucky ones. The one problem I had was an issue with RTSP-Stream locking up overnight. Fixed that by switching to ffmpeg from omxplayer.

                  Both boxes are currently running MMM-Carousel in positional mode.

                  The smaller screen one (uses the “pi touch screen” to the screen port) has one position alternating the two weather modules, world-clock with seconds running, calendar, and RTSP-Stream running ffmpeg mode nearly flawlessly (once in a while, it’ll slow the video).

                  The one I want the scrolling for uses MMM-Carousel now to switch out screens for MMM-NFL and MMM-MyScoreboard (2-3 copies so that the scoreboard don’t flow off the screen in my temporary install) - it also runs the default news app, calendar, MMM-Darksky, and the default clock.

                  Neither have any problems with existing animations, smooth as silk except for the previously mentioned ffmpeg issue.

                  The "E" in "Javascript" stands for "Easy"

                  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