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.
    • T Offline
      tgriffo @BenRoe
      last edited by

      G’day @BenRoe

      when using your module (Raspberry Pi powered) I get the below message and nothing appears to work. If I comment out the MMM-SystemStats module config on config/config.js the other modules work again.

      (node:2247) DeprecationWarning: sys is deprecated. Use util instead.

      Any clues?

      Cheers,
      Tiago

      1 Reply Last reply Reply Quote 0
      • B Offline
        BenRoe Module Developer
        last edited by

        I also have this message, but everything works. It’s only a hint.
        Are there some other messages?

        1 Reply Last reply Reply Quote 0
        • T Offline
          tgriffo
          last edited by

          I shall try again (currently travelling for work) later this week and report back with more details…

          1 Reply Last reply Reply Quote 0
          • KirAsh4K Offline
            KirAsh4 Moderator
            last edited by

            Deprecation is not the same as a hint. That message is a warning to let you know that while it may work today, it may not in the near future because sys is being deprecated and ultimately phased out (and removed) in favor of util. It would make sense to write code for the packages that will continue to work, and not for things that will be deprecated.

            A Life? Cool! Where can I download one of those from?

            Mykle1M 1 Reply Last reply Reply Quote 0
            • M Offline
              Mar @BenRoe
              last edited by Mar

              @BenRoe the classes config item is the exact same name used by the MMM-ProfileSwitcher plugin unfortunately.

              1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @KirAsh4
                last edited by

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

                Deprecation is not the same as a hint. That message is a warning to let you know that while it may work today, it may not in the near future because sys is being deprecated and ultimately phased out (and removed) in favor of util. It would make sense to write code for the packages that will continue to work, and not for things that will be deprecated.

                I also get that warning message but it works and nothing seems to be wrong or unstable. I like having the stats to keep an eye on how things are running, then I hide it with MMM-Remote-Control until the next time I want to check.

                So, do you recommend NOT using it? Is there any “danger” in using it?

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • B Offline
                  BenRoe Module Developer
                  last edited by

                  @Mykle1 it is not “danger”. Next days a update is coming.

                  1 Reply Last reply Reply Quote 1
                  • B Offline
                    BenRoe Module Developer
                    last edited by

                    The update v1.1 is out. Thx to Bruce17 for the pull request.
                    Update instructions

                    Mykle1M 1 Reply Last reply Reply Quote 1
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @BenRoe
                      last edited by

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

                      The update v1.1 is out. Thx to Bruce17 for the pull request.

                      I followed the update instructions. It seems to be working fine and the “DeprecationWarning: sys is deprecated. Use util instead.” is no longer being reported. Nice!

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        toldenburger
                        last edited by

                        Any way I can make this module alight to the left?

                        DocVooDooD 1 Reply Last reply Reply Quote 0
                        • DocVooDooD Offline
                          DocVooDoo @toldenburger
                          last edited by

                          @toldenburger

                          position: ‘top_left’, // This can be any of the regions.

                          or

                          position: ‘bottom_left’, // This can be any of the regions.

                          T 1 Reply Last reply Reply Quote 1
                          • T Offline
                            toldenburger @DocVooDoo
                            last edited by

                            @DocVooDoo Ah sorry I wasn’t clear enough:
                            I don’t mean the position of the module, but the alignment of the actual text. It seems to be centered by default and I can’t find a css in the module.

                            DocVooDooD strawberry 3.141S 2 Replies Last reply Reply Quote 0
                            • DocVooDooD Offline
                              DocVooDoo @toldenburger
                              last edited by

                              @toldenburger Oh, I would like to know.

                              1 Reply Last reply Reply Quote 0
                              • strawberry 3.141S Offline
                                strawberry 3.141 Project Sponsor Module Developer @toldenburger
                                last edited by

                                @toldenburger put that in custom.css

                                .MMM-SystemStats table td {
                                  text-align: left !important;
                                }
                                

                                Please create a github issue if you need help, so I can keep track

                                Mykle1M 1 Reply Last reply Reply Quote 3
                                • Mykle1M Offline
                                  Mykle1 Project Sponsor Module Developer @strawberry 3.141
                                  last edited by

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

                                  put that in custom.css

                                  Oh, I’m so glad you got here first, before I tried to help him. :wink:

                                  Create a working config
                                  How to add modules

                                  1 Reply Last reply Reply Quote 0
                                  • B Offline
                                    BenRoe Module Developer
                                    last edited by

                                    @toldenburger @DocVooDoo the v1.2 is out

                                    • add pull request #2 (automatic translate loding label)
                                    • new config item (align the labels)
                                    1 Reply Last reply Reply Quote 0
                                    • Sandy2503S Offline
                                      Sandy2503
                                      last edited by

                                      How Can I change the Fontsize of the Modul ?

                                      Sandy2503

                                      AgilesChromsA 1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        McSorley
                                        last edited by

                                        Perfect along with MMM-RemoteControl to hide and enable it when I am testing.

                                        1 Reply Last reply Reply Quote 0
                                        • AgilesChromsA Offline
                                          AgilesChroms @Sandy2503
                                          last edited by

                                          @Sandy2503
                                          one solution

                                          wrapper.className = this.config.classes ? this.config.classes : “bold small bright”;

                                          1 Reply Last reply Reply Quote 0
                                          • P Offline
                                            PhilReis
                                            last edited by

                                            Hello, can i view this module only when the CPU temperature is over XX °C?

                                            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
                                            • 1 / 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