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.9k 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.
    • D Offline
      dazza120 @qu1que
      last edited by

      @qu1que don’t know I had the same thing but I had to delete the JS for it to go on, then it didn’t work with the new JS so I managed to get the JS out of the waste bin and it’s back working again but measuring in kelvin.

      1 Reply Last reply Reply Quote 0
      • A Offline
        axis155
        last edited by

        I also had the same problem. I even removed the module, re-installed, but still cant view it.

        1 Reply Last reply Reply Quote 0
        • CyruS1337C Offline
          CyruS1337 Project Sponsor
          last edited by

          I have the same problem. After the upload, it shows me nothing more

          1 Reply Last reply Reply Quote 0
          • B Offline
            Babene1 Project Sponsor
            last edited by

            i have a solution,
            it is only a comma missing in “MMM-SystemStats.js” in line 20

             baseURLSyslog: 'http://127.0.0.1:8080/syslog',
            
            qu1queQ CyruS1337C bheplerB 3 Replies Last reply Reply Quote 3
            • qu1queQ Offline
              qu1que Project Sponsor @Babene1
              last edited by

              @Babene1

              Thanks! It works for me, that was the problem.

              1 Reply Last reply Reply Quote 0
              • CyruS1337C Offline
                CyruS1337 Project Sponsor @Babene1
                last edited by

                @Babene1 It works for me too, thank you !!

                1 Reply Last reply Reply Quote 0
                • bheplerB Offline
                  bhepler Module Developer @Babene1
                  last edited by

                  @Babene1 - Great work. Did you generate a PR for the module developer?

                  B 1 Reply Last reply Reply Quote 0
                  • B Offline
                    Babene1 Project Sponsor @bhepler
                    last edited by

                    @bhepler it is a new release with the bugfix from MMM-SystemStats available

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      chinesesich
                      last edited by

                      0_1560484638460_acaabf82-8175-4f0e-a869-906fe0f0cde0-image.png
                      I have a mistake, as shown in the figure.
                      It was good at first, but then it was. I don’t know why.

                      StoffbeuteluweS F 2 Replies Last reply Reply Quote 0
                      • StoffbeuteluweS Offline
                        Stoffbeuteluwe Project Sponsor @chinesesich
                        last edited by

                        does the Module work on mac?

                        C 1 Reply Last reply Reply Quote 0
                        • C Offline
                          chinesesich @Stoffbeuteluwe
                          last edited by

                          @Stoffbeuteluwe
                          no
                          on Raspberry Pi 2B

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            Fifin404 @chinesesich
                            last edited by

                            @chinesesich Same issue… something new?

                            lavolp3L 1 Reply Last reply Reply Quote 0
                            • lavolp3L Offline
                              lavolp3 Module Developer @Fifin404
                              last edited by

                              @Fifin404 @chinesesich The issue seems to be the change in version of Font Awesome icons.

                              Try changing line 122 in MMM-SystemStats.js

                                      c2.innerHTML = `< i class="fa ${sysData[item].icon} fa-fw"></i>`;
                              

                              to

                                      c2.innerHTML = `< i class="fas ${sysData[item].icon} fa-fw"></i>`;
                              

                              ONLY change the “fa” to “fas”.
                              The rest can stay the same.
                              Don’t copy my input! I neede to put in a space for it to be viewable.

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

                              1 Reply Last reply Reply Quote 0
                              • LordyL Offline
                                Lordy
                                last edited by

                                How can you only display individual parameters?
                                I just want to see “Free memory” for example.
                                Thank you very much in advance

                                lavolp3L 1 Reply Last reply Reply Quote 0
                                • lavolp3L Offline
                                  lavolp3 Module Developer @Lordy
                                  last edited by

                                  @Lordy
                                  if you mean free RAM, try this out in your custom.css

                                  .MMM-SystemStats tr { 
                                    display: none; 
                                  }
                                  
                                  .MMM-SystemStats tr:nth-child(3n+0) { 
                                    display: table-row; 
                                  }
                                  

                                  For free disk space it would be

                                  .MMM-SystemStats tr { 
                                    display: none; 
                                  }
                                  
                                  .MMM-SystemStats tr:nth-child(5n+0) { 
                                    display: table-row; 
                                  }
                                  

                                  No guarantees!! I haven’t tried it!!

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

                                  LordyL 1 Reply Last reply Reply Quote 1
                                  • LordyL Offline
                                    Lordy @lavolp3
                                    last edited by

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

                                    .MMM-SystemStats tr {
                                    display: none;
                                    }

                                    .MMM-SystemStats tr:nth-child(5n+0) {
                                    display: table-row;
                                    }

                                    Thanks, it helped me.
                                    How do I do this with “CPU_TEMP”?

                                    lavolp3L 2 Replies Last reply Reply Quote 0
                                    • lavolp3L Offline
                                      lavolp3 Module Developer @Lordy
                                      last edited by lavolp3

                                      @Lordy try tr:nth-child(6n+1)

                                      You have 5 children in the table element, which are the 5 table rows.
                                      nth-child counts every “nth” children from 0.
                                      So if you have nth-children(3n+0) it takes the 3rd 6th 9th. Only the 3rd is there so voila.

                                      nth-children(6n+1) SHOULD count the 1st, 7th, 13th children, of these only the 1st is available. So, hopefully again, voila.

                                        getDom: function() {
                                          var self = this;
                                          var wrapper = document.createElement('table');
                                      
                                          var sysData = {
                                            cpuTemp: {
                                              text: 'CPU_TEMP',
                                              icon: 'fa-thermometer',
                                            },
                                            sysLoad: {
                                              text: 'SYS_LOAD',
                                              icon: 'fa-tachometer',
                                            },
                                            freeMem: {
                                              text: 'RAM_FREE',
                                              icon: 'fa-microchip',
                                            },
                                            upTime: {
                                              text: 'UPTIME',
                                              icon: 'fa-clock-o',
                                            },
                                            freeSpace: {
                                              text: 'DISK_FREE',
                                              icon: 'fa-hdd-o',
                                            },
                                          };
                                      

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

                                      1 Reply Last reply Reply Quote 1
                                      • lavolp3L Offline
                                        lavolp3 Module Developer @Lordy
                                        last edited by

                                        @Lordy I’m honestly amazed it worked.

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

                                        LordyL 1 Reply Last reply Reply Quote 0
                                        • LordyL Offline
                                          Lordy @lavolp3
                                          last edited by

                                          @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

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

                                            This post is deleted!
                                            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
                                            • 3 / 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