Read the statement by Michael Teeuw here.
Best posts made by Mykle1
-
RE: Problems With Weather
Correction, the module loads eventually but with only one day of weather, today.
-
RE: First Attempt, Still a work in progress
@jonspraggins said in First Attempt, Still a work in progress:
Tweaked the compliments module to display “Good F’in Design Advice”.
Mine is mostly insults. Funny as all hell. :-)
Nice work. :thumbsup:
-
RE: Problems With Weather
I’m done for the night, mate. I would suggest you double check your appid at openweather. copy and paste it into your config entry for weatherforecast and make sure it is in quotes.
Perhaps someone else will continue to help you tonight.
Good luck
-
RE: My First Mirror
@dazza120 said in Nearly there at last,Yes!:
Good job on the mirror. Feels good, doesn’t it? :thumbsup:
Resizing pics is killing the pic quality
Use high resolution/quality images, especially if you are resizing larger. Resizing smaller shouldn’t be a problem.
-
RE: Cached pictures in iFrame
@bkeyport said in Cached pictures in iFrame:
Is there any way to turn off the caching, or do whatever I need to do to get a fresh image every time?
Sounds like a similar issue I had a while back. Perhaps this is the same issue. The DOM has to change in order for it to refresh. Sean and Strawberry taught me this. The solution is simple.
Set up a time stamp var and add it to the end of your img source.
var getTimeStamp = new Date().getTime(); img.src = "http://api.usno.navy.mil/imagery/earth.png?view=rise&seed=" + getTimeStamp;
If yours is the same issue then this will work.
Hope it helps.
Peace!
-
RE: My Old Wood Mirror
@nischi said in My Old Wood Mirror:
Hope you like it as i like it, let me know what you think about.
I really like what you’ve done with the frame. It’s not old wood anymore, it’s a work of art. Well done! :thumbsup:
-
RE: MacMirror
is there a way to disable te Monitor/HDMI output/SleepMode with voice on Mac with ubuntu?
I think mmm-voice has that ability by default. However, using mmm-voice with the Hello Lucy enhancement you can simply issue the voice commands “Go To Sleep” to put your monitor in standby/sleep and “Please Wake Up” to turn it back on.
There are other voice modules that may do the same thing.
-
Run two instances of the same module (sometimes) Tutorial
Not all modules can run two instances by just adding a second config entry with different values. Some modules, NOT ALL, can be “tricked” into running two instances with different values. Here’s how:
-
Make a copy of the module folder that you want to run twice. (Ex - MMM-Module)
-
Rename the folder of the copy to MMM-Module2.
-
Open the MMM-Module2 folder that you just renamed.
-
Rename the MMM-Module.js file to MMM-Module2.js
-
Open the MMM-Module2.js file.
-
Change the Module.register line to
Module.register("MMM-Module2", {
. -
Change the
getStyles: function
to
getStyles: function() { return ["MMM-Module2.css"] },
-
Save the MMM-Module2.js file you just edited and close.
-
Open the MMM-Module2 folder.
-
Rename the MMM-Module.css file to MMM-Module2.css.
-
Open the MMM-Module2.css file.
-
Rename the module names to reflect the new module name. Your class names will be different. Just change the module names:
.MMM-Module2 .header { color: #50F8F4; text-align: center; /* display: none; } .MMM-Module2 .age { color: #white; text-align: center; /* display: none; } .MMM-Module2 .females { color: #ff69b4; text-align: center; /* display: none; }
-
Save the MMM-Module2.css file and close.
-
Now make another entry into the config.js file using MMM-Module2 as the module name and change your values.
Remember
This doesn’t always work but many users have had success this way, including myself.
About API calls
If the module you are duplicating uses an API key, you are effectively doubling the calls to that API. This might lead to hitting your call limit. In this case, you should consider raising the
updateInterval
for both modules to avoid being throttled by the API.Peace!
-