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.

    MMM-NetworkScanner

    Scheduled Pinned Locked Moved Utilities
    networkscannerstatusmac address
    117 Posts 32 Posters 195.9k Views 33 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.
    • I Offline
      ianperrin
      last edited by ianperrin

      Here is a module I have been working on to display the status of devices on the network.

      [card:ianperrin/MMM-NetworkScanner]

      The original concept was to display an indicator of who was at home based on whether the persons phone was connected to the network (see below). As these devices have dynamic IP addresses, MMM-Ping was not an option so I temporarily created this module to show the status of these devices based on their MAC Address.

      who is at home

      There are many other ways to use the module, including displaying (monitor?) the status of some/all devices connected to the network, though I’m not sure the MagicMirror it is the best place for this :)

      As ever this is work in progress, so check out the ReadMe file for installation and configuration notes, keep your module updated and do report any issues

      cc. @shashank @strawberry-3-141

      "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

      S 1 Reply Last reply Reply Quote 6
      • D Offline
        desq
        last edited by desq

        Hi ianperrin,

        I´m just getting a “loading”-Output.
        Even I did the “npm install” I get this;

        “MMM-NetworkScanner received SCAN_NETWORK
        MMM-NetworkScanner is scanning for mac addresses
        MMM-NetworkScanner received an error running arp 1 sudo: arp-scan: command not found”

        Okay my fault. RTFM
        (I did a “sudo apt-get install arp-scan” and now it´s working.)

        Thanks, desq

        strawberry 3.141S 1 Reply Last reply Reply Quote 0
        • strawberry 3.141S Offline
          strawberry 3.141 Project Sponsor Module Developer @desq
          last edited by

          @desq are you sure you did this step?

          cd ~/
          sudo apt-get install arp-scan   
          

          Please create a github issue if you need help, so I can keep track

          D 1 Reply Last reply Reply Quote 1
          • D Offline
            desq @strawberry 3.141
            last edited by

            @strawberry-3.141 now i did. I know. RTFM.

            1 Reply Last reply Reply Quote 1
            • S Offline
              shashank @ianperrin
              last edited by

              @ianperrin Thanks this module working great, now my MM inside the house can display once my car reaches Basement Parking as shown in the screenshot

              0_1474644592388_upload-270e49b3-7399-421e-aa65-71a81d30c01a

              1 Reply Last reply Reply Quote 2
              • D Offline
                DevilRev
                last edited by

                I’m quite new to this and would like the line seperator with headline which is missing for me, can you explain (eli5) to me how to add it like in your screenshot with a custom title?

                I 1 Reply Last reply Reply Quote 0
                • I Offline
                  ianperrin @DevilRev
                  last edited by

                  @DevilRev

                  The header config is actually not specific to MMM-NetworkScanner, and can in fact be configured for any module. Try this

                      {
                          module: 'MMM-NetworkScanner',
                          header: 'Who is home',
                          position: 'top_left', 
                          config: {
                              // Optional config options
                          }        
                      },
                  

                  "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    DevilRev @ianperrin
                    last edited by

                    @ianperrin Well. I feel kinda stupid but thank you!

                    I 1 Reply Last reply Reply Quote 0
                    • I Offline
                      ianperrin @DevilRev
                      last edited by

                      @DevilRev there no such thing as a stupid question so keep asking away… ;)

                      "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

                      Mykle1M 1 Reply Last reply Reply Quote 0
                      • K Offline
                        kclemen
                        last edited by kclemen

                        Cool module, shows directly the mobiles based on their MAC adress nicely. However, the online status is not displayed (yes, wifi is on and the mac addresses are correct :)). Any idea?

                        EDIT; seems that only lowercase MAC adress work. My mobile phone just popped up, after changing the MAC address from uppercase (copy of advanced ip scanner) to lowercase.

                        I 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 11
                        • 12
                        • 1 / 12
                        • 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