-
Notifications
You must be signed in to change notification settings - Fork 32
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
Trigger Node need a >= and <= comparison #81
Comments
Are there other conditions or can you provide more context to what you're trying to accomplish? It seems odd to want to trigger on ANY value. |
@x99percent This trigger node is connected to the That's why the trigger node is not triggered when it jumps from |
There are ways to do what you're talking about, but trying to catch exactly -5.00 is not the way to do it. Other than that, you might want to consider using node-red-contrib-time-range-switch. |
Using a delay node (built into Node-RED) will get you that single trigger behavior.
|
Is your feature request related to a problem? Please describe.
I've a trigger node with these conditions:
This node is NOT triggered when the input/state looks like this:
-4.99
-5.00
<- because this is not less than -5.00 (it is less than or equal to)-5.01
This node is triggered when the input/state looks like this:
-4.99
-5.01
Describe the solution you'd like
Add >= (greater equal) and <= (less equal) option to choose from.
Additional context
Using IS is not a option. This state sometimes skip
-5.00
and sometimes not.The text was updated successfully, but these errors were encountered: