Read the statement by Michael Teeuw here.
Add 3rd page to MMM-Pages
-
Hi All
Need some help
My Mirror use 2 pages at present
I tried added a 3rd Page , but then the Mirror dont load
This is my code, will appreciate advise{ module: 'MMM-pages', config: { rotationTime: 30000, rotationDelay: 30000, modules: [[ "MMM-HomeAssistant","calendar","newsfeed","MMM-Weather","Alerts","MMM-UpdateNotification","MMM-connection-status","MMM-NetworkConnection","MMM-GoogleTasks" ], [ "MMM-RTSPStream","MMM-NowPlayingOnSpotify","MMM-Tools","MMM-iFrame","MMM-WebView","MMM-TomTomTraffic"]], fixed: ["MMM-TelegramBot","MMM-PIR-Sensor","clock","MMM-Weather","MMM-page-indicator","MMM-Alexa","MMM-GoogleAssistant","MMM-Detector"], hiddenPages: { "screenSaver": ["clock"], "admin": [ , "MMM-Config", "MMM-pages" ], }, } },
-
@johanba please use the code wrapper for contents of config in posts
after pasting the text, mark it, and then push the button above the editor that looks like
</>
i will fix this time
-
@johanba said in Add 3rd page to MMM-Pages:
> modules: > [[ "MMM-HomeAssistant","calendar","newsfeed","MMM-Weather","Alerts","MMM-UpdateNotification","MMM-connection-status","MMM-NetworkConnection","MMM-GoogleTasks" ], > [ "MMM-RTSPStream","MMM-NowPlayingOnSpotify","MMM-Tools","MMM-iFrame","MMM-WebView","MMM-TomTomTraffic"]],
its best to separate things
modules: [ // page 1 [ "MMM-HomeAssistant","calendar","newsfeed","MMM-Weather","Alerts","MMM-UpdateNotification","MMM-connection-status","MMM-NetworkConnection","MMM-GoogleTasks" ], // note the comma, <- more to come // page 2 [ "MMM-RTSPStream","MMM-NowPlayingOnSpotify","MMM-Tools","MMM-iFrame","MMM-WebView","MMM-TomTomTraffic"] // page 3 ??? ],
-
@johanba As Sam mentioned, you only have 2 pages, fixed is not a page, it just fixes those selected modules to all the pages.
-
@mumblebaj he was having trouble adding the 3rd page
its the brackets around the page list that are not obvious, separating the data into page per line
with the enclosing brackets makes it much clearer (I hope) -
@sdetweil Noted, Thanks for the support
I am new to this an learning faster than expected -
@johanba no explanation necessary… we were all newbies and feel your pain!
-
@sdetweil I suspect I still have some issue
Below is my code
It does not add the 3rd Page, even the Page indicator only show 2 dots
What am I missing
Did I get the code past right this time :beaming_face_with_smiling_eyes:{ module: 'MMM-pages', config: { rotationTime: 30000, rotationDelay: 30000, modules: [ //Page 1 [ "calendar","newsfeed","MMM-Weather","Alerts","MMM-UpdateNotification","MMM-connection-status","MMM-NetworkConnection","MMM-GoogleTasks" ], //Page 2 [ "MMM-RTSPStream","MMM-NowPlayingOnSpotify","MMM-Tools","MMM-iFrame","MMM-WebView","MMM-TomTomTraffic"] //Page 3 ["MMM-HomeAssistant"] ], //Fixed Pages fixed: ["MMM-BackgroundSlideshow","MMM-TelegramBot","MMM-PIR-Sensor","clock","MMM-Weather","MMM-page-indicator","MMM-Alexa","MMM-GoogleAssistant","MMM-Detector"], //Hidden Pages hiddenPages: { "screenSaver": ["clock"], "admin": ["MMM-Config", "MMM-pages"], }, } },
-
@johanba said in Add 3rd page to MMM-Pages:
Did I get the code past right this time
no the begin code wrapper markers MUST be in column 1… they were after some spaces…
-
@johanba said in Add 3rd page to MMM-Pages:
[ "MMM-RTSPStream","MMM-NowPlayingOnSpotify","MMM-Tools","MMM-iFrame","MMM-WebView","MMM-TomTomTraffic"] // <<------ missing comma //Page 3 ["MMM-HomeAssistant"]
u missed my little note at the end of page 1 (that tricky trailing comma meaning ‘more to follow’