Closed theHolgi closed 6 months ago
Note that this collides with https://github.com/rancilio-pid/clevercoffee/pull/488 (which will likely achieve the same result)
Alright, I would retract my PR in favor of #488. But that one seems to be disputed?
Not in principle, only about the Quickmill topic
Superseded by #488
Setup: Machine: Rancilio Silvia Steam switch Setpoint: 95°, Steam 130° Software: master (6177b2d6)
How to reproduce: Machine power is toggled while being at steam temperature. Goes into
kEmergencyStop
and unable to leave, even if the actual temperature is below steam setpoint. Only way to leave is cooling down to < 100° (brew setpoint + 5°)Reason:
EmergencyStopTemp
is initialized to 120°.testEmergencyStop()
immediately triggers and machine goes tokEmergencyStop
;setEmergencyStopTemp()
will keep the StopTemp at 120 sincekSteam
is never reached.brewSetpoint
, i.e. 95°. So even if the recognized (and displayed) setpoint in steam mode is higher than measured temperature, machine still displays "PID stopped" and refuses to heat.Solution:
setpoint
so the mode is left whenever the temperature goes near the current chosen setpoint.setEmergencyStopTemp()
, to avoid settingemergencyStop
immediately before first execution ofsetEmergencyStopTemp()
.