Read the statement by Michael Teeuw here.
MMM-SystemStats (cpu temp/load, fre ram ...)
-
[card:benroe/MMM-SystemStats]
It’s testet with a Raspberry Pi.
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. -
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 -
I also have this message, but everything works. It’s only a hint.
Are there some other messages? -
I shall try again (currently travelling for work) later this week and report back with more details…
-
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
sysis being deprecated and ultimately phased out (and removed) in favor ofutil. It would make sense to write code for the packages that will continue to work, and not for things that will be deprecated. -
@BenRoe the classes config item is the exact same name used by the MMM-ProfileSwitcher plugin unfortunately.
-
@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
sysis being deprecated and ultimately phased out (and removed) in favor ofutil. 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?
-
@Mykle1 it is not “danger”. Next days a update is coming.
-
The update v1.1 is out. Thx to Bruce17 for the pull request.
Update instructions -
@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!
-
Any way I can make this module alight to the left?
-
position: ‘top_left’, // This can be any of the regions.
or
position: ‘bottom_left’, // This can be any of the regions.
-
@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. -
@toldenburger Oh, I would like to know.
-
@toldenburger put that in custom.css
.MMM-SystemStats table td { text-align: left !important; } -
@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:
-
@toldenburger @DocVooDoo the v1.2 is out
- add pull request #2 (automatic translate loding label)
- new config item (align the labels)
-
How Can I change the Fontsize of the Modul ?
Sandy2503
-
Perfect along with MMM-RemoteControl to hide and enable it when I am testing.
-
@Sandy2503
one solutionwrapper.className = this.config.classes ? this.config.classes : “bold small bright”;
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