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.

    Internet Monitor

    Scheduled Pinned Locked Moved Utilities
    108 Posts 27 Posters 145.7k Views 30 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.
    • N Offline
      nickthebeer @bhepler
      last edited by nickthebeer

      @bhepler ok, I’m seriously missing something here…I removed the internet monitor folder and did a git pull from your page (https://github.com/BrianHepler/internet-monitor) and also cleared down my config.js to a simple config but it just doesn’t look right (see attached image) I’m missing the wifi symbol and it defaults to a speedtest server in Norway and not the one specified in the file (12667 in the US).

      Please help, it’s slowly driving me insane.

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       *
       * For more information how you can configurate this file
       * See https://github.com/MichMich/MagicMirror#configuration
       *
       */
      
      var config = {
              address: "localhost", // Address to listen on, can be:
                                    // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
                                    // - another specific IPv4/6 to listen on a specific interface
                                    // - "", "0.0.0.0", "::" to listen on any interface
                                    // Default, when address config is left out, is "localhost"
              port: 8080,
              ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
                                                                     // or add a specific IPv4 of 192.168.1.5 :
                                                                     // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
                                                                     // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
                                                                     // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
      
              language: "en",
              timeFormat: 24,
              units: "metric",
      
      modules: [
              {
                  module: 'internet-monitor',
                  position: 'top_center',
                  header: 'Internet Monitor',
                  config:{
                      type: '',
                      maxTime: '20000',
                      updateInterval: '0',
                      verbose: 'true',
                      serverID: '12667',
                      displayStrength: 'true',
                      displaySpeed: 'true',
                      strengthIconSize: '80',
                      maxGaugeScale: '100',
                      wifiSymbol:{
                          size: '50',
                          fullColor: '#3afc25',
                          almostColor: '#ffff0c',
                          halfColor: '#ff8c00',
                          noneColor: '#ff1111'
                      },
                  },
              }
      ]
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      

      0_1557263946936_IMG_20190507_215401.jpg

      bheplerB 1 Reply Last reply Reply Quote 0
      • bheplerB Offline
        bhepler Module Developer @nickthebeer
        last edited by bhepler

        @nickthebeer - Dude I am so sorry! I just saw your post now. I don’t know why I didn’t get a notification. Let’s get you fixed up.

        The problem is in the capitalization of the ServerId variable. You have Id in all caps. It’s uppercase “I” and lowercase “d”. Copy & paste this:

        {
                    module: 'internet-monitor',
                    position: 'top_center',
                    header: 'Internet Monitor',
                    config:{
                        type: '',
                        maxTime: '20000',
                        updateInterval: '0',
                        verbose: 'true',
                        serverId: '12667',
                        displayStrength: 'true',
                        displaySpeed: 'true',
                        strengthIconSize: '80',
                        maxGaugeScale: '100',
                        wifiSymbol:{
                            size: '50',
                            fullColor: '#3afc25',
                            almostColor: '#ffff0c',
                            halfColor: '#ff8c00',
                            noneColor: '#ff1111'
                        },
             }
        },
        
        1 Reply Last reply Reply Quote 0
        • chaseb1357C Offline
          chaseb1357
          last edited by

          Yeah I am not able to get the plain WiFi symbol to appear as well. The heading size responds to the new sizing of where a symbol should be, but no symbol appears.

          1 Reply Last reply Reply Quote 0
          • G Offline
            GoodWillGustin
            last edited by

            I am also not getting the wifi icon to appear by itself. Hoping for an update/fix as I really love the idea of a wifi status icon on my MM.

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              mattx38 @GoodWillGustin
              last edited by mattx38

              @GoodWillGustin I’d like to have it also.
              I experience some wifi disconnections and I sometimes notice it couple hours after the issue. So that would be great to have it on the mirror, just like on the graphical UI of the Pi.

              N 1 Reply Last reply Reply Quote 0
              • N Offline
                nickthebeer @mattx38
                last edited by

                @mattx38 I have just the Wifi icon on my MM, can you paste your config and I’ll take a look to at it. Also I setup a little script to restart my networking in the event of disconnection which I can share if that’ll help?

                1 Reply Last reply Reply Quote 0
                • bheplerB Offline
                  bhepler Module Developer
                  last edited by

                  Is the missing WiFi icon still an issue? I haven’t looked into that area of the code. If there seems to be a problem I can dive into it.

                  rafaelcotaR 1 Reply Last reply Reply Quote 0
                  • rafaelcotaR Offline
                    rafaelcota @bhepler
                    last edited by

                    @bhepler I have the same problem, No Wifi icon. Have mirrors in MacOS and RPI and have same results.

                    1 Reply Last reply Reply Quote 0
                    • bheplerB Offline
                      bhepler Module Developer
                      last edited by bhepler

                      All right, I’ll dive back into it and see if I can fix it.

                      Update: Some progress made but still a ways to go. I ended up refactoring a lot of the code.

                      1 Reply Last reply Reply Quote 0
                      • bheplerB Offline
                        bhepler Module Developer
                        last edited by

                        Okay, I have completed my first pass at fixing the WiFi symbol. It works for me, so let’s see how it goes for you.

                        If you’re not using my repository, you’ll have to switch by deleting your modules/internet-monitor folder, cloning from my repository at https://github.com/BrianHepler/internet-monitor and then installing like normal. You’ll have to cd internet-monitor and then npm install.

                        If you’re already using my repository, just cd MagicMirror/modules/internet-monitor and git pull. It will probably tell you that you need to stash package-lock.json. Just delete that file and try again.

                        Warning: The custom WiFi icon doesn’t work yet. I got the default one to show up, but I’m still working on the one with the custom colors. But right now I want to verify that you guys can at least see the WiFi icon.

                        rafaelcotaR A 2 Replies Last reply Reply Quote 1
                        • rafaelcotaR Offline
                          rafaelcota @bhepler
                          last edited by

                          @bhepler said in Internet Monitor:

                          https://github.com/BrianHepler/internet-monitor

                          Now it works

                          1 Reply Last reply Reply Quote 1
                          • A Offline
                            Axel51 @bhepler
                            last edited by

                            @bhepler
                            Hi,
                            I can see the wifi icon but no color icon is visible!!!
                            Something is missing in the source code to update the icon.
                            Can you have a look and correct it please?
                            best regards,
                            Adel

                            P 1 Reply Last reply Reply Quote 0
                            • P Offline
                              pgwr @Axel51
                              last edited by

                              @Axel51 Is the wifi icon ovelaying the label “Internet Monitor” on yours? I’d like to be able to be able to see the full label. Maybe I missed something. Thanks

                              1 Reply Last reply Reply Quote 0
                              • C Offline
                                causerino
                                last edited by sdetweil

                                Has this died recently for anyone else? I have made no config changes and it’s stopped working. I’ve tried with a new server ID in case they have changed, but still no luck.

                                //New Module Internet Monitor

                                                {
                                                        module: 'internet-monitor',
                                                        position: 'top_left',
                                                        header: 'SpeedTest',
                                                        config:{
                                                                type: '',
                                                                maxTime: 20000,
                                                                updateInterval: 0,
                                                                verbose: false,
                                                                serverId: "40788",
                                //                              displayStrength: true,
                                                                displaySpeed: true,
                                                                strengthIconSize: 50,
                                                                maxGaugeScale: 1000,
                                                        },
                                                },
                                
                                S bheplerB 3 Replies Last reply Reply Quote 0
                                • S Do not disturb
                                  sdetweil @causerino
                                  last edited by

                                  @causerino comment out serverid and let it use any

                                  add

                                  //
                                  to the beginning of the line

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  1 Reply Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @causerino
                                    last edited by

                                    @causerino also, please use code blocks for any config data

                                    paste text
                                    select text
                                    then push button that looks like
                                    </>

                                    I have fixed your post

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    1 Reply Last reply Reply Quote 0
                                    • bheplerB Offline
                                      bhepler Module Developer @causerino
                                      last edited by bhepler

                                      @causerino said in Internet Monitor:

                                      Has this died recently for anyone else? I have made no config changes and it’s stopped working. I’ve tried with a new server ID in case they have changed, but still no luck.

                                      I can confirm. It appears that the speedtest service is down. I’m troubleshooting now.

                                      Update: Problem is with the speedtest-net package. Not sure what the problem is, but it has been down for the past week. They’ve opened an issue with the developers, so hopefully they’ll get around to it. The SpeedTest website and their paid services appear to be working, so something is up with the API.

                                      I’m looking at my fork of the original repository and the latest changes to speedtest-net and I’m going to prep an update. Once it comes back, I’ll publish.

                                      C 1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        causerino @bhepler
                                        last edited by

                                        @bhepler said in Internet Monitor:

                                        @causerino said in Internet Monitor:

                                        Has this died recently for anyone else? I have made no config changes and it’s stopped working. I’ve tried with a new server ID in case they have changed, but still no luck.

                                        I can confirm. It appears that the speedtest service is down. I’m troubleshooting now.

                                        Update: Problem is with the speedtest-net package. Not sure what the problem is, but it has been down for the past week. They’ve opened an issue with the developers, so hopefully they’ll get around to it. The SpeedTest website and their paid services appear to be working, so something is up with the API.

                                        I’m looking at my fork of the original repository and the latest changes to speedtest-net and I’m going to prep an update. Once it comes back, I’ll publish.

                                        Thanks very much for doing this :)

                                        bugsounetB 1 Reply Last reply Reply Quote 0
                                        • bugsounetB Offline
                                          bugsounet Banned @causerino
                                          last edited by bugsounet

                                          @bhepler said in Internet Monitor:

                                          I can confirm. It appears that the speedtest service is down. I’m troubleshooting now.

                                          Update: Problem is with the speedtest-net package. Not sure what the problem is, but it has been down for the past week. They’ve opened an issue with the developers, so hopefully they’ll get around to it. The SpeedTest website and their paid services appear to be working, so something is up with the API.

                                          I’m looking at my fork of the original repository and the latest changes to speedtest-net and I’m going to prep an update. Once it comes back, I’ll publish.

                                          Are you really sure ?
                                          i use it with MMM-SpeedTest

                                          Result is:
                                          c8d7aa15-f95e-43b9-890e-5c2a482f4b3c-image.png

                                          bheplerB 1 Reply Last reply Reply Quote 0
                                          • bheplerB Offline
                                            bhepler Module Developer @bugsounet
                                            last edited by bhepler

                                            @bugsounet - Pretty sure.
                                            Here is the GitHub discussion on the problem.

                                            EtA: I am having problems installing MMM-SpeedTest.

                                            PS J:\Development\MagicMirrors\MagicMirror\modules> git clone https://github.com/bugsounet/MMM-SpeedTest
                                            Cloning into 'MMM-SpeedTest'...
                                            remote: Enumerating objects: 78, done.
                                            remote: Counting objects: 100% (78/78), done.
                                            remote: Compressing objects: 100% (66/66), done.
                                            remote: Total 78 (delta 33), reused 33 (delta 10), pack-reused 0
                                            Unpacking objects: 100% (78/78), 120.78 KiB | 46.00 KiB/s, done.
                                            PS J:\Development\MagicMirrors\MagicMirror\modules> cd .\MMM-SpeedTest\
                                            PS J:\Development\MagicMirrors\MagicMirror\modules\MMM-SpeedTest> npm install
                                            
                                            > MMM-SpeedTest@1.0.3 preinstall J:\Development\MagicMirrors\MagicMirror\modules\MMM-SpeedTest
                                            > installer/preinstall.sh
                                            
                                            'installer' is not recognized as an internal or external command,
                                            operable program or batch file.
                                            npm ERR! code ELIFECYCLE
                                            npm ERR! errno 1
                                            npm ERR! MMM-SpeedTest@1.0.3 preinstall: `installer/preinstall.sh`
                                            npm ERR! Exit status 1
                                            npm ERR!
                                            npm ERR! Failed at the MMM-SpeedTest@1.0.3 preinstall script.
                                            npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                            npm WARN Local package.json exists, but node_modules missing, did you mean to install?
                                            
                                            
                                            bugsounetB 1 Reply Last reply Reply Quote 0

                                            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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 5 / 6
                                            • 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