@binderth Im guessing that this somehow rotates or makes new logs for anything running on pm2?
Any config steps for this besides just installing it?
@binderth Im guessing that this somehow rotates or makes new logs for anything running on pm2?
Any config steps for this besides just installing it?
Just noticed this myself, that the pm2 logs were getting huge. I scan every 10 seconds, and all those scans were being logged.
Only running on a 8GB SD card
@slametps Yes i did, and that one worked fine using MAC. I have actually reverted back to that one, so I don’t get the ‘last seen’ message anymore.
@slametps Deleted the module and did a fresh install, still showing duplicate entries.
@ianperrin
Yup good work on getting the updates…
MAC is working again, but the entries are all duplicated. ;)
Im sure because you have the firewall on, it won’t ping if thats the case. This is one of the reasons I want to do it by MAC address.
@derek7467
as you said, IP works fine MAC doesn’t… MAC was working up until the update where you could add the ‘last seen xxx min ago’ option.
@BenNewsome
Removed it, did a new clone, and ran the npm install (See Below). Still getting the error that ping is missing and all of my MAC machines are grayed out.
pi@MagicMirror:~/MagicMirror/modules/MMM-NetworkScanner $ cd …
pi@MagicMirror:~/MagicMirror/modules $ sudo rm -r ~/MagicMirror/modules/MMM-Netw orkScanner
pi@MagicMirror:~/MagicMirror/modules $ git clone https://github.com/ianperrin/MM M-NetworkScanner.git
Cloning into ‘MMM-NetworkScanner’…
remote: Counting objects: 132, done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 132 (delta 6), reused 0 (delta 0), pack-reused 116
Receiving objects: 100% (132/132), 80.07 KiB | 0 bytes/s, done.
Resolving deltas: 100% (74/74), done.
Checking connectivity… done.
pi@MagicMirror:~/MagicMirror/modules $ cd /home/pi/MagicMirror/modules/MMM-Netwo rkScanner && npm install
ping@0.1.10 node_modules/ping
└── q@1.4.1
sudo@1.0.3 node_modules/sudo
├── inpath@1.0.2
├── pidof@1.0.2
└── read@1.0.7 (mute-stream@0.0.7)
pi@MagicMirror:~/MagicMirror/modules/MMM-NetworkScanner $
mm-0 (err): at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron-prebuilt/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
mm-0 (err): at Function.Module._load (module.js:403:25)
mm-0 (err): at Module.require (module.js:483:17)
mm-0 (err): at require (internal/module.js:20:19)
mm-0 (err): at Object. (/home/pi/MagicMirror/modules/MMM-NetworkScanner/node_helper.js:10:14)
mm-0 (err): at Module._compile (module.js:556:32)
mm-0 (err): at Object.Module._extensions…js (module.js:565:10)
mm-0 (err): at Module.load (module.js:473:32)
mm-0 (err): at tryModuleLoad (module.js:432:12)
mm-0 (err): { Error: Cannot find module ‘ping’
mm-0 (err): at Module._resolveFilename (module.js:455:15)
mm-0 (err): at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron-prebuilt/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
mm-0 (err): at Function.Module._load (module.js:403:25)
mm-0 (err): at Module.require (module.js:483:17)
mm-0 (err): at require (internal/module.js:20:19)
mm-0 (err): at Object. (/home/pi/MagicMirror/modules/MMM-NetworkScanner/node_helper.js:10:14)
mm-0 (err): at Module._compile (module.js:556:32)
mm-0 (err): at Object.Module._extensions…js (module.js:565:10)
mm-0 (err): at Module.load (module.js:473:32)
mm-0 (err): at tryModuleLoad (module.js:432:12) code: ‘MODULE_NOT_FOUND’ }
mm-0 (out): { macAddress: ‘18:b4:30:1d:f6:50’,
mm-0 (out): name: ‘Nest Thermostat’,
mm-0 (out): icon: ‘dot-circle-o’ },
The mac address scanner was working up until yesterday when a new version came out. If you look at your logs you can see it is doing MAC scanning. Mine keeps throwing an error saying the module ‘ping’ is missing.
I don’t want to scan by IP address because I have some machines that I don’t have ping enabled.
@BenNewsome Sorry… same thing, still says can’t find module ‘ping’.