Read the statement by Michael Teeuw here.
MMM-NetworkScanner returns error
-
Whenever start the MagicMirror with the network scanner modul installed i get the error described here.
https://github.com/ianperrin/MMM-NetworkScanner/issues/8
There error says : TypeError: Cannot read property 'devices' of undefinedYou can see my config here
{ module: 'MMM-NetworkScanner', position: 'top_right', classes: 'network', config: { devices: [ { ipAddress: "192.168.0.5", name: "Qnap", icon: "server"}, { ipAddress: "192.168.0.6", name: "AquariumPi", icon: "tint"}, { macAddress: "48:3c:0c:84:08:98", name: "Marie-Huawei", icon: "female"}, { macAddress: "c0:ee:fb:4a:7a:cf", name: "Morten-OnePlus", icon: "male"}, ], showUnknown: false } }, -
Try removing the trailing comma on the last line of macAddr, eg;
{ module: 'MMM-NetworkScanner', position: 'top_right', classes: 'network', config: { devices: [ { ipAddress: "192.168.0.5", name: "Qnap", icon: "server"}, { ipAddress: "192.168.0.6", name: "AquariumPi", icon: "tint"}, { macAddress: "48:3c:0c:84:08:98", name: "Marie-Huawei", icon: "female"}, { macAddress: "c0:ee:fb:4a:7a:cf", name: "Morten-OnePlus", icon: "male"} ], showUnknown: false } },In addition, restart your ‘browser’.
-
That seems to work. Thanks
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login