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

Scheduled Pinned Locked Moved Troubleshooting
8 Posts 3 Posters 3.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.
  • M Offline
    Mykle1 Project Sponsor Module Developer
    last edited by Mar 5, 2017, 4:09 AM

    For some reason, this stopped working for me. I went as far as deleting the module and reinstalling the module and dependencies. The devices that I have entered in the config all show as offline.

    {
            		module: 'MMM-NetworkScanner',
            		position: 'top_left',
            		config: {
    			devices: [
                        		{ ipAddress: "192.168.1.8", name: "BottlePop", icon: "globe"},
    				{ ipAddress: "192.168.1.17", name: "Baby Jesus", icon: "futbol-o"},
    				{ ipAddress: "192.168.1.2", name: "Dove", icon: "medkit"},
    				{ ipAddress: "192.168.1.11", name: "Donna", icon: "venus"},
                        		{ ipAddress: "192.168.1.10", name: "Nikki", icon: "coffee"},
                        		{ ipAddress: "192.168.1.7", name: "Jason", icon: "fire-extinguisher"},
                    		],
                			showUnknown: false,              // shows devices found on the network even if not specified in the 'devices' option 
            			showOffline: true,              // shows devices specified in the 'devices' option even when offline
            			showLastSeen: false,            // shows when the device was last seen e.g. "Device Name - last seen 5 minutes ago"
            			keepAlive: 300,                 // how long (in seconds) a device should be considered 'alive' since it was last found on the network
            			updateInterval: 10,             // how often (in seconds) the module should scan the network
    				residents: [],
            		}        
        		},
    

    Create a working config
    How to add modules

    1 Reply Last reply Reply Quote 0
    • F Offline
      FlatPepsi
      last edited by Mar 5, 2017, 4:12 AM

      You sure you need that last comma on the residents line?

      M 1 Reply Last reply Mar 5, 2017, 4:09 PM Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer @FlatPepsi
        last edited by Mykle1 Mar 5, 2017, 4:10 PM Mar 5, 2017, 4:09 PM

        @FlatPepsi said in MMM-NetWorkScanner:

        You sure you need that last comma on the residents line?

        That config entry has been working since I installed NetworkScanner some weeks ago but I tried that anyway, with negative results. The module loads, as stated above, but all devices appear offline. I looked in dev tools, and where it used to show NetworkScanner activity, it no longer does. However, it does show the module as loading

        0_1488730162067_devCapture.JPG

        Is there a proper way of deleting a module and its dependencies. I simply dragged the NetworkScanner folder to the trash, then reinstalled it from github, and the dependencies, but it still is not reporting those devices as online.

        Create a working config
        How to add modules

        M 1 Reply Last reply Mar 5, 2017, 4:31 PM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @Mykle1
          last edited by Mykle1 Mar 5, 2017, 4:34 PM Mar 5, 2017, 4:31 PM

          I even used several config backups (I save them as I change them for just this type of thing) but they don’t change anything, so I’m sure it is not the config at this point.

          Create a working config
          How to add modules

          M 1 Reply Last reply Mar 5, 2017, 4:54 PM Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer @Mykle1
            last edited by Mykle1 Mar 5, 2017, 4:55 PM Mar 5, 2017, 4:54 PM

            Console report after launching MM

            0_1488732835109_consoleCapture.JPG !

            and

            0_1488732942301_consoleCapture2.JPG

            Create a working config
            How to add modules

            M 1 Reply Last reply Mar 5, 2017, 5:06 PM Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @Mykle1
              last edited by Mykle1 Mar 5, 2017, 9:56 PM Mar 5, 2017, 5:06 PM

              Removed the custom.css entry for NetWorkScanner to see if that helped anything. This keeps going from bad to worse. Not only are the two modules overlapping, but it appears that part of NetWorkScanner has been diced up, and only part of it is overlapping the calendar_monthly, and the other part is below calendar_monthly.

              0_1488733552502_yikesCapture.JPG

              Create a working config
              How to add modules

              M 1 Reply Last reply Mar 5, 2017, 10:08 PM Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer @Mykle1
                last edited by Mar 5, 2017, 10:08 PM

                After a 3rd deletion and re-installation of the module and dependencies with no success, I tried using only macAddress instead of ipAddress in the device list of the config for the module. At least now the module reports the device as online but still won’t recognize any device by ipAddress. Also, the keepAlive: 300, is not working like it used to. The device (iPhone) is not recognized until I do something with it. As soon as my activity with the iPhone is done I get about 10-15 seconds before the module reports the device is offline, so keepAlive is not happening.

                I have all static IP addresses on my devices. The module used to work beautifully with static IP addresses. Not so now.

                        		module: 'MMM-NetworkScanner',
                        		position: 'top_left', 
                        		config: {
                            		devices: [
                                    	{ macAddress: "bc:9f:ef:bb:1c:de", name: "Dove", icon: "medkit"},
                                    	{ macAddress: "e0:b5:2d:d3:e6:26", name: "BottlePop", icon: "globe"},
                                    	{ macAddress: "0c:d7:46:1e:a0:3f", name: "Donna", icon: "venus"},
                			{ macAddress: "64:9a:be:e3:83:6b", name: "Nikki", icon: "coffee"},
                			{ macAddress: "90:b6:86:d2:16:99", name: "Jason", icon: "fire-extinguisher"},
                			{ macAddress: "84:d6:d0:f9:8b:f6", name: "MJD", icon: "child"},
                                		],
                            		showUnknown: false,
                            		showOffline: true,
                			showLastSeen: false,
                            		keepAlive: 300,
                            		updateInterval: 10,
                            		residents: [],
                		}        
                 		},
                

                Anyone want to chime in here?

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • A Offline
                  Albert2002
                  last edited by Apr 21, 2017, 8:11 AM

                  Same problem here. I would love to use the occupiedCMD and vacantCMD.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • 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