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

Negative Threshold? #6

Open
Bierchermuesli opened this issue Mar 28, 2022 · 2 comments
Open

Negative Threshold? #6

Bierchermuesli opened this issue Mar 28, 2022 · 2 comments

Comments

@Bierchermuesli
Copy link

Bierchermuesli commented Mar 28, 2022

Hi

Stupid question: how do I define negative Thresholds?

Use Case: All Values from -60 to -85dBm
my idea: -60:-85
in code: regex

Sadly there is no negative sample listed in the plugin guideline.

@volalla
Copy link

volalla commented Jan 4, 2024

Hi,

It's not a stupid question. I found the same problem and made a pull request to accept negative character (-) in regex.
#9

For your example, I think the correct threshold should be "-85:-60".

@Bierchermuesli
Copy link
Author

yay thanks for your feedback. as long I had a second opinion I waitet for PR suggestion. thanks for your PR I will try it.

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