• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 revisited

Scheduled Pinned Locked Moved Development
4 Posts 3 Posters 1.7k Views 3 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 Apr 30, 2018, 8:57 PM

    [card:ianperrin/MMM-NetworkScanner]

    After a long time in the wilderness, I have found a little time to review the state of this module. Given other commitments, I’m not able to make any promises that everything will be fixed, but I’d like to see what can be done and at least restore broken functionality.

    To kick off, I have pushed a series of updates to the repository as an initial attempt to introduce some fixes. Please feel free to pull these changes and test in your mirror. Due to the state of the current codebase (did I really write this?), it’s possible further issues may be introduced, do please bear with me.

    So, here’s a request. If you use the module, but have issues, can you create (or add to an existing) issue on GitHub. Please provide as much info as possible, including a description of the problem, what you were expecting to happen, the config for the module and any errors from the log and/or browser console.

    If you’re interesting in helping (re)develop this module - this would be much appreciated - send me a direct message.

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

    Z 1 Reply Last reply May 4, 2018, 7:31 AM Reply Quote 1
    • E Offline
      E3V3A
      last edited by May 3, 2018, 7:37 PM

      This works very nicely now!
      Updated the MAC address data files and now everything is recognized.
      I also added a script to make it easier to format the config file with the MACs…

      "Everything I do (here) is for free – altruism is the way!"
      MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

      1 Reply Last reply Reply Quote 0
      • Z Offline
        zdenek @ianperrin
        last edited by May 4, 2018, 7:31 AM

        @ianperrin great job, thx. But I would like to ask for 2 things:

        1. in my case does’t work “lastseen”, my config is
         	       {
              		module: 'MMM-NetworkScanner',
                	position: 'bottom_right', 
                	config: {
                    		devices: [
        	                    	//{ macAddress: "00:11:32:43:cd:da", name: "Mobile", icon: "apple"},
        				{ ipAddress: "xxx.yyy.zzz.001", name: "D", icon: "server"},
        				{ ipAddress: "xxx.yyy.zzz.002", name: "K", icon: "child"},
        				{ ipAddress: "xxx.yyy.zzz.003", name: "Z", icon: "apple"},
        				{ ipAddress: "xxx.yyy.zzz.004", name: "G", icon: "apple"},
        				{ ipAddress: "xxx.yyy.zzz.005", name: "M", icon: "apple"},
        				{ ipAddress: "xxx.yyy.zzz.006", name: "A", icon: "bug"},
        				{ ipAddress: "xxx.yyy.zzz.007", name: "M", icon: "apple"},
                        	],
                    		showUnknown: false,
        			//debug: false,
                    		showOffline: true,
                    		keepAlive: 300,
                    		updateInterval: 30,
                    		//residents: [],
        			showLastSeen: true,
         	                //occupiedCMD: {notification: 'REMOTE_ACTION', payload: {action: 'MONITORON'}},
                    		//vacantCMD  : {notification: 'REMOTE_ACTION', payload: {action: 'MONITOROFF'}},
         			}        
            	      },
        

        and on my MM is just an icon + name. (In custom.css I just change the color of online/offline devices, but shouldn’t be the problem)

        1. residents - for what kind of actions could be used? For me will be nice to know, if server falls down I’ll get an e-mail. In general, for what usage is this part of conf? What is the practical way for what/how to use it?

        thanks
        Zdeněk

        E 1 Reply Last reply May 4, 2018, 9:46 AM Reply Quote 1
        • E Offline
          E3V3A @zdenek
          last edited by May 4, 2018, 9:46 AM

          @zdenek
          Can you post your findings in the github issues pelase?
          I just posted about the same…

          "Everything I do (here) is for free – altruism is the way!"
          MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            3/4
            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