Read the statement by Michael Teeuw here.
MMM-NetworkScanner-loading...indefinitely
-
@jthirasilpa said in MMM-NetworkScanner-loading...indefinitely:
@sdetweil
This is what is showing in the console…‘’’
Load script: modules/MMM-NetworkScanner//MMM-NetworkScanner.js loader.js:179:8
Module registered: MMM-NetworkScanner module.js:476:6
Bootstrapping module: MMM-NetworkScanner loader.js:150:7
Scripts loaded for: MMM-NetworkScanner loader.js:155:8
Load stylesheet: modules/MMM-NetworkScanner/MMM-NetworkScanner.css loader.js:194:8
Styles loaded for: MMM-NetworkScanner loader.js:157:9
Translations loaded for: MMM-NetworkScanner loader.js:159:10
Starting module: MMM-NetworkScanner MMM-NetworkScanner.js:37:7
MMM-NetworkScanner config:
Object { devices: (4) […], network: “-l”, showUnknown: false, showOffline: true, showLastSeen: true, keepAlive: 600, updateInterval: 30, sort: true, residents: [], occupiedCMD: null, … }
MMM-NetworkScanner.js:38:30
MMM-NetworkScanner is initiating network scan MMM-NetworkScanner.js:273:30
MMM-NetworkScanner received a notification: IP_ADDRESS
Object { ipAddress: “192.168.1.11”, name: “Champagne”, icon: “server”, color: “#ffffff”, showOffline: true, online: true }
MMM-NetworkScanner.js:70:30
MMM-NetworkScanner IP_ADDRESS device:
Array [ “Champagne”, true ]
MMM-NetworkScanner.js:80:31
MMM-NetworkScanner is updating device status.
Array [ “Champagne”, true ]
MMM-NetworkScanner.js:284:31
MMM-NetworkScanner Champagne is online MMM-NetworkScanner.js:295:31
MMM-NetworkScanner received a notification: IP_ADDRESS
Object { ipAddress: “192.168.1.17”, name: “Marmite”, icon: “server”, color: “#ffffff”, showOffline: true, online: false }
MMM-NetworkScanner.js:70:30
MMM-NetworkScanner IP_ADDRESS device:
Array [ “Marmite”, false ]
MMM-NetworkScanner.js:80:31
MMM-NetworkScanner is updating device status.
Array [ “Marmite”, false ]
MMM-NetworkScanner.js:284:31
MMM-NetworkScanner Marmite is offline MMM-NetworkScanner.js:295:31
MMM-NetworkScanner received a notification: IP_ADDRESS
Object { ipAddress: “192.168.1.70”, name: “JoJo”, icon: “male”, color: “#ffffff”, showOffline: true, online: false }
MMM-NetworkScanner.js:70:30
MMM-NetworkScanner IP_ADDRESS device:
Array [ “JoJo”, false ]
MMM-NetworkScanner.js:80:31
MMM-NetworkScanner is updating device status.
Array [ “JoJo”, false ]
MMM-NetworkScanner.js:284:31
MMM-NetworkScanner JoJo is offline MMM-NetworkScanner.js:295:31
MMM-NetworkScanner received a notification: IP_ADDRESS
Object { ipAddress: “192.168.1.11”, name: “Champagne”, icon: “server”, color: “#ffffff”, showOffline: true, online: true }
MMM-NetworkScanner.js:70:30
MMM-NetworkScanner IP_ADDRESS device:
Array [ “Champagne”, true ]
MMM-NetworkScanner.js:80:31
MMM-NetworkScanner is updating device status.
Array [ “Champagne”, true ]
MMM-NetworkScanner.js:284:31
MMM-NetworkScanner Champagne is online MMM-NetworkScanner.js:295:31
MMM-NetworkScanner received a notification: IP_ADDRESS
Object { ipAddress: “192.168.1.17”, name: “Marmite”, icon: “server”, color: “#ffffff”, showOffline: true, online: false }
MMM-NetworkScanner.js:70:30
MMM-NetworkScanner IP_ADDRESS device:
Array [ “Marmite”, false ]
MMM-NetworkScanner.js:80:31
MMM-NetworkScanner is updating device status.
Array [ “Marmite”, false ]
MMM-NetworkScanner.js:284:31
MMM-NetworkScanner Marmite is offline MMM-NetworkScanner.js:295:31
MMM-NetworkScanner received a notification: IP_ADDRESS
{…}
color: “#ffffff”
icon: “male”
ipAddress: “192.168.1.70”
name: “JoJo”
online: false
showOffline: true
: Object { … }
MMM-NetworkScanner.js:70:30
MMM-NetworkScanner IP_ADDRESS device:
Array [ “JoJo”, false ]
MMM-NetworkScanner.js:80:31
MMM-NetworkScanner is updating device status.
Array [ “JoJo”, false ]
MMM-NetworkScanner.js:284:31
MMM-NetworkScanner JoJo is offline MMM-NetworkScanner.js:295:31
MMM-NetworkScanner received a notification: IP_ADDRESS
Object { ipAddress: “192.168.1.11”, name: “Champagne”, icon: “server”, color: “#ffffff”, showOffline: true, online: true }
MMM-NetworkScanner.js:70:30
MMM-NetworkScanner IP_ADDRESS device:
Array [ “Champagne”, true ]
MMM-NetworkScanner.js:80:31
MMM-NetworkScanner is updating device status.
Array [ “Champagne”, true ]
MMM-NetworkScanner.js:284:31
MMM-NetworkScanner Champagne is online MMM-NetworkScanner.js:295:31
MMM-NetworkScanner received a notification: IP_ADDRESS
Object { ipAddress: “192.168.1.17”, name: “Marmite”, icon: “server”, color: “#ffffff”, showOffline: true, online: false }
MMM-NetworkScanner.js:70:30
MMM-NetworkScanner IP_ADDRESS device:
Array [ “Marmite”, false ]
MMM-NetworkScanner.js:80:31
MMM-NetworkScanner is updating device status.
Array [ “Marmite”, false ]
MMM-NetworkScanner.js:284:31
MMM-NetworkScanner Marmite is offline MMM-NetworkScanner.js:295:31
MMM-NetworkScanner received a notification: IP_ADDRESS
Object { ipAddress: “192.168.1.70”, name: “JoJo”, icon: “male”, color: “#ffffff”, showOffline: true, online: false }
MMM-NetworkScanner.js:70:30
MMM-NetworkScanner IP_ADDRESS device:
Array [ “JoJo”, false ]
MMM-NetworkScanner.js:80:31
MMM-NetworkScanner is updating device status.
Array [ “JoJo”, false ]
MMM-NetworkScanner.js:284:31
MMM-NetworkScanner JoJo is offline MMM-NetworkScanner.js:295:31
‘’’
Ok, so the data is making it there…
Can u change the module position to top_left for a test? -
Hi Sam - yes - changed to top_left. Still “Loading…” If I go into the developers console, and search in the text field for “error” it only brings up the following (although the top of the console indicates that there are 3 errors)
loader.js:203 Error on loading stylesheet: css/custom.css
-
@jthirasilpa ok, after looking thru the code, I dont see the mac addresses in the modulename.js…
so, can u open a terminal window on the pi and do
sudo arp-scan -l
-
@sdetweil Here is the scan result:
Interface: enp1s0, datalink type: EN10MB (Ethernet) Starting arp-scan 1.9 with 256 hosts (http://www.nta-monitor.com/tools/arp-scan/ ) 192.168.1.1 f4:f2:6d:9f:72:89 TP-LINK TECHNOLOGIES CO.,LTD. 192.168.1.15 c0:3f:d5:65:06:6f Elitegroup Computer Systems Co.,Ltd. 192.168.1.50 e0:2f:6d:62:b6:d5 Cisco Systems, Inc 192.168.1.52 00:15:65:70:6b:f9 XIAMEN YEALINK NETWORK TECHNOLOGY CO.,LT D 192.168.1.53 00:15:65:bb:a0:8d XIAMEN YEALINK NETWORK TECHNOLOGY CO.,LT D 192.168.1.101 7c:2f:80:6e:56:ff Gigaset Communications GmbH 192.168.1.103 78:3e:53:40:9b:97 BSkyB Ltd 192.168.1.105 d8:cb:8a:71:a5:f5 Micro-Star INTL CO., LTD. 192.168.1.108 08:05:81:f5:8c:2e Roku, Inc. 192.168.1.109 10:62:e5:ac:b9:f7 Hewlett Packard 192.168.1.111 f0:1d:bc:8e:da:fa Microsoft Corporation 13 packets received by filter, 0 packets dropped by kernel Ending arp-scan 1.9: 256 hosts scanned in 4.391 seconds (58.30 hosts/sec). 11 re sponded
-
@jthirasilpa change showUnknown: to true in config.js…
ip addresses 11, 17, and 70 are not known according to the arp scan
-
Hi Sam - they were not at the time of the scan, but they have been picked up in console messages previously. For example:
Shouldn’t that then show up on the Mirror?
-
@jthirasilpa not my module. Trying to help
-
@sdetweil Hi Sam - I appreciate your assistance. I am actually asking that question legitimately out of ignorance. I assume that if it appears in the console as follows:
Object { ipAddress: “192.168.1.11”, name: “Champagne”, icon: “server”, color: “#ffffff”, showOffline: true, online: true }
then it would be show up in the Mirror, but maybe there are several steps in between…
In any case - thanks for your help.
-
@jthirasilpa it matches the IP address with the scanned Mac addresses.
If not in the Mac addresses it is not shown.In debug mode I get a big blast of the Mac address info displayed every time there is a scan
-
@sdetweil OK - do not have access to machine now, but will have a look later. Thanks.