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.
    • 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
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer
                    last edited by

                    I started thinking, "Why am I using page names like Page One, Page Two? Why not “Weather” for a page of weather modules? Or “Sports” for a page of sports modules? You get the idea. I hope. :-)

                    https://www.youtube.com/watch?v=Zsm_hi7XvM4&feature=youtu.be

                    Create a working config
                    How to add modules

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

                      @mdhenriksen Hi sorry for the late reply. Let me rephrase my question a bit. What I would like to do is just to have MMM-voice (With Lucy) work on one of the pages (From MMM-pages).

                      I got that to work however, the pages I created from MMM-voice(With Lucy) aren’t working. And when I included the specific modules, it shows up all the time and does not hide. Though it still response with MMM-voice (With Lucy)

                      So the problem is, how do I hide the specified modules at the start when magic mirror boot up?.

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

                        @xclasher-0 said in Hello-Lucy:

                        the pages I created from MMM-voice(With Lucy) aren’t working. And when I included the specific modules, it shows up all the time and does not hide. Though it still response with MMM-voice (With Lucy)
                        So the problem is, how do I hide the specified modules at the start when magic mirror boot up?.

                        I’m still not sure why you want to use some pages with MMM-pages and others with Hello-Lucy. However, unless there is some conflict with MMM-pages then we can assume you haven’t created your pages correctly in Hello-Lucy. The readme is explicit and should be followed precisely. When you have done it correctly, the only modules displayed at start up will be MMM-voice (and MMM-EasyPix if you are using the face.gif or another image)

                        Create a working config
                        How to add modules

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