@sdetweil
That fixed it, thank you so much.
/F
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
F
Posts
-
RE: MMM-Moon shows only "No Image!"
-
RE: MMM-Moon shows only "No Image!"
@sdetweil
config.js:module: "MMM-Moon", position: "top_left", config: { width: "400px", // as per requirement height: "400px", // as per requirement lat: 59.325, lon: 18.050, timezone: "Europe/Stockholm"
MMM-Moon.js:
start: function () {}, getDom: function () { const outerDiv = document.createElement("div"); if (this.content) { const img = document.createElement("img"); img.src = this.content; img.style.width = this.config.width || "100%"; // add this line to set the width of the image img.style.height = this.config.height || "auto"; // add this line to set the height of the image outerDiv.appendChild(img); } else { outerDiv.innerText = "No image!"; } return outerDiv;
-
RE: MMM-Moon shows only "No Image!"
@sdetweil I got the same issue (No image message), a restart didn’t resolve it.
-
PIR-sensor control
Re: MMM-ResRobot - Public transport information for Sweden
Hello,
I am wondering if it’s possible to control the updateInterval variable with signals from another module?
I am using MMM-PIR-Sensor and would like’s to have one minute updateInterval when user presence is detected and one hour when it’s not.This is to minimise the API requests when the mirror isn’t used.
Or do you have a better way of achieving this?Thank you for a grate module,
Gott nytt år,
F