Read the statement by Michael Teeuw here.
MMM-WeatherOrNot
-
@Mykle1 does the module rebuild the display or does it locate the dom elements and update those?
document.getElementbyId() … if so, you probably have duplicate IDs w 2 versions runningin my modules I use the module identifier as part of the item id to avoid this
this.identifer in the modulename.js
-
It’s an iframe that is being updated via the url
-
@Mykle1 is out for a smoke.
-
@Mykle1 iframe. gotcha
-
@Mykle1 hey hey. you didn’t tell me!
-
The hell I didn’t! My last post was a broadcast notification. :-)
-
I am experiencing the same issue.
-
@Mykle1 Well, glad to hear it isn’t related to my individual setup. If there’s anything I can help test, please let me know.
-
Would I need to edit the MMM-WeatherOrNot2.js and MMM-WeatherOrNot3.js code to somehow reference different iframes? Is there a different way to reference multiple iframes running on MM?
-
I tried that. No luck. If you wanted to try for yourself, do:
Make copy of module folder
Rename copy folder to MMM-WeatherOrNot2
Open the MMM-WeatherOrNot2 folder
Rename the css file to MMM-WeatherOrNot2,css
Rename the MMM_WeatherOrNot.js file to MMM-WeatherOrNot2,js
Open the MMM-WeatherOrNot2,js file
Change line 8 toModule.register("MMM-WeatherOrNot2",{
Change line 49return ["MMM-WeatherOrNot2.css"];
Make new entry in config for MMM-WeatherOrNot2