Read the statement by Michael Teeuw here.
MMM-NetworkScanner-loading...indefinitely
-
@sdetweil
Problem is the fact that the CONFIG message is sent from the frontend only at the loading of the page (subclassing START). If the page is still open in the browser it will send SCAN_NETWORK requests periodically which will lead to the situation where the config object is empty when the scan is to be executed, if the service has been restarted meanwhile.Furthermore, if a reload of the page is executed, a CONFIG request is sent to NODE_HELPER which might be busy scanning and it seems as if there is no escape unless the correct sequential order for CONFIG and SCAN_NETWORK is used.
To verify:
1.) Stop loading of the page in browser or navigate to an other page so no SCAN_NETWORK will be created for the device status updates
2.) Stop + restart MM
3.) Reload page / enter start URLThis will lead to the correct order and the programmatic solution is to check if the config object is filled before executing the scan. If not, it has to be reloaded, the CONFIG request in NODE_HELPER can not be used as it uses the payload from the frontend.
-
@todro oh yeh that will be a mess. Hadn’t thought of that, electron will shutdown, but remote page wont
That will be a problem for many modules!
-
@sdetweil
Hi Sam - yes it is already installed.I treid the steps posted by todro (a couple of times).
Here is log output, but MM still shows Devices Online “Loading…”:
[19:46:01.569] [LOG] Use existing news fetcher for url: http://rss.cnn.com/rss/edition.rss [19:46:01.623] [LOG] MMM-NetworkScanner received CONFIG [19:46:01.623] [LOG] MMM-NetworkScanner completed CONFIG [19:46:01.625] [LOG] MMM-NetworkScanner received SCAN_NETWORK [19:46:01.625] [LOG] MMM-NetworkScanner is performing arp-scan [19:46:01.645] [LOG] MMM-NetworkScanner is performing ip address scan [19:46:01.646] [LOG] MMM-NetworkScanner is checking device: Champagne [19:46:01.646] [LOG] MMM-NetworkScanner is pinging 192.168.1.11 [19:46:01.656] [LOG] MMM-NetworkScanner is checking device: Millie [19:46:01.657] [LOG] MMM-NetworkScanner is checking device: Marmite [19:46:01.657] [LOG] MMM-NetworkScanner is pinging 192.168.1.17 [19:46:01.671] [LOG] MMM-NetworkScanner is checking device: JoJo [19:46:01.672] [LOG] MMM-NetworkScanner is pinging 192.168.1.70 [19:46:01.681] [LOG] MMM-NetworkScanner completed SCAN_NETWORK [19:46:01.838] [LOG] MMM-NetworkScanner ping result: [ 'Champagne', true ] [19:46:03.674] [LOG] MMM-NetworkScanner ping result: [ 'Marmite', false ] [19:46:03.685] [LOG] MMM-NetworkScanner ping result: [ 'JoJo', false ] [19:46:30.817] [LOG] MMM-NetworkScanner received SCAN_NETWORK [19:46:30.818] [LOG] MMM-NetworkScanner is performing arp-scan [19:46:30.840] [LOG] MMM-NetworkScanner is performing ip address scan [19:46:30.841] [LOG] MMM-NetworkScanner is checking device: Champagne [19:46:30.842] [LOG] MMM-NetworkScanner is pinging 192.168.1.11 [19:46:30.853] [LOG] MMM-NetworkScanner is checking device: Millie [19:46:30.855] [LOG] MMM-NetworkScanner is checking device: Marmite [19:46:30.856] [LOG] MMM-NetworkScanner is pinging 192.168.1.17 [19:46:30.872] [LOG] MMM-NetworkScanner is checking device: JoJo [19:46:30.873] [LOG] MMM-NetworkScanner is pinging 192.168.1.70 [19:46:30.882] [LOG] MMM-NetworkScanner completed SCAN_NETWORK [19:46:30.895] [LOG] MMM-NetworkScanner ping result: [ 'Champagne', true ] [19:46:32.875] [LOG] MMM-NetworkScanner ping result: [ 'Marmite', false ] [19:46:32.901] [LOG] MMM-NetworkScanner ping result: [ 'JoJo', false ] [19:47:10.155] [LOG] [SIGINT] Received. Shutting down server... [19:47:10.156] [LOG] Stopping module helper: updatenotification [19:47:10.156] [LOG] Stopping module helper: newsfeed [19:47:10.156] [LOG] Stopping module helper: MMM-UKNationalRail [19:47:10.157] [LOG] Stopping module helper: MMM-NetworkScanner [19:47:20.881] [LOG] Starting MagicMirror: v2.10.1 [19:47:20.890] [LOG] Loading config ... [19:47:20.895] [LOG] Loading module helpers ... [19:47:20.896] [LOG] No helper found for module: alert. [19:47:20.930] [LOG] Initializing new module helper ... [19:47:20.931] [LOG] Module helper loaded: updatenotification [19:47:20.932] [LOG] No helper found for module: clock. [19:47:20.932] [LOG] No helper found for module: currentweather. [19:47:21.243] [LOG] Initializing new module helper ... [19:47:21.243] [LOG] Module helper loaded: newsfeed [19:47:21.526] [LOG] Initializing new module helper ... [19:47:21.526] [LOG] Module helper loaded: MMM-UKNationalRail [19:47:21.526] [LOG] No helper found for module: MMM-TFL. [19:47:21.555] [LOG] Initializing new module helper ... [19:47:21.555] [LOG] Module helper loaded: MMM-NetworkScanner [19:47:21.556] [LOG] All module helpers loaded. [19:47:21.556] [LOG] Starting server on port 8080 ... [19:47:21.562] [INFO] You're using a full whitelist configuration to allow for all IPs [19:47:21.569] [LOG] Server started ... [19:47:21.570] [LOG] Connecting socket for: updatenotification [19:47:21.571] [LOG] Connecting socket for: newsfeed [19:47:21.571] [LOG] Starting module: newsfeed [19:47:21.572] [LOG] Connecting socket for: MMM-UKNationalRail [19:47:21.572] [LOG] MMM-UKNationalRail helper started ... [19:47:21.572] [LOG] Connecting socket for: MMM-NetworkScanner [19:47:21.573] [LOG] Starting module in node_helper: MMM-NetworkScanner [19:47:21.573] [LOG] Sockets connected & modules started ... [19:47:21.573] [LOG] Ready to go! Please point your browser to: http://0.0.0.0:8080 [19:47:30.001] [LOG] Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 [19:47:30.035] [LOG] Create new news fetcher for url: http://rss.cnn.com/rss/edition.rss - Interval: 300000 [19:47:30.459] [LOG] MMM-NetworkScanner received CONFIG [19:47:30.460] [LOG] MMM-NetworkScanner completed CONFIG [19:47:30.473] [LOG] MMM-NetworkScanner received SCAN_NETWORK [19:47:30.473] [LOG] MMM-NetworkScanner is performing arp-scan [19:47:30.501] [LOG] MMM-NetworkScanner is performing ip address scan [19:47:30.502] [LOG] MMM-NetworkScanner is checking device: Champagne [19:47:30.503] [LOG] MMM-NetworkScanner is pinging 192.168.1.11 [19:47:30.515] [LOG] MMM-NetworkScanner is checking device: Millie [19:47:30.515] [LOG] MMM-NetworkScanner is checking device: Marmite [19:47:30.516] [LOG] MMM-NetworkScanner is pinging 192.168.1.17 [19:47:30.532] [LOG] MMM-NetworkScanner is checking device: JoJo [19:47:30.533] [LOG] MMM-NetworkScanner is pinging 192.168.1.70 [19:47:30.544] [LOG] MMM-NetworkScanner completed SCAN_NETWORK sudo requires your password: [19:47:30.558] [LOG] MMM-NetworkScanner ping result: [ 'Champagne', true ] [19:47:32.535] [LOG] MMM-NetworkScanner ping result: [ 'Marmite', false ] [19:47:32.547] [LOG] MMM-NetworkScanner ping result: [ 'JoJo', false ] [19:47:59.468] [LOG] MMM-NetworkScanner received SCAN_NETWORK [19:47:59.469] [LOG] MMM-NetworkScanner is performing arp-scan [19:47:59.489] [LOG] MMM-NetworkScanner is performing ip address scan [19:47:59.492] [LOG] MMM-NetworkScanner is checking device: Champagne [19:47:59.494] [LOG] MMM-NetworkScanner is pinging 192.168.1.11 [19:47:59.504] [LOG] MMM-NetworkScanner is checking device: Millie [19:47:59.505] [LOG] MMM-NetworkScanner is checking device: Marmite [19:47:59.506] [LOG] MMM-NetworkScanner is pinging 192.168.1.17 [19:47:59.514] [LOG] MMM-NetworkScanner is checking device: JoJo [19:47:59.514] [LOG] MMM-NetworkScanner is pinging 192.168.1.70 [19:47:59.522] [LOG] MMM-NetworkScanner completed SCAN_NETWORK [19:47:59.525] [LOG] MMM-NetworkScanner ping result: [ 'Champagne', true ] [19:48:01.516] [LOG] MMM-NetworkScanner ping result: [ 'Marmite', false ] [19:48:01.529] [LOG] MMM-NetworkScanner ping result: [ 'JoJo', false ] [19:48:26.714] [LOG] [SIGINT] Received. Shutting down server... [19:48:26.715] [LOG] Stopping module helper: updatenotification [19:48:26.716] [LOG] Stopping module helper: newsfeed [19:48:26.716] [LOG] Stopping module helper: MMM-UKNationalRail [19:48:26.716] [LOG] Stopping module helper: MMM-NetworkScanner [19:48:33.169] [LOG] Starting MagicMirror: v2.10.1 [19:48:33.179] [LOG] Loading config ... [19:48:33.183] [LOG] Loading module helpers ... [19:48:33.185] [LOG] No helper found for module: alert. [19:48:33.220] [LOG] Initializing new module helper ... [19:48:33.221] [LOG] Module helper loaded: updatenotification [19:48:33.221] [LOG] No helper found for module: clock. [19:48:33.222] [LOG] No helper found for module: currentweather. [19:48:33.526] [LOG] Initializing new module helper ... [19:48:33.527] [LOG] Module helper loaded: newsfeed [19:48:33.809] [LOG] Initializing new module helper ... [19:48:33.810] [LOG] Module helper loaded: MMM-UKNationalRail [19:48:33.810] [LOG] No helper found for module: MMM-TFL. [19:48:33.840] [LOG] Initializing new module helper ... [19:48:33.840] [LOG] Module helper loaded: MMM-NetworkScanner [19:48:33.840] [LOG] All module helpers loaded. [19:48:33.841] [LOG] Starting server on port 8080 ... [19:48:33.847] [INFO] You're using a full whitelist configuration to allow for all IPs [19:48:33.854] [LOG] Server started ... [19:48:33.855] [LOG] Connecting socket for: updatenotification [19:48:33.855] [LOG] Connecting socket for: newsfeed [19:48:33.856] [LOG] Starting module: newsfeed [19:48:33.856] [LOG] Connecting socket for: MMM-UKNationalRail [19:48:33.857] [LOG] MMM-UKNationalRail helper started ... [19:48:33.857] [LOG] Connecting socket for: MMM-NetworkScanner [19:48:33.857] [LOG] Starting module in node_helper: MMM-NetworkScanner [19:48:33.858] [LOG] Sockets connected & modules started ... [19:48:33.858] [LOG] Ready to go! Please point your browser to: http://0.0.0.0:8080 [19:48:47.214] [LOG] Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 [19:48:47.247] [LOG] Create new news fetcher for url: http://rss.cnn.com/rss/edition.rss - Interval: 300000 [19:48:47.312] [LOG] MMM-NetworkScanner received CONFIG [19:48:47.313] [LOG] MMM-NetworkScanner completed CONFIG [19:48:47.314] [LOG] MMM-NetworkScanner received SCAN_NETWORK [19:48:47.315] [LOG] MMM-NetworkScanner is performing arp-scan [19:48:47.341] [LOG] MMM-NetworkScanner is performing ip address scan [19:48:47.342] [LOG] MMM-NetworkScanner is checking device: Champagne [19:48:47.342] [LOG] MMM-NetworkScanner is pinging 192.168.1.11 [19:48:47.353] [LOG] MMM-NetworkScanner is checking device: Millie [19:48:47.353] [LOG] MMM-NetworkScanner is checking device: Marmite [19:48:47.354] [LOG] MMM-NetworkScanner is pinging 192.168.1.17 [19:48:47.363] [LOG] MMM-NetworkScanner is checking device: JoJo [19:48:47.364] [LOG] MMM-NetworkScanner is pinging 192.168.1.70 [19:48:47.372] [LOG] MMM-NetworkScanner completed SCAN_NETWORK sudo requires your password: [19:48:47.686] [LOG] MMM-NetworkScanner ping result: [ 'Champagne', true ] [19:48:49.367] [LOG] MMM-NetworkScanner ping result: [ 'Marmite', false ] [19:48:49.381] [LOG] MMM-NetworkScanner ping result: [ 'JoJo', false ] [19:49:16.634] [LOG] MMM-NetworkScanner received SCAN_NETWORK [19:49:16.635] [LOG] MMM-NetworkScanner is performing arp-scan [19:49:16.657] [LOG] MMM-NetworkScanner is performing ip address scan [19:49:16.658] [LOG] MMM-NetworkScanner is checking device: Champagne [19:49:16.658] [LOG] MMM-NetworkScanner is pinging 192.168.1.11 [19:49:16.669] [LOG] MMM-NetworkScanner is checking device: Millie [19:49:16.669] [LOG] MMM-NetworkScanner is checking device: Marmite [19:49:16.670] [LOG] MMM-NetworkScanner is pinging 192.168.1.17 [19:49:16.679] [LOG] MMM-NetworkScanner is checking device: JoJo [19:49:16.681] [LOG] MMM-NetworkScanner is pinging 192.168.1.70 [19:49:16.690] [LOG] MMM-NetworkScanner completed SCAN_NETWORK [19:49:16.702] [LOG] MMM-NetworkScanner ping result: [ 'Champagne', true ] [19:49:18.693] [LOG] MMM-NetworkScanner ping result: [ 'Marmite', false ] [19:49:18.695] [LOG] MMM-NetworkScanner ping result: [ 'JoJo', false ] [19:49:46.639] [LOG] MMM-NetworkScanner received SCAN_NETWORK [19:49:46.640] [LOG] MMM-NetworkScanner is performing arp-scan [19:49:46.670] [LOG] MMM-NetworkScanner is performing ip address scan [19:49:46.670] [LOG] MMM-NetworkScanner is checking device: Champagne [19:49:46.670] [LOG] MMM-NetworkScanner is pinging 192.168.1.11 [19:49:46.680] [LOG] MMM-NetworkScanner is checking device: Millie [19:49:46.681] [LOG] MMM-NetworkScanner is checking device: Marmite [19:49:46.681] [LOG] MMM-NetworkScanner is pinging 192.168.1.17 [19:49:46.703] [LOG] MMM-NetworkScanner is checking device: JoJo [19:49:46.705] [LOG] MMM-NetworkScanner is pinging 192.168.1.70 [19:49:46.716] [LOG] MMM-NetworkScanner completed SCAN_NETWORK [19:49:46.740] [LOG] MMM-NetworkScanner ping result: [ 'Champagne', true ]
-
@jthirasilpa ok. Need to open the developers console, ctrl-shift-i on the keyboard, select the console tab and scroll up to see any errors.
U can also filter by module, by putting part of the module name in the filter field. Network, for example.
The code should be sending messages to the module name.js
-
@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
‘’’
-
@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