@ianperrin great job, thx. But I would like to ask for 2 things:
- in my case does’t work “lastseen”, my config is
{
module: 'MMM-NetworkScanner',
position: 'bottom_right',
config: {
devices: [
//{ macAddress: "00:11:32:43:cd:da", name: "Mobile", icon: "apple"},
{ ipAddress: "xxx.yyy.zzz.001", name: "D", icon: "server"},
{ ipAddress: "xxx.yyy.zzz.002", name: "K", icon: "child"},
{ ipAddress: "xxx.yyy.zzz.003", name: "Z", icon: "apple"},
{ ipAddress: "xxx.yyy.zzz.004", name: "G", icon: "apple"},
{ ipAddress: "xxx.yyy.zzz.005", name: "M", icon: "apple"},
{ ipAddress: "xxx.yyy.zzz.006", name: "A", icon: "bug"},
{ ipAddress: "xxx.yyy.zzz.007", name: "M", icon: "apple"},
],
showUnknown: false,
//debug: false,
showOffline: true,
keepAlive: 300,
updateInterval: 30,
//residents: [],
showLastSeen: true,
//occupiedCMD: {notification: 'REMOTE_ACTION', payload: {action: 'MONITORON'}},
//vacantCMD : {notification: 'REMOTE_ACTION', payload: {action: 'MONITOROFF'}},
}
},
and on my MM is just an icon + name. (In custom.css I just change the color of online/offline devices, but shouldn’t be the problem)
- residents - for what kind of actions could be used? For me will be nice to know, if server falls down I’ll get an e-mail. In general, for what usage is this part of conf? What is the practical way for what/how to use it?
thanks
Zdeněk