• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 58.8k 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 Oct 2, 2016, 9:24 AM

    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 Oct 2, 2016, 9:50 AM

      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 Oct 4, 2016, 11:12 PM

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

        1 Reply Last reply Reply Quote 0
        • K Offline
          KirAsh4 Moderator
          last edited by Oct 5, 2016, 3:26 AM

          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?

          M 1 Reply Last reply Feb 6, 2017, 11:35 PM Reply Quote 0
          • M Offline
            Mar @BenRoe
            last edited by Mar Feb 6, 2017, 11:02 PM Feb 6, 2017, 10:54 PM

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

            1 Reply Last reply Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @KirAsh4
              last edited by Feb 6, 2017, 11:35 PM

              @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 Feb 7, 2017, 1:57 PM

                @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 Feb 7, 2017, 6:57 PM

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

                  M 1 Reply Last reply Feb 7, 2017, 10:45 PM Reply Quote 1
                  • M Offline
                    Mykle1 Project Sponsor Module Developer @BenRoe
                    last edited by Feb 7, 2017, 10:45 PM

                    @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 Feb 14, 2017, 5:04 PM

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

                      D 1 Reply Last reply Feb 14, 2017, 6:08 PM 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 Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy