Flow rate calculation and predictive target weight - #620
Open
scottcondie24 wants to merge 1 commit into
Open
Conversation
scottcondie24
marked this pull request as draft
January 4, 2026 10:13
scottcondie24
force-pushed
the
flow-rate
branch
3 times, most recently
from
January 6, 2026 20:12
f21f317 to
790a294
Compare
scottcondie24
force-pushed
the
flow-rate
branch
2 times, most recently
from
January 23, 2026 19:46
f2fb850 to
5784d4b
Compare
scottcondie24
force-pushed
the
flow-rate
branch
3 times, most recently
from
February 15, 2026 02:18
60019b6 to
9708b22
Compare
scottcondie24
marked this pull request as ready for review
February 15, 2026 02:21
scottcondie24
force-pushed
the
flow-rate
branch
from
February 16, 2026 23:43
9708b22 to
57da6ac
Compare
predictive target weight. Added skip long tasks for one cycle if brew has finished and block display if near brew finish. Added MQTT entry for flow rate
Collaborator
Author
|
removed full screen display changes, flow rate is still visible through mqtt at 5s intervals and 500ms intervals during brew |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Using the scales it calculates the flow rate using least squares, a method used to determine the trend line of a set of data.
Using the flow rate it stops the brew early to end with a weight closer to the desired target. The amount that trickles out varies with different flow rates, so this should get closer than a static offset.
A check for kBrewFinished was added skip long tasks for one cycle if brew has finished, improving performance.