Read the statement by Michael Teeuw here.
Not all Modules are displaying on the tv
-
@sdetweil said in Not all Modules are displaying on the tv:
if you use MMM-Pages, every module must be described on some page, or in the fixed list (fixed means every page)
o.k. and how do i this with the describe?? Sorry, but can you give an example please with my config.js with MM-Traffic
-
@kusselin This is an example of mine.
Modules are either on Page1 or Page 2 and then I have modules (fixed) that display on all pages.
-
and this is mine:
{ module: "MMM-pages", disabled: false, config: { modules: [[ "MMM-SoccerLiveScore" ], [ "MMM-NowPlayingOnSpotify" ], [ "MMM-COVID19-AMPEL" , "MMM-Traffic" ], [ "MMM-Formula1" , "MMM-Spotify" ], [ "MMM-Globe" , "MMM-Spotify" ], [ "MMM-PublicTransportHafas" , "MMM-Spotify" ], [ "MMM-Worldclock" , "MMM-Spotify" ]], fixed: [ "clock" , "MMM-OpenmapWeather" , "weatherforecast" , "MMM-PublicTransportHafas" , "newsfeed" , "calendar" , "MMM-Fuel", "MMM-Tankerkoenig" , "MMM-ioBroker" ], rotationTime: 60000, animationTime: 0, } },
but what is there wromg?
-
@kusselin Have you tried running the module without the extra config? animationTime has default value of 0, disabled you probably don’t need to set and the rotationTime you probably don’t need to set for now.
-
@mumblebaj said in Not all Modules are displaying on the tv:
Have you tried running the module without the extra config? animationTime has default value of 0, disabled you probably don’t need to set and the rotationTime you probably don’t need to set for now.
If I take out rotation time and duration time nothing happens either :-( traffic is not displayed although it is fixed … I don’t know what to do now … it’s strange …
've actually already stuck that with pages … fixed modules are always there and the others are then faded in!
-
@kusselin You are rotating the pages every 60 seconds? Correct? From what I understand, ever time the pages rotate a call is done to get data which would be true in the case of mmm-traffic. It could be that by the time the module get it’s data that the rotation has happened and then it does not display? I may be wrong. I don’t use the module myself.
-
I have now taken the code for my MMM-pages out of the config.js - strange then everything works! then traffic is displayed … so it is due to the MMM-pages module …
Question: Can the mmm-pages code be at the very end of the config.js or does it have to be at the beginning?
Question 2: the mmm-pages code from me is correct, right?
I have already set the time to 120,000, there too no traffic and current weather is displayed! :-( I’m with my Latain at the end :-(
-
@kusselin said in Not all Modules are displaying on the tv:
I have already set the time to 120,000
what is the time value increment, seconds or milliseconds? if milliseconds, that 120,000 is just 2 minutes
-
exactly … milliseconds and two minutes should be long for a switch …
as I said, even if I take out the duration time it doesn’t work with traffic and the weather module :-(
I take the complete mmm-pages code out of the config, then everything works!
-
@sdetweil I have had a look and I see the following:
Will not show MMM-Traffic. LockStrings active: module_7_MMM-pages
I assume this is why the MMM-Traffic is not showing when used in MMM-Pages? I have added the modules on my test machine and I can’t get the module to show either. I see that the above error comes from the main.js of MM. maybe you can shed more light on the issue for @kusselin