Read the statement by Michael Teeuw here.
MMM-WeatherOrNot
-
@Mykle1 Sure… my mileage may vary… completely understood.
Yes, I’ve configured them with three different sets of location and locationCode information.
I wondered about staggering the updateInterval, so I’ll try that next.
Thanks!
-
-
@Mykle1 Thanks for all the help! I love the module… just wish I could figure out why the information goes stale.
-
@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 -
@Mykle1 said in MMM-WeatherOrNot:
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-WeatherOrNot2Yes, unfortunately, I had the same result. Is there a way to create an array and display all of the configured locations?
-
You could always give it a try. :-)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
