MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. slametps
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 5
    • Topics 9
    • Posts 132
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-NetworkScanner help needed

      @Mykle1 said in MMM-NetworkScanner help needed:

      @slametps said in MMM-NetworkScanner help needed:

      @Mykle1 : For now, I downloaded the previous version (tags v0.0.1 before the official bugs free the new version v0.0.2 fixed/released), and work like a charm.

      Very good. :thumbsup:

      I just fresh cloned the (new) latest version (rather than update/git pull), it is working flawlessly now. Thx to @ianperrin.

      posted in Troubleshooting
      slametpsS
      slametps
    • RE: MMM-NetworkScanner help needed

      @izanbard said in MMM-NetworkScanner help needed:

      in this context self has no meaning - add var self = this; to the top of the function or replace self with this

      self is already defined in the original complete code. the original author @ianperrin will take a look into the latest code (v0.0.2, I presume).
      @Mykle1 : For now, I downloaded the previous version (tags v0.0.1 before the official bugs free the new version v0.0.2 fixed/released), and work like a charm.

      git clone --tags v0.0.1 https://github.com/ianperrin/MMM-NetworkScanner.git
      
      posted in Troubleshooting
      slametpsS
      slametps
    • RE: MMM-NetworkScanner help needed

      @Mykle1 said in MMM-NetworkScanner help needed:

      @slametps I think so too. I could not get it to work with MAC addresses. Assigning static IP addresses is the only way I could get it to work, and even that was not perfect, as it would not show my desktop as active , even with a static ip address

      Unfortunately, mine was not working, neither MAC nor IP. :sob:
      While I tracing the execution through console log, the problem is in here:

      ...
      payload.forEach(function (item) {
                      var device = self.getDeviceByMacAddress(item); // device is null, although self.getDeviceByMacAddress() return not null. still no idea.
                      console.log("devices: " + device);
                      if (device) {
                          device.online = true;
                          device.lastSeen = moment();
                          self.networkDevices.push(device);
                      }
                  });
      ...
      
      posted in Troubleshooting
      slametpsS
      slametps
    • RE: MMM-NetworkScanner

      @Mykle1

      @Mykle1 said in MMM-NetworkScanner:

      @slametps Yes, at first the same thing happened to me.

      This might seem obvious but did you change your config.js to ipAddress instead of macAddress?

      I add new entries with ipAddress, but did not recognized. All displayed MAC (with showUnknown: true) already defined as entries with macAddress, but it said as Unknown devices.

      posted in Utilities
      slametpsS
      slametps
    • RE: MMM-NetworkScanner

      @Mykle1 I’m already assigned static IP for all my devices connected to the router. When I set config showUnknown: true, the module display all detected devices (of course only display MAC addresses in upper-case), instead displaying the proper device name I set in the config.

      posted in Utilities
      slametpsS
      slametps
    • RE: MMM-NetworkScanner

      @derek7467

      @derek7467 said in MMM-NetworkScanner:

      Only difference between you and I is you run the install with the &&. Remove it again, rerun from the beginning and manually CD into the directory and run the install from there. Skip using the && to install all in one shot.

      Still no luck. Neither MAC or IP.

      posted in Utilities
      slametpsS
      slametps
    • RE: MMM-NetworkScanner

      @pugsly Unfortunately, mine is not working anymore, neither MAC or IP. :sob:

      posted in Utilities
      slametpsS
      slametps
    • RE: MMM-NetworkScanner help needed

      @Mykle1 yap, mine is no longer working after updating the module :'( I think there is something wrong with the new module for MAC comparison. Hope the author fix this soon.

      posted in Troubleshooting
      slametpsS
      slametps
    • RE: MMM-NetworkScanner help needed

      @Mykle1 sorry, my bad. The correct one:

      sudo arp-scan -l -q
      
      posted in Troubleshooting
      slametpsS
      slametps
    • RE: MMM-NetworkScanner help needed

      @Mykle1 try to execute the following in shell:

      arp-scan -l -q
      

      Compare all the scanned MAC with your MAC device entries in MMM-NetworkScanner.

      posted in Troubleshooting
      slametpsS
      slametps
    • 1
    • 2
    • 10
    • 11
    • 12
    • 13
    • 14
    • 12 / 14