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
Event reset threshold #661
Comments
Implement as a delay on both states, currently we only have a delay on the detection state. |
In my exploring implementation, I decided the event detector should still be detecting the event state the whole time, and then if the quiescent period elapses and the detector would have been active because its condition is met (read: the duration to raise the event doesn't begin at the end of quiescence) the quiescent task will raise the event. |
Ready for testing in the quiescentEvents branch. Probably missing from API models and whatnot, though |
also it was my judgement the quiescent period shouldn't begin for events that return to normal until they have returned to normal, such that if they were active for longer than the quiescent period they would still have a quiescent period (and they cannot be raised again while still active, anyway) |
Mango allows a minimum amount of time before an event is generated; is there a way to implement a hysteresis-mitigation algorithm, so it won't consider a new event unless the condition has NOT been met for t time? Should I create a meta point to determine such fluctuation on borderline inputs?
For example, we have a wet floor sensor that as the water dries will vacillate between reporting wet/dry, generating potentially thousands of "new" events as the result of transitioning back & forth.
The text was updated successfully, but these errors were encountered: