Read the statement by Michael Teeuw here.
First MM project - family dashboard
-
@cpcode
Really cool!For your families’ whishes: A nice module für RTPS strems of security cams is “MMM-MPlayer” …
There are several other modules around but the other ones do have several dependencies and requirements.
MMM-Mplayer use (as name suggest) simply mplayer.
Works like a charm …
@myfingersarecold has done a really nice job with this.Regards,
Ralf -
@cpcode How did you modify the MMM-page-indicator It has been al long time since i tried MagicMirror and i`m no software expert either
I would like to change pages with some physical buttons since i don`t have a touch monitor yet
-
@cpcode
This is awesome. Well done!
If possible, could either send me your code at all? And then maybe even your custom.css if that’s what you used to modify a few things? This would be super helpful! I’m stuck on a few things and this, this would actually make the wife happy with all my purchases trying to build this! :)
If possible, thanks. -
@raymonvdm Really sorry, I wrote out this whole reply but never hit Submit… Well better late than never:
MMM-page-indicator by default has a set of little circles at the bottom, one for each page, and they are already clickable. I just turned the little circles into tabs in the HTML - that part was very easy if I remember right.
There are a bunch of modules that implement hooks for physical GPIO buttons, like MMM-button , MMM-buttons, and others. Some of them probably already have examples to attach the physical button click to page selections. -
@rkorell Thanks! I did end up implementing MMM-MPlayer. It was indeed very easy, but unfortunately it only seems to work some of the time - for the first week, it would work until about 4 pm and then stop. Now it’s not showing up at all. Since it just brings up another process on top of the mirror, I’m not sure how to debug this issue, but I haven’t had time to look at it yet.
-
@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 :-)