Skip to content

Flow rate calculation and predictive target weight - #620

Open
scottcondie24 wants to merge 1 commit into
rancilio-pid:masterfrom
scottcondie24:flow-rate
Open

Flow rate calculation and predictive target weight#620
scottcondie24 wants to merge 1 commit into
rancilio-pid:masterfrom
scottcondie24:flow-rate

Conversation

@scottcondie24

Copy link
Copy Markdown
Collaborator

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.

@scottcondie24
scottcondie24 marked this pull request as draft January 4, 2026 10:13
@scottcondie24
scottcondie24 force-pushed the flow-rate branch 3 times, most recently from f21f317 to 790a294 Compare January 6, 2026 20:12
@scottcondie24
scottcondie24 force-pushed the flow-rate branch 2 times, most recently from f2fb850 to 5784d4b Compare January 23, 2026 19:46
@scottcondie24
scottcondie24 force-pushed the flow-rate branch 3 times, most recently from 60019b6 to 9708b22 Compare February 15, 2026 02:18
@scottcondie24
scottcondie24 marked this pull request as ready for review February 15, 2026 02:21
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
@scottcondie24

Copy link
Copy Markdown
Collaborator Author

removed full screen display changes, flow rate is still visible through mqtt at 5s intervals and 500ms intervals during brew

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