Read the statement by Michael Teeuw here.
MMM-EARTH - config options
-
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). -
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.
-
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???
-
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'); }
-
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: )