ianperrin / MMM-NetworkScanner

A module for MagicMirror which determines the status of devices on the network based on their MAC or IP address

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suspend/resume scanning when the module is hidden/shown

wi-brewer opened this issue · comments

Hi, sorry this is not a bug.

I think it would be cool if you could specify that we only scan for occupants during a specific time range. For example I don't want or need it to scan if I am on the network while I'm sleeping.

commented

@wi-brewer If you don't need to scan you can always enable/disable the module with a cron job. (There is another module that make this easy for you, but I forgot which one.) So I don't see the need to add that functionality into the module.

commented

@E3V3A - would that be MMM-ModuleScheduler by any chance? :)

commented

@wi-brewer - if you want to hide the module at certain times, you can do so with MMM-ModuleScheduler

An enhancement to MMM-NetworkScanner would be to suspend the scanning activity whilst the module was hidden and resume again when it is shown again.

Additionally, adding support for suspending scanning if a resident is not online is another enhancement for consideration