Need help to install the first new module to the mirror ...



  • Re: [MMM-SystemStats (cpu temp/load](fre ram …))
    Hi,
    i’m really new to MagicMirror. May i ask for some help?

    I’ve got to mirror running in the basic version and i haven’t installed any other module yet.

    So my questions:
    What do i have to download, copy or … from here?
    Means : in which dir do i have to start what kind of command?
    And : with sudo or as normal “pi”?

    Where do i found the new module?
    And what/where do i have to customize something?

    I’ll think that this is a nice short and manageable module, or?
    And i hope, i can transfer these steps to other modules.

    Thanks for helping a newcomer!!


  • Moderator

    Welcome to our community.

    The module has a very complete readme, please take a look here:
    https://github.com/BenRoe/MMM-SystemStats/blob/master/README.md



  • Thanks … i’ll read it :-)



  • @yawns
    First step - first Problem :-(
    When i install async i’ll get following:
    npm WARN grunt-yamllint@0.2.0 requires a peer of grunt@-0.4.0 but none was installed.

    I’ve ignored this warning, and get new contend on my mirror.
    CPU Temp/System Load/Free RAM : all “fetching” but no content
    Where is my fault?
    Greets



  • @MyMirror said in Need help to install the first new module to the mirror ...:

    @yawns
    First step - first Problem :-(
    When i install async i’ll get following:
    npm WARN grunt-yamllint@0.2.0 requires a peer of grunt@-0.4.0 but none was installed.

    I’ve ignored this warning, and get new contend on my mirror.
    CPU Temp/System Load/Free RAM : all “fetching” but no content
    Where is my fault?
    Greets

    all you have to do before run the module:

    // Navigate to the new MMM-SystemStats folder and install the node dependencies.
    npm install
    // restart mm
    


  • @slametps

    Yes, thanks - the error has gone.
    So i have to do npm install once and as a first step for every new module

    But i didn’t have any values for CPU, RAM and Load …
    Do you have an idea?
    Thanks



  • @MyMirror said in Need help to install the first new module to the mirror ...:

    @slametps

    Yes, thanks - the error has gone.
    So i have to do npm install once and as a first step for every new module

    But i didn’t have any values for CPU, RAM and Load …
    Do you have an idea?
    Thanks

    Not every module required npm install. Pls refer to each module documentation.

    Please execute the following commands on your raspi shell (refer to node_helper.js of MMM-SystemStats):

    /opt/vc/bin/vcgencmd measure_temp
    cat /proc/loadavg
    free | awk '/^Mem:/ {print $4*100/$2}'
    

    all commands output something? If there are, pls check the mm-log or browser console-log.



  • I have found that I need to slow down and read the entire readme… many modules require “npm install”… that right there is more than 1/2 of the errors ;)

    I’m so glad you came to ask for help! I know it’s hard to do at times… I know myself I have an extremely difficult time asking for help…

    BUT just remember when you’re new at this go slow… take your time :) If you get into trouble just ask. HUGE suggestion… when you have a working config.js you should make a copy of it before you change anything in it… that way if you get into trouble you have a backup that you know works!

    Easy in a terminal window:

    ~MagicMirror/config
    cp config.js config.bak

    That’s all there is to it! :) Then you’re safe!


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.