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

Suspend/resume scanning when the module is hidden/shown #22

Open
wi-brewer opened this issue Apr 30, 2018 · 3 comments
Open

Suspend/resume scanning when the module is hidden/shown #22

wi-brewer opened this issue Apr 30, 2018 · 3 comments

Comments

@wi-brewer
Copy link

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.

@E3V3A
Copy link
Contributor

E3V3A commented May 2, 2018

@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.

@ianperrin
Copy link
Owner

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

@ianperrin
Copy link
Owner

@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

@ianperrin ianperrin changed the title Feature request - only scan during specified time period Suspend/resume scanning when the module is hidden/shown May 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants