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.

    MMM-EARTH - config options

    Scheduled Pinned Locked Moved Solved Troubleshooting
    11 Posts 3 Posters 5.3k 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @evroom
      last edited by

      @evroom

      Let me guess. You’re using a Pi. Those settings won’t work on a Pi. It simply cannot handle the animation. I don’t use Pi’s anymore, preferring laptop boards.

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • evroomE Offline
        evroom
        last edited by

        You are not allowed to guess anymore :-)
        Yes, I use a PI, I think most people use a PI to start with and then things get out of control (MagicModuleVirus).
        What starts with 4 MM modules, ends up with juggling a whole bunch of modules on a ‘tiny’ monitor (for me a 900x1600 resolution).

        MagicMirror version: 2.30.0
        Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
        Raspbian GNU/Linux 12 (bookworm)

        Test environment:
        MagicMirror version: v2.30.0
        Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
        Raspbian GNU/Linux 12 (bookworm)

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

          @evroom

          Exactly. However, in my case, with a laptop board i can have just about as many modules as I like loaded, using pages of modules to display via voice command. Those not displayed at the moment are suspended and I never run out of room. I just set up new pages.

          Create a working config
          How to add modules

          justjim1220J 1 Reply Last reply Reply Quote 0
          • justjim1220J Offline
            justjim1220 Module Developer @Mykle1
            last edited by

            @mykle1

            I am needing some assistance with setting up pages… cant seem to figure out what I’m doing wrong, keeps showing all the modules on the main page and it doesn’t change when I change the pages… maybe you could point me in the right direction???

            "Life's Too Short To Dance With Ugly People"
            Jim Hallock - 1995

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

              @justjim1220

              Are you referring to Hello-Lucy pages? If so, then this comes directly from the Hello_Lucy README.

              How to add Pages of modules

              At about line 443 in the new node helper of MMM-voice you’ll see this:

              /////////  Pages commands @ Mykle ///////////////////////////		
              		else if (/(SHOW)/g.test(data) && /(PAGE)/g.test(data) && /(ONE)/g.test(data)) {
                          this.sendSocketNotification('SHOW_PAGE_ONE');
                      } else if (/(HIDE)/g.test(data) && /(PAGE)/g.test(data) && /(ONE)/g.test(data)) {
                          this.sendSocketNotification('HIDE_PAGE_ONE');
                      }
              

              You have to add one of these for every page your create. Change the page numbers!

              At about line 116 in the new MMM-voice.js file you’ll need to add your sentence. In this case:

              'HIDE PAGE ONE',
              'SHOW PAGE ONE',
              

              Still in the new MMM-voice.js file at about line 370 you’ll need to add your set of modules for the page you just created. In this case, it looks like this:

              		 else if (notification === 'SHOW_PAGE_ONE') {
              			 this.sendNotification('HIDE_LUCY');
              			 this.sendNotification('SHOW_LOTTERY');
              			 this.sendNotification('SHOW_CLOCK');
              			 this.sendNotification('SHOW_EARTH');
              			 this.sendNotification('SHOW_LICE');
              			 this.sendNotification('SHOW_COWBOY');
              			 this.sendNotification('SHOW_TIDES');
              			 this.sendNotification('SHOW_VOICE');
              			 
              		 } else if (notification === 'HIDE_PAGE_ONE') {
              			 this.sendNotification('HIDE_LOTTERY');
              			 this.sendNotification('HIDE_CLOCK');
              			 this.sendNotification('HIDE_EARTH');
              			 this.sendNotification('HIDE_LICE');
              			 this.sendNotification('HIDE_COWBOY');
              			 this.sendNotification('HIDE_TIDES');
              			 this.sendNotification('HIDE_VOICE');
              			 
              		 }
              

              Create a working config
              How to add modules

              justjim1220J 1 Reply Last reply Reply Quote 0
              • justjim1220J Offline
                justjim1220 Module Developer @Mykle1
                last edited by

                @mykle1

                Actually, no, not for Lucy, That is well explained! :winking_face:

                I’m referring to the MMM-page-selector

                But I switched to MMM-pages which is way better explained and much easier to use!

                (Thanks @edward-shen for making it so easy and well explained!!! :winking_face: )

                "Life's Too Short To Dance With Ugly People"
                Jim Hallock - 1995

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