Read the statement by Michael Teeuw here.
Hello-Lucy
-
@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:
-
@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
-
@dazza120 It’s the small things that make the difference :grinning_face_with_smiling_eyes:
-
@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?
-
@dazza120 - Please use the Markdown features of the forum when posting code.
-
@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
-
@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.
-
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
-
@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?.
-
@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)