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.

    Hello-Lucy

    Scheduled Pinned Locked Moved Fun & Games
    285 Posts 27 Posters 610.0k Views 27 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 @mdhenriksen
      last edited by

      @mdhenriksen said in Hello-Lucy:

      You can make MMM-pages and MMM-voice switch between specific pages with very minors tweaks.

      Well, sure you can, but he didn’t mention wanting, or being able to do any modifications

      Create a working config
      How to add modules

      M X 2 Replies Last reply Reply Quote 1
      • M Offline
        mdhenriksen @Mykle1
        last edited by

        @mykle1 You’re right, guess I was too fast ;-)

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          dazza120 @mdhenriksen
          last edited by

          @mdhenriksen this is my config file so far for pages not sure how I add a third page any ideas

          {
          module: ‘MMM-pages’,
          config: {
          modules:
          [[ “MMM-NOAA3”, “clock”, “MMM-NetworkConnection”, “mmm-hue-lights”, “mmm-nest-status”, “calendar”, “mmm-systemtemperature”, “compliments”, “newsfeed”],
          [ “MMM-GoogleMapsTraffic” ]],
          excludes: [“MMM-page-indicator”],
          }
          },

          bheplerB 1 Reply Last reply Reply Quote 0
          • M Offline
            mdhenriksen @dazza120
            last edited by

            @dazza120 said in Hello-Lucy:

            @mdhenriksen works a treat but I don’t know how to make a third page. Not sure what I’ll put on it? But I’m sure I’ll find something to install if I figure out how to add more pages it’s stuck on two at the mo 😢

            Hey Dazza!

            It’s pretty easy actually. Now first you should install MMM-page-indicator as well. That makes it easier to see what page you are on.

            Making several pages:

            {
                   module: 'MMM-pages',
                   config: {
                   modules:
                               	[[ "weatherforecast", "newsfeed", "compliments"],
                                 	[ "calendar", "compliments", "calendar2"], ["MMM-CalendarWeek"]],
                            	excludes: ["clock", "currentweather", "MMM-page-indicator", "MMM-voice"],
                    	}
                		},
            

            The pages are made in an 2D-array, which is basically a line of elements separated by the brackets “[” and “]”.

            Your array starts at the double bracket, “[[” right before “weatherforecast” and ends at the “]]” right after “MMM-CalendarWeek”. Inside the array the pages are separated by one bracket.

            So this is a page: (remember the comma at the end)

            [ "weatherforecast", "newsfeed", "compliments"],         
            

            And this is a page:

            [ "calendar", "compliments", "calendar2"],
            

            And lastly this is a page as well:

            ["MMM-CalendarWeek"]
            

            Remember that the array is zero-based which means that the first page will be number 0. The second will be number 1 and the third will be number 2.

            Hope it helps! :grinning_face_with_smiling_eyes:

            D 1 Reply Last reply Reply Quote 1
            • D Offline
              dazza120 @mdhenriksen
              last edited by

              @mdhenriksen had the page indicator already but I was being a muppet, I didn’t recognise ]] as a closing part for that module, Thank you very much three pages now lol

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                mdhenriksen @dazza120
                last edited by

                @dazza120 It’s the small things that make the difference :grinning_face_with_smiling_eyes:

                1 Reply Last reply Reply Quote 1
                • X Offline
                  Xclasher 0 @Mykle1
                  last edited by

                  @mykle1 Thanks :D I have tested out the integration of both modules. However, I have modified the MMM-voice to have pages in it as stated in the Hello-Lucy documentation. The modules I have included in the MMM-voice pages does not hide when I go to the specific page of the MMM-pages where the MMM-voice is. Any idea how i can hide the modules?

                  Mykle1M M 2 Replies Last reply Reply Quote 0
                  • bheplerB Offline
                    bhepler Module Developer @dazza120
                    last edited by

                    @dazza120 - Please use the Markdown features of the forum when posting code.

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

                      @xclasher-0 said in Hello-Lucy:

                      The modules I have included in the MMM-voice pages does not hide when I go to the specific page of the MMM-pages where the MMM-voice is

                      This is a bit confusing. You’re using MMM- voice with Hello-Lucy AND MMM-pages? My guide on the Hello-Lucy repo is quite easy to follow but I can still help with that. If you’re trying to integrate MMM-pages with that as well then I can’t help you. MMM-pages is not my module. I’ve never used it. You would likely have to modify MMM-voice and MMM-pages

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        mdhenriksen @Xclasher 0
                        last edited by

                        @xclasher-0 said in Hello-Lucy:

                        The modules I have included in the MMM-voice pages does not hide when I go to the specific page of the MMM-pages where the MMM-voice is. Any idea how i can hide the modules?

                        Hey there! I’m not 100% what you mean, but you can easily hide modules in MMM-pages. The ones that keep showing up might be in your “exclude” section of MMM-pages in your config.js. Anything in “exclude” will show up on every page you have, so you have to remove the modules from that.

                        X 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 13
                        • 14
                        • 15
                        • 16
                        • 17
                        • 28
                        • 29
                        • 15 / 29
                        • 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