-
Notifications
You must be signed in to change notification settings - Fork 145
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
Refactor brew detection and brew handling #512
Open
LoQue90
wants to merge
23
commits into
rancilio-pid:master
Choose a base branch
from
LoQue90:rm-brewdetection
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
LoQue90
force-pushed
the
rm-brewdetection
branch
from
September 15, 2024 13:37
43a0dbd
to
ff9ee38
Compare
LoQue90
force-pushed
the
rm-brewdetection
branch
from
September 16, 2024 09:19
b5d9015
to
ff9ee38
Compare
LoQue90
force-pushed
the
rm-brewdetection
branch
2 times, most recently
from
September 24, 2024 00:09
6137f3d
to
91d1f46
Compare
LoQue90
changed the title
Remove Brew detection/optocoupler/quickmill steam mode
WIP: Remove Brew detection/optocoupler/quickmill steam mode
Sep 29, 2024
LoQue90
force-pushed
the
rm-brewdetection
branch
2 times, most recently
from
October 9, 2024 22:44
cca508b
to
c6db26a
Compare
any thoughs about giving the manualFlush his own mashine State @kjyv @fiendie |
LoQue90
force-pushed
the
rm-brewdetection
branch
15 times, most recently
from
October 14, 2024 16:18
4af1bf3
to
a2afe2b
Compare
LoQue90
force-pushed
the
rm-brewdetection
branch
3 times, most recently
from
October 18, 2024 23:55
4475993
to
db7e1d8
Compare
LoQue90
changed the title
WIP: Remove Brew detection/optocoupler/quickmill steam mode
Refactor brew detection and handling
Oct 19, 2024
LoQue90
changed the title
Refactor brew detection and handling
Refactor brew detection and brew handling
Oct 19, 2024
LoQue90
force-pushed
the
rm-brewdetection
branch
from
October 19, 2024 00:11
db7e1d8
to
8a1c2b4
Compare
remove brewdetection works only with brewcontrol rename isbrewdetected to brewOn
adds brewtimer without controlling pump/valve
remove more SW brew detection stuff rename brewtimesoftware to brewPidTime to clarify its function fix debug log output for disable PID while brew is running clang formated
remove brew PID time (former Brew SW Time) because it isn´t used anymore after removing sw brew detection
now with brewControl 0 mashine goes to kBrew when a brew is running
SHOTTIMERDISPLAYDELAY is now broken, needs to be reworked
if brew is finished, by target or by hand, lastBrewTimeMillis is set from brewtimer() or brew() displayshottimer() uses lastBrewTimeMillis to show as long as SHOTTIMERDISPLAYDELAY is same is for standard, minimal template upright and rotate upright is still broken remove lastBrewTime store brew time always in timeBrewed and only reset timeBrewed on the a new brew brew time in all templates will only be shown when brew is running add timeBrewed to MQTT
take manual flush out of checkbrewswitch manual flush with own mashineState kManualFlush manual flush reset standby time and ends standby remove any brew stuff out of checkbrewswitch() rename brewState and brewswitchstate add manualFlush to display templates and shottimer
clean up and less states for brew() and backflush() removed brewOn and used bool brew() removed manualFlushOn and used bool manualFlush() move all backflush related stuff into brewHandler fix includes for brewHandler.h backflush() is now only called if mashineState is kBackflush if mashine is in kBackflush brewswitch controls backflush and it is not possible to start a brew removed boolean, use bool moved PID and Heater disable into mashine state kBachflush
disable PID for backflush with global PID ON/OFF
adding case kInteger to assignMQTTParam() so backflushCycles could be changed thru MQTT
if mashine is in any other state then kPidNormal, it should not be possible to switch to states like kBrew, kManualFlush, kBackflush, etc.
FEATURE_SHOT_TIMER SHOT_TIMER_DISPLAY_DELAY FEATURE_HEATING_LOGO FEATURE_PID_OFF_LOGO bump ESPAsyncWebServer: another change in release structure -> new version -> broke build check
cleanup in main.cpp adding translations rename some scale vars to be more precice do not show weight in full screen shot timer during manual flush add weightBrewed to MQTT sensors and HA auto discovery
LoQue90
force-pushed
the
rm-brewdetection
branch
from
October 22, 2024 15:17
8a1c2b4
to
f39a2c9
Compare
+cleanup +bugfixes
adding TRACE log for brew PID
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.
This PR removed the Brew detection in total
-> SW Brewdetection is gone (wasn´t really accurately)
-> Removed Quickmill/Thermoblock steam mode detection (was broken)
-> Removed kShotTimerAfterBrew and kBrewdetectionTrailing
-> Removed lastTimeBrewed
-> Backflush isn´t possible anymore if mashine is in steam mode
Adding:
Detection for brew works in total over Brewswitch input
Brewswitch Pin could be used for a switch or a optocoupler
removed brewOn from checkbrewswitch() to brew() -> this triggers all brew related stuff (eg kBrew)
new brew timer for "pid+" (optocoupler)
showing brew time and shottimer based on kBrew
SHOTTIMERDISPLAYDELAY is now directly in the display templates
manual flush in own function and mashine state
manual flush triggers resetStandbyTime and can end standbyMode
add manual flush to display templates
FEATURE_BREWCONTROL is now set on the website
moved all brew or backflush related stuff into brewHandler.h
moved Display related settings onto website
rework shot timer in scale display template
to discuss:
Flush Timer configurable and seperated from shottimer?
show heating logo if steam temp isn´t reached?
show sections on website only if needed
add pressure to shot timer?