Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax issue #1

Closed
plumcraft opened this issue Oct 4, 2016 · 1 comment
Closed

Syntax issue #1

plumcraft opened this issue Oct 4, 2016 · 1 comment

Comments

@plumcraft
Copy link

Hello,

Thanks for your module, i've tried your config file but i got some syntax issues.
I've change ";" by "," when necessary and it works now :

Here my config file :
{
module: 'MMM-NetworkScanner',
position: 'top_left',
config: {
devices: [
{ macAddress: "1a:1b:1c:1a:1b:1c", name: "Server", icon: "server"},
{ macAddress: "2a:2b:2c:2a:2b:2c", name: "Desktop", icon: "desktop"},
{ macAddress: "3a:3b:3c:3a:3b:3c", name: "Laptop", icon: "laptop"},
{ macAddress: "4a:4b:4c:4a:4b:4c", name: "Laptop", icon: "laptop"}
],
showUnknown: false,
showOffline: true,
keepAlive: 300,
updateInterval: 5
}
}

@ianperrin
Copy link
Owner

Great pick up @plumcraft - I've updated the example in the ReadMe file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants