A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
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 undefined
You 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