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.

    Problem with using mac addresses for MMM-NetworkScanner

    Scheduled Pinned Locked Moved Solved Troubleshooting
    4 Posts 2 Posters 912 Views 2 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.
    • J Offline
      jav26122
      last edited by

      I’m working on getting the MMM-NetworkScanner module working but I’ve hit a wall and I just don’t know what I’m doing wrong at this point. My issue is that I can’t get this module to work with mac addresses. It only shows devices connected to the local network with an ip address. Since local ip’s tend to change and I’d like to assign permanent names to the devices I’d prefer to use mac addresses. The problem is that the networkscanner can never find any devices via mac address. I copied and pasted the address directly from my network’s client list here :
      0_1558978075102_4251a828-6603-4c0e-ac8b-69ae72224c0e-image.png

      Here is my config for the module:

      {
                              module: "MMM-NetworkScanner",
                              position: "bottom_right",
                              header: "Who's home:",
                              classes: "network",
                              config:
                              {
                                      devices:
                                      [
                                              {
                                                      macAddress: "cc:61:e5:54:03:fd", name: "Phone1", icon: "male"
                                              },
                                              {
                                                      macAddress: "cc:62:e5:52:03:fd", name: "test", icon: "female"
                                              },
                                      ],
                                      updateInterval: "2",
                                      showLastSeen: "true",
                                      showLastSeenWhenOffline: "true",
                                      keepAlive: "5",
                                      showUnknown: "false",
                                      showOffline: "true",
                              }
                      },
      

      Testing the same thing with the local ip address of that device works perfectly fine, ex using ipAddress: “192.168.0.26”. Phone1 is an actual device while test is just made-up.

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil
        last edited by sdetweil

        Did u run the device scanner the module provides?

        Are the devices wifi, located on the other side of a switch?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 1
        • J Offline
          jav26122
          last edited by

          Ahhhh I was making configuration changes on a different device and then transferred the files over to my pi. I forgot to install arp-scan on my pi.
          Thanks

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @jav26122
            last edited by

            @jav26122 cool … we all do that.

            I spent an hour or so this last week making changes to my mm setup in a separate copy.
            I made some changes, restarted. No effect etc. Etc… Til I realized I was editing one and running another . Never works that way!!

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            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