• 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-SystemMonitor

Scheduled Pinned Locked Moved Utilities
24 Posts 7 Posters 2.9k Views 6 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.
  • B Offline
    BKeyport Module Developer @MMRIZE
    last edited by Jun 5, 2023, 8:27 PM

    @btastic to double down on what @MMRIZE said - taking over someone else’s archived module is an exceptional way to learn how to do things. I Would highly encourage it, as the author has directly said he’s okay with it. I did that with a module myself. Taught me so much about javascript working out bugs in an existing module and adding my own flair (and I really should get back on it for one bit…)

    The "E" in "Javascript" stands for "Easy"

    B 1 Reply Last reply Jun 7, 2023, 10:33 AM Reply Quote 1
    • B Offline
      btastic @BKeyport
      last edited by Jun 7, 2023, 10:33 AM

      @BKeyport I will probably take a thing or two, but I think the code can be written a bit better by todays standards. The project is almost 6 years old and was probably refactored a few times. No offense towards @MMRIZE - thats probably one reason he does not want to develop it further without rewriting it.

      M 1 Reply Last reply Jun 7, 2023, 12:20 PM Reply Quote 0
      • M Offline
        MMRIZE @btastic
        last edited by Jun 7, 2023, 12:20 PM

        @btastic You are right. Cheer up for your work!
        I wish a new module which can be more flexible and modular with modern techniques, and especially, not dedicated to RPI(recently I never work with it), but I have not enough time and interest to do so…

        B 1 Reply Last reply Jun 7, 2023, 1:32 PM Reply Quote 1
        • B Offline
          btastic @MMRIZE
          last edited by Jun 7, 2023, 1:32 PM

          @MMRIZE Thank you.

          I want to make it OS independant too, but that will be a bit harder I think. I don’t have that much time either. But will work on it in the foreseeable future.

          1 Reply Last reply Reply Quote 0
          • R Offline
            Richard238
            last edited by Feb 2, 2025, 4:45 PM

            Installed, added to config.js

            		{
                        module: 'MMM-SystemMonitor',
                        position: 'bottom_right',
                        config: {
                            updateInterval: 60000,
                            cpuThermalZone: 0,
                            units: config.units,
                        }
                    },
            

            MM fails to load.
            Comment those lines out, MM is OK. What have I missed?

            S 2 Replies Last reply Feb 2, 2025, 4:51 PM Reply Quote 0
            • S Away
              sdetweil @Richard238
              last edited by Feb 2, 2025, 4:51 PM

              @Richard238 what is the end of the last prior module

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              R 1 Reply Last reply Feb 2, 2025, 5:37 PM Reply Quote 0
              • R Offline
                Richard238 @sdetweil
                last edited by Feb 2, 2025, 5:37 PM

                @sdetweil

                It’s the currently misbehaving weather forecast:

                		{
                			module: 'weather',
                			position: 'top_right',
                			header: 'Weather Forecast for: ',
                			config: {
                				type: 'forecast',
                				location: 'nnnnnnnnn',
                				locationID: '11111111',  //ID from https://www.openweathermap.org
                				apiKey: 'aaaa444444444444444444'
                			}
                		},
                
                		//{
                            //module: 'MMM-SystemMonitor',
                            //position: 'bottom_right',
                            //config: {
                                //updateInterval: 60000,
                
                1 Reply Last reply Reply Quote 0
                • S Away
                  sdetweil @Richard238
                  last edited by sdetweil Feb 2, 2025, 6:17 PM Feb 2, 2025, 6:17 PM

                  @Richard238 what is the error?

                  npm run config:check

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  R 1 Reply Last reply Feb 2, 2025, 9:16 PM Reply Quote 0
                  • R Offline
                    Richard238 @sdetweil
                    last edited by Feb 2, 2025, 9:16 PM

                    @sdetweil said in MMM-SystemMonitor:

                    npm run config:check

                    pi@mmv2:~ $ npm run config:check 
                    npm error code ENOENT
                    npm error syscall open
                    npm error path /home/pi/package.json
                    npm error errno -2
                    npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/home/pi/package.json'
                    npm error enoent This is related to npm not being able to find a file.
                    npm error enoent
                    npm error A complete log of this run can be found in: /home/pi/.npm/_logs/2025-02-02T19_09_35_627Z-debug-0.log
                    pi@mmv2:~ $ 
                    
                    
                    S 1 Reply Last reply Feb 2, 2025, 9:20 PM Reply Quote 0
                    • S Away
                      sdetweil @Richard238
                      last edited by Feb 2, 2025, 9:20 PM

                      @Richard238 in the MagicMirror folder

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      R 1 Reply Last reply Feb 2, 2025, 9:46 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      • 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