Maybe this was the issue.
https://www.geekwire.com/2018/github-recovering-widespread-outage-caused-networking-database-issues/
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-Gas
@rob73 I haven’t tried this to see how it looks, but you may just be able to comment out a few of the lines in
MMM-Gas.js
Try commenting out the last 2 lines of this code in the getDom() function.var td5 = document.createElement("td"); td5.innerHTML = dist; TDrow.appendChild(td5); weatherTable.appendChild(TDrow);
It should look like this when you’re done.
var td5 = document.createElement("td"); td5.innerHTML = dist; //TDrow.appendChild(td5); //weatherTable.appendChild(TDrow);
You should also comment out this part as well.
var bjumpy = document.createElement("th"); bjumpy.setAttribute("style", "text-align:center"); bjumpy.classList.add("xsmall"); bjumpy.innerHTML = "Distance"; //xFCRow.appendChild(bjumpy); //weatherTable.appendChild(xFCRow);
-
RE: MMM-Gas
@3d Hmm, the code is supposed to use that variable as an integer. What kind of error were you getting when you had
items: 10,
?Edit: Guess it doesn’t matter.
Math.min()
still works using a string. -
RE: MMM-Gas
@cowboysdude I just sent you a pull request that should fix their new page.
-
RE: Applied change to config.txt, MM fails to boot.
I had the same issue. I changed
dtoverlay=vc4-kms-v3d
todtoverlay=vc4-fkms-v3d
and was able to boot up again. -
RE: MMM-Nest
Please use these steps. If you have any questions after that, I’ll be happy to answer.
-
RE: ipWhitelist HowTo
That doesn’t sound like an ipWhitelist problem. Did you install MMM-Remote-Control per the instructions? If so, what exactly are you getting your error message on and what are the IPs of your magicmirror and device?
-
RE: Unable to display weather description
Well I’m glad it started mostly working. Sorry about the array of weather I was talking about earlier. I though you were using the weatherforecast module to get this info, not currentweather. The way you’re describing the issue, it sounds like the
updateDOM()
function is getting called before that value is set. Where in theprocessWeather()
function did you putthis.desc = data.weather[0].description;
? is it before this section?this.show(this.config.animationSpeed, {lockString:this.identifier}); this.loaded = true; this.updateDom(this.config.animationSpeed); this.sendNotification("CURRENTWEATHER_DATA", {data: data});
-
RE: Unable to display weather description
Yeah, it does look like the module gets back an array of weather data for each day. Have you tried putting some
console.log()
statements in your code to try and troubleshoot where the problem is. Likethis.desc = data.weather[0].description; console.log("Description Var - " + this.desc); //See if anything is output
At least then you’d know if the variable is correct and your div statement isn’t working, or the variable isn’t getting set correctly.