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

Scheduled Pinned Locked Moved Unsolved Troubleshooting
18 Posts 4 Posters 4.7k Views 4 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
    Bungle68 @sdetweil
    last edited by Dec 2, 2022, 12:28 AM

    @sdetweil thanks again, I now at last have the small meters showing, but now it’s not registering any speed at all šŸ¤” @bhepler, any suggestions?
    It’s all zero?

    S B 2 Replies Last reply Dec 2, 2022, 12:32 AM Reply Quote 1
    • S Away
      sdetweil @Bungle68
      last edited by sdetweil Dec 2, 2022, 12:32 AM Dec 2, 2022, 12:32 AM

      @Bungle68 np… one thing… when u post config, please use the code block markers…

      paste the text,
      select it all
      hit the button above that looks like </>

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      B 1 Reply Last reply Dec 2, 2022, 12:50 AM Reply Quote 0
      • B Offline
        Bungle68 @sdetweil
        last edited by Dec 2, 2022, 12:50 AM

        @sdetweil here, let’s try again

        code_text
        {
        module: ā€˜internet-monitor’,
        position: ā€˜top_left’,
        header: ā€˜Internet Monitor’,
        config: {
        type: ā€˜ā€™,
        serverId: ā€œ53937ā€,
        maxTime: 20000,
        updateInterval: 30000,
        verbose: false,
        displayStrength: false,
        displaySpeed: true,
        strengthIconSize: 80,
        maxGaugeScale: 1000,
        wifiSymbol: {
                   size: 50,
                   fullColour: ā€˜#3afc25’,
                   almostColour: ā€˜#ffff0c’,
                   halfColour: ā€˜#ff1111’
            },
                   },
        },
        
        
        S 1 Reply Last reply Dec 2, 2022, 2:01 AM Reply Quote 0
        • S Away
          sdetweil @Bungle68
          last edited by Dec 2, 2022, 2:01 AM

          @Bungle68 just another quirk… when u copy the previously posted text without the code markers

          the " and ’ chars become the word processing style slanted

          and THAT will cause a problem if anyone (including you) try to use that info… forum software …

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          B 1 Reply Last reply Dec 2, 2022, 7:56 AM Reply Quote 0
          • B Offline
            Bungle68 @sdetweil
            last edited by Dec 2, 2022, 7:56 AM

            @sdetweil always learning šŸ‘

            1 Reply Last reply Reply Quote 0
            • B Offline
              bhepler Module Developer @Bungle68
              last edited by Dec 5, 2022, 1:15 AM

              @Bungle68 said in MMM-InternetMonitor:

              @sdetweil thanks again, I now at last have the small meters showing, but now it’s not registering any speed at all šŸ¤” @bhepler, any suggestions?
              It’s all zero?

              I tried your configuration on my system and got this:
              internet-monitor.PNG

              One thing I notice straight away is that your maximum speed is set to 1000 Mb/s. My fiber connection is rated at like 1/10th of that speed. I don’t know what kind of internet connection you have running to your house, but my guess is that you’re not seeing any data because your connection is just a sliver of the available graph.

              Try this: set the maxGuageScale to 100 in your config.js entry.

              R 1 Reply Last reply Jan 22, 2023, 8:29 PM Reply Quote 0
              • R Offline
                Richtw @bhepler
                last edited by Jan 22, 2023, 8:29 PM

                @bhepler
                Hi - I am looking to replace my last mirror build with an updated one.

                this module is throwing an error on my install. I suspect I must have gone astray in the install?
                I started out with a clean install of raspbian and magic mirror
                Started it up with the default settings and it seems to work fine

                This was the first module I added

                Commands I issued were:

                • cd MagicMirror/modules

                • git clone https://github.com/BrianHepler/internet-monitor.git

                • cd internet-monitor
                  NPM install showed some warnings:

                  added 191 packages, and audited 192 packages in 3m
                  9 packages are looking for funding
                  run npm fund for details
                  3 moderate severity vulnerabilities
                  To address all issues (including breaking changes), run:
                  npm audit fix --force
                  Run npm audit for details.

                When I NPM start now it throws an error:

                	[22.01.2023 15:19.07.139] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error 				found: Error: Cannot find module '/home/richard/MagicMirror/modules/internet-monitor/node_modules/lzma-native/			binding-v4.0.6-electron-v22.0-linux-arm64/lzma_native.node'
                	Require stack:
                	- /home/richard/MagicMirror/modules/internet-monitor/node_modules/lzma-native/index.js
                	- /home/richard/MagicMirror/modules/internet-monitor/node_modules/decompress-tarxz/index.js
                	- /home/richard/MagicMirror/modules/internet-monitor/node_modules/speedtest-net/index.js
                	- /home/richard/MagicMirror/modules/internet-monitor/node_helper.js
                	- /home/richard/MagicMirror/js/app.js
                	- /home/richard/MagicMirror/js/electron.js
                	- /home/richard/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
                
                S B 3 Replies Last reply Jan 22, 2023, 9:16 PM Reply Quote 0
                • S Away
                  sdetweil @Richtw
                  last edited by Jan 22, 2023, 9:16 PM

                  @Richtw the error is about 20 lines closer to the top

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • S Away
                    sdetweil @Richtw
                    last edited by sdetweil Jan 22, 2023, 10:18 PM Jan 22, 2023, 10:04 PM

                    @Richtw said in MMM-InternetMonitor:

                    binding-v4.0.6-electron-v22.0-linux-arm64/lzma_native.node

                    looks like not built for arm and electron 22…

                    so, you could try this
                    create a file in the module home folder

                    cd ~/MagicMirror/modules/internet-monitor
                    touch buildit
                    

                    then nano buildit, and paste this into the editor

                    #!/bin/bash
                    
                    if [ ! -f ../../node_modules/.bin/electron-rebuild ]; then
                    	cd ../..
                    	npm install electron-rebuild >/dev/null 2>&1
                    	cd -
                    fi 
                    ../../node_modules/.bin/electron-rebuild
                    

                    ctrl-o to save, ctrl-x to exit

                    chmod +x buildit
                    

                    then ./buildit

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      bhepler Module Developer @Richtw
                      last edited by bhepler Jan 23, 2023, 1:23 AM Jan 23, 2023, 1:22 AM

                      @Richtw - Yeah, that error usually means that there is an error in your config.js file.

                      Couple suggestions:

                      1. Try this out in the MagicMirror folder: npm run config:check. It will let you know if there are any errors in your config.js file.
                      2. Post the relevant section of your config.js file in this thread. Be sure to use the markdown features of the forum for readability.

                      [Dammit, I am about this close to just deleting my repository. It’s not my module and I’m sick of fixing it.]

                      R 1 Reply Last reply Jan 24, 2023, 11:16 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      • 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