Read the statement by Michael Teeuw here.
MMM-SystemStats (cpu temp/load, fre ram ...)
-
@lavolp3
Now I understand it.
It also works that “tr:nth-child(5n+1)”.
With the background knowledge, it is clear to me.
Nice Weekend -
This post is deleted! -
@BenRoe Hey, ben - love your module - would like to see a “quick” change if possible. Could you update the module to show both imperial and metric for CPU temp? This is only needed because I’m in a backwards country that hasn’t adopted sensable measurements, and it would be nice to have both temps on screen at the same time, so I can compare easily with others on how cool my system is.
Thanks!
-
-
@lavolp3 that’s not working, just get NaN… I think that’s because the string’s already got the “°C” at that point.
On another point, how do you link back to the code and highlight like that?
-
@BKeyport said in MMM-SystemStats (cpu temp/load, fre ram ...):
On another point, how do you link back to the code and highlight like that?
You can get a direct link by clicking on the line in github.
-
@BKeyport said in MMM-SystemStats (cpu temp/load, fre ram ...):
that’s not working, just get NaN… I think that’s because the string’s already got the “°C” at that point.
ah the parsefloat is missing.
How aboutthis.stats.cpuTemp = payload.cpuTemp + " / " + (parseFloat(payload.cpuTemp) * 9 / 5 + 32).toFixed(1) + "°F";
-
@lavolp3 That did it, thank you.
-
Excellent module, works great.
I do have a question. I don’t see all the icons :/ how can I fix this?
-
@uros76 The icons are straight from font awesome, and part of the base package, from what I understand. Not having icons might be indicative of a weak connection to the 'net.