MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    First MM project - family dashboard

    Scheduled Pinned Locked Moved Show your Mirror
    11 Posts 5 Posters 4.1k Views 8 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      cpcode @mischag
      last edited by

      @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.

      1 Reply Last reply Reply Quote 0
      • R Offline
        rkorell @cpcode
        last edited by

        @cpcode OK, use it really seldom, so your findings are new to mee…
        Good luck.
        Ralf

        1 Reply Last reply Reply Quote 0
        • K Offline
          Kodama666
          last edited by

          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

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            cpcode @Kodama666
            last edited by

            @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.

            K 1 Reply Last reply Reply Quote 0
            • K Offline
              Kodama666 @cpcode
              last edited by

              @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 :-)

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 1 / 2
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy