Read the statement by Michael Teeuw here.
First MM project - family dashboard
-
@mischag My code is a jumbled mess, has few comments, and only works for the exact combination of modules (public and custom) that I have. If you tell me which parts you are stuck on, or which module changes you are interested in, I’d be happy to send you those pieces or help out as best I can. I can also clean up some of my code and post more forks on GitHub for pieces that may be useful.
I did use custom.css to modify things, happy to share that too, if you let me know what parts of my setup you are interested in. -
@cpcode OK, use it really seldom, so your findings are new to mee…
Good luck.
Ralf -
Hi there,
Nice project! I tried a similar one myself but was into abled to get the CPU info running for MMM-Systeminfo. Can you tell me what parameter you used for cpuUsageCommand ?Kind regards
Kodama666
-
@Kodama666 I did not override that setting, actually. This is what my config looks like for MMM-SystemInfo:
{
module: ‘MMM-SystemInfo’,
classes:“System moduleMargins”,
position: “upper_third”,
config: {
network: “My guest network has another name”,
password: "Speak, friend, and enter :) ",
showCpuUsage: true,
showRamUsage: true,
showDiskUsage: true,
showCpuTemperature: true,
showVolume: true,
tableClass: ‘medium’,
qrSize: 220,
layout: “rtl”,
}
},The cpu usage worked from the start. However, I did have to override ‘cpuTemperatureCommand’. I did it directly in MMM-SystemInfo.js because I didn’t know any better at the time. This is my new value for it:
cpuTemperatureCommand: "echo \"$(( ($(cat /sys/class/thermal/thermal_zone*/temp))))\"",
I doubt this will help you with cpu usage, but that’s all I modified.
-
@cpcode: Thanks…that did help indeed. I thought that CPUUsage would be displayed by default. I really only needed to set it as true…unfortunately now it only displays either 100 or 50% while htop only measures a few % for each core…CPU Temp displays thanks to your command….and while volume usage should not matter at all it only shows NaN…well…as it is not a productive system in any case and just a fun project i will deal with that as I increase my knowledge :-)