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

Any or All #7

Open
jmfrancofraiz opened this issue Sep 8, 2018 · 1 comment
Open

Any or All #7

jmfrancofraiz opened this issue Sep 8, 2018 · 1 comment

Comments

@jmfrancofraiz
Copy link

It'd be nice if you could set the type of combination you want to check for presence when there are several addresses. As far as I could test, if you use several comma separated addresses, true is return when ALL are present, false otherwise. I'd like the node to return true if ANY is present. Maybe you could add a new setting to set ANY or ALL, or maybe some type of notation for the Devices setting, like "(mac1 || mac2) && mac3"...

@borpin
Copy link

borpin commented Nov 26, 2018

I have submitted PR #9 which includes a new emitter that reports every ping so you can use the result as required.

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