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
Add a Range Filter profile #3534
Conversation
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/reasonableness-constraints/145795/26 |
c51cb0e
to
c41ff63
Compare
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
I suspect if you make it someone somewhere will use it. The Thinking through some use cases:
It makes a lot of sense to have one profile that can handle all these (and any others I've not thought of. |
I've presented several options in the forums, all of which can be implemented, giving user the choice of method to use
Either a range or an outlier filter can handle this
A moving average filter can handle this - but it's different from an outlier filter.
Currently this PR only supports numeric channels / items. Perhaps for this, we need a different type of filter, e.g. For numeric items, it can be done using this range profile |
Will something like https://www.home-assistant.io/integrations/filter/#time-simple-moving-average also be supported? Currently I'm using something like
to smoothen my temperature readings but having a profile to do the job would be imho nicer ... |
I think that belongs in a separate profile (to be created) called |
Closing this because it needs to go into an addon |
Add a
range-filter
profile to allow/discard values inside a given range.Example .items file:
Config in the Main UI: