MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

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

    Utilities
    35
    73
    25736
    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.
    • B
      BenRoe Module Developer last edited by BenRoe


      It’s testet with a Raspberry Pi.

      MMM-MMM-SystemStats

      ToDO:

      • icons
      • sd-card available space
      • better indication for the system load

      If you found an issue, please report it here.
      If you like the module, give it a star on Github.

      T M BKeyport 3 Replies Last reply Reply Quote 3
      • T
        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
          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
            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
            • KirAsh4
              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?

              Mykle1 1 Reply Last reply Reply Quote 0
              • M
                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
                • Mykle1
                  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
                    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
                      BenRoe Module Developer last edited by

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

                      Mykle1 1 Reply Last reply Reply Quote 1
                      • Mykle1
                        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
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 8
                        • 1 / 8
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy