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] disable logging

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    16 Posts 5 Posters 7.1k Views 6 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.
    • binderthB Offline
      binderth @ianperrin
      last edited by binderth

      @ianperrin I don’t get anymore logging from MMM-Networkscanner after git pull & npm install, but I also don’t get to see my devices, they all seem offline.

      		{
      			module: 'MMM-NetworkScanner',
      			position: 'top_right',
      			header: 'Binder Handys',
      			config: {
      				devices: [
      					{ ipAddress: "192.168.xx.x", name: "S", icon: "mobile"},
       					{ ipAddress: "192.168.xx.x", name: "A", icon: "mobile"},
      					{ ipAddress: "192.168.xx.x", name: "T", icon: "mobile"},
       					{ ipAddress: "192.168.xx.x", name: "D", icon: "mobile"},
      					],
      					showUnknown: false,
      					showOffline: true,
      					showLastSeen: false,
      					keepAlive: 180,
      					debug: false,
      					updateInterval: 30,
      				}        
      		},
      

      in the mm-out-0.log:

      Connecting socket for: MMM-NetworkScanner
      Starting module: MMM-NetworkScanner
      (...)
      MMM-NetworkScanner received CONFIG
      

      edit:
      after changing debug: true, in the config and pm2 restart mm I experience the same behaviour.
      after deleting the debug-line completely, nothing changes also.

      I Mykle1M 2 Replies Last reply Reply Quote 0
      • I Offline
        ianperrin @binderth
        last edited by

        @binderth

        Did you restart the mirror after the upgrade?
        Are there any errors in the browser console?
        What happens if debug is set to true?

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

        binderthB 1 Reply Last reply Reply Quote 1
        • binderthB Offline
          binderth @ianperrin
          last edited by binderth

          @ianperrin said in [MMM-NetworkScanner] disable logging:

          Did you restart the mirror after the upgrade?
          Are there any errors in the browser console?
          What happens if debug is set to true?

          as described, I did a pm2 restart mm, the behaviour is the same if debug: true as described.

          the browser console re MMM-NetworkScanner:

          loader.js:182 Load script: modules/MMM-NetworkScanner//MMM-NetworkScanner.js
          module.js:415 Module registered: MMM-NetworkScanner
          loader.js:152 Bootstrapping module: MMM-NetworkScanner
          loader.js:227 File already loaded: moment.js
          loader.js:157 Scripts loaded for: MMM-NetworkScanner
          loader.js:227 File already loaded: font-awesome.css
          loader.js:159 Styles loaded for: MMM-NetworkScanner
          loader.js:161 Translations loaded for: MMM-NetworkScanner
          (...)
          MMM-NetworkScanner.js:32 Starting module: MMM-NetworkScanner
          (...)
          module.js:117 MMM-NetworkScanner received a system notification: ALL_MODULES_STARTED
          (...)
          module.js:117 MMM-NetworkScanner received a system notification: DOM_OBJECTS_CREATED
          (...)
          module.js:115 MMM-NetworkScanner received a module notification: CURRENTWEATHER_DATA from sender: currentweather
          (...)
          module.js:115 MMM-NetworkScanner received a module notification: CALENDAR_EVENTS from sender: calendar
          (...)
          

          still, all devices are shown offline:
          0_1487415081291_upload-a204f2e9-3ec0-474c-9bf4-f8d6a2eac761

          hth! Thanks for your effort!

          1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @binderth
            last edited by

            @binderth said in [MMM-NetworkScanner] disable logging:

            MMM-NetworkScanner received CONFIG

            This started happening yesterday to me, too. Now only macAddress works. ipAddress no longer works. And it used to work perfectly. I started a new topic. Forgive me for that. I was in a panic. Still am.

            MMM-NetworkScanner received CONFIG

            Create a working config
            How to add modules

            Mykle1M 1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @Mykle1
              last edited by

              I spent a good amount of time with this, yesterday and today.

              module: 'MMM-NetworkScanner',
                      		position: 'top_left', 
                      		config: {
              			debug: false,
                          		devices: [
                                  	{ macAddress: "bc:9f:ef:bb:1c:de", name: "Dove", icon: "medkit"},
                                  	{ macAddress: "e0:b5:2d:d3:e6:26", name: "BottlePop", icon: "globe"},
                                  	{ macAddress: "0c:d7:46:1e:a0:3f", name: "Donna", icon: "venus"},
              			{ macAddress: "64:9a:be:e3:83:6b", name: "Nikki", icon: "coffee"},
              			{ macAddress: "90:b6:86:d2:16:99", name: "Jason", icon: "fire-extinguisher"},
              			{ macAddress: "84:d6:d0:f9:8b:f6", name: "MJD", icon: "child"}
                              		],
                          		showUnknown: false,
                          		showOffline: true,
              			showLastSeen: false,
                          		keepAlive: 180,
                          		updateInterval: 10,
                          		residents: ["BottlePop"],
              

              Here are my cells phones using macAddress because ipAddress no longer works for me. With residents: set as above, BottlePop appears online always, even when the phone is powered off for 20 minutes. If I set residents as such, [“BottlePop”, “Dove”, “Donna”], then BottlePop blinks on and off about every 10 seconds. If I have residents set to [], then each device goes online briefly and then offline until the device is used again

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • michael24hM Offline
                michael24h
                last edited by

                @Mykle1 said in [MMM-NetworkScanner] disable logging:

                icon: “venus”}

                What are material icons?

                Mykle1M 1 Reply Last reply Reply Quote 0
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @michael24h
                  last edited by

                  @michael24h said in [MMM-NetworkScanner] disable logging:

                  What are material icons?

                  Dunno, but you can choose any of the icons at this site for use with MMM-NetworkScanner

                  http://fontawesome.io/icons/

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • michael24hM Offline
                    michael24h
                    last edited by

                    @Mykle1 said in [MMM-NetworkScanner] disable logging:

                    material icons?

                    full set icons (Library),
                    I need airport extreme icon

                    1 Reply Last reply Reply Quote 0
                    • michael24hM Offline
                      michael24h
                      last edited by

                      @Mykle1 said in [MMM-NetworkScanner] disable logging:

                      Dunno

                      can’t find airport ext. so wifi might do.

                      Mykle1M 1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @michael24h
                        last edited by

                        @michael24h said in [MMM-NetworkScanner] disable logging:

                        can’t find airport ext. so wifi might do.

                        Well, that sounds good. They don’t have EVERY icon but I found some that work perfectly for me

                        Create a working config
                        How to add modules

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 2 / 2
                        • 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