MMM-NetWorkScanner


  • Module Developer

    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: [],
            		}        
        		},
    


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


  • Module Developer

    @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.


  • Module Developer

    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.


  • Module Developer

    Console report after launching MM

    0_1488732835109_consoleCapture.JPG !

    and

    0_1488732942301_consoleCapture2.JPG


  • Module Developer

    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


  • Module Developer

    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?



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


Log in to reply
 

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