Skip to content

Add some filtering to power/current measurements#60

Open
jlindgren90 wants to merge 1 commit into
valr:masterfrom
jlindgren90:filtering
Open

Add some filtering to power/current measurements#60
jlindgren90 wants to merge 1 commit into
valr:masterfrom
jlindgren90:filtering

Conversation

@jlindgren90

Copy link
Copy Markdown

This adds some filtering to the "current_now" or "power_now" readings, which keeps the remaining time estimate from jumping around quite so much.

MAX_SAMPLES = 60 gives 5 minutes of filtering at the default 5-second interval.

@jlindgren90

Copy link
Copy Markdown
Author

@valr Friendly ping - would you be able to review this improvement? I've been using it for quite some time now with no issues.

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

Successfully merging this pull request may close these issues.

1 participant