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.

    MMM-SystemStats (cpu temp/load, fre ram ...)

    Scheduled Pinned Locked Moved Utilities
    74 Posts 36 Posters 71.7k Views 35 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.
    • lavolp3L Offline
      lavolp3 Module Developer @BKeyport
      last edited by

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

      this.stats.cpuTemp = payload.cpuTemp + " / " + (parseFloat(payload.cpuTemp) * 9 / 5 + 32).toFixed(1) + "°F";
      

      How to troubleshoot modules
      MMM-soccer v2, MMM-AVStock

      BKeyportB 1 Reply Last reply Reply Quote 0
      • BKeyportB Offline
        BKeyport Module Developer @lavolp3
        last edited by

        @lavolp3 That did it, thank you.

        The "E" in "Javascript" stands for "Easy"

        1 Reply Last reply Reply Quote 0
        • uros76U Offline
          uros76
          last edited by

          Excellent module, works great.

          I do have a question. I don’t see all the icons :/ how can I fix this?
          5578393d-6b2e-405e-a301-d69c56870c63-image.png

          My magicmirror projects: https://forum.magicmirror.builders/post/79889, https://forum.magicmirror.builders/post/93241 and https://forum.magicmirror.builders/post/94586

          BKeyportB 1 Reply Last reply Reply Quote 0
          • BKeyportB Offline
            BKeyport Module Developer @uros76
            last edited by

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

            The "E" in "Javascript" stands for "Easy"

            1 Reply Last reply Reply Quote 0
            • V Offline
              v4r23
              last edited by v4r23

              missing stats
              Any idea what’s going wrong that it shows:

              loading …
              
              BKeyportB 1 Reply Last reply Reply Quote 0
              • BKeyportB Offline
                BKeyport Module Developer @v4r23
                last edited by

                @v4r23 If you followed the install completely, reboot the system. It’s the one step that fixed it for me.

                The "E" in "Javascript" stands for "Easy"

                J 1 Reply Last reply Reply Quote 0
                • M Offline
                  MajorC Project Sponsor
                  last edited by MajorC

                  Hi,

                  is there a good way to shrink the font size and the icon size?

                  I tried

                  .MMM-SystemStats {
                  Font-size: 70%;
                  }
                  

                  but now there are a lot of space between each line.

                  Or if I use

                  transform: scale(0.90, 0.90);
                  

                  than the module is moved into the middle of the screen.

                  Thank you

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    MajorC Project Sponsor
                    last edited by

                    UPDATE:

                    I included into the custom.css

                    /**
                     * MMM-SystemStats
                     */
                    
                    .MMM-SystemStats table {
                            width: 350px;
                            color: #666;
                            font-size: 20px;
                     }
                    
                    .MMM-SystemStats td {
                        line-height: 20px;
                    }
                    

                    that works for me. Not sure if that was the right way. But hey, its fine.

                    BKeyportB 1 Reply Last reply Reply Quote 1
                    • BKeyportB Offline
                      BKeyport Module Developer @MajorC
                      last edited by

                      @MajorC That’s the recommended way, actually. CSS should be the place you make LOOK customizations.

                      Good job.

                      The "E" in "Javascript" stands for "Easy"

                      1 Reply Last reply Reply Quote 0
                      • BKeyportB Offline
                        BKeyport Module Developer
                        last edited by

                        I’m having a heck of a time with the module freezing after a set amount of time. I believe the problem is that it’s freezing due to getting invalid data from my sensor. Is there anyone around that can help me fix it to where it checks the data, so the module continues to work?

                        Thanks much!

                        The "E" in "Javascript" stands for "Easy"

                        M 1 Reply Last reply Reply Quote 0
                        • M Offline
                          MajorC Project Sponsor @BKeyport
                          last edited by

                          @BKeyport how long is “a set amount of time”?
                          Have you tried https://github.com/MichMich/mmm-systemtemperature

                          BKeyportB 1 Reply Last reply Reply Quote 0
                          • BKeyportB Offline
                            BKeyport Module Developer @MajorC
                            last edited by

                            I just realized I got my modules mixed up. This one works perfectly.

                            The "E" in "Javascript" stands for "Easy"

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              joey @BKeyport
                              last edited by

                              @BKeyport said in MMM-SystemStats (cpu temp/load, fre ram ...):

                              @v4r23 If you followed the install completely, reboot the system. It’s the one step that fixed it for me.

                              I was having the same issue, and rebooting fixed it for me. That surprised me, since I have been able to add modules on the fly (ie., without rebooting) so far. However, since MMM-SystemStats has system calls, I guess that is the difference.

                              1 Reply Last reply Reply Quote 0
                              • H Offline
                                harney
                                last edited by

                                Is there any way to add a second drive stat for an SSD. I run my server of an SSD, but would like to add the second SSD to the stats

                                Cheers.

                                Great module

                                StoffbeuteluweS 1 Reply Last reply Reply Quote 0
                                • StoffbeuteluweS Offline
                                  Stoffbeuteluwe Project Sponsor @harney
                                  last edited by

                                  Hi i try mmm-systemtemperature but it shows (loading…) anybody the same problem?

                                  1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    JohnWick128
                                    last edited by

                                    Thanks for the information, It was very helpful.

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      digied
                                      last edited by

                                      Hi! MMM-SystemStats is working fine, but Free RAM shows: NaN%. How can I fix this?

                                      BKeyportB 1 Reply Last reply Reply Quote 0
                                      • BKeyportB Offline
                                        BKeyport Module Developer @digied
                                        last edited by

                                        @digied Did you reboot? Seems to cure a lot of the problems.

                                        The "E" in "Javascript" stands for "Easy"

                                        1 Reply Last reply Reply Quote 0
                                        • N Offline
                                          Nneuland @BenRoe
                                          last edited by

                                          @BenRoe

                                          Hi Ben! Love the module!
                                          Couple questions. My “Avail Space” portion of this module isn’t giving any values. Do you have any idea why this might be? I also am having trouble with the header not showing. My system load peaks around 2, but I’m reading that with a quad core raspi 4b, this is normal.

                                          Any input would be greatly appreciated.

                                          Thanks,

                                          Nick

                                          1 Reply Last reply Reply Quote 0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 4 / 4
                                          • 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