423 hlt_status(1); |
423 hlt_status(1); |
424 mlt_status(1); |
424 mlt_status(1); |
425 pump_status(unit->pump_premash); |
425 pump_status(unit->pump_premash); |
426 last_step = brew->brewstep; |
426 last_step = brew->brewstep; |
427 initlog(brew->name); |
427 initlog(brew->name); |
|
428 } |
|
429 if (oldsec != seconds) { |
|
430 tempstatus(); |
|
431 percstatus((seconds / 2) % 4); |
|
432 oldsec = seconds; |
428 } |
433 } |
429 if (set_HLT_heater(unit, 1, 85.0)) |
434 if (set_HLT_heater(unit, 1, 85.0)) |
430 syslog(LOG_NOTICE, "AUTO: premash turn on HLT at %6.2f", hltSetpoint); |
435 syslog(LOG_NOTICE, "AUTO: premash turn on HLT at %6.2f", hltSetpoint); |
431 if (set_MLT_heater(unit, 1, 10.0)) |
436 if (set_MLT_heater(unit, 1, 10.0)) |
432 syslog(LOG_NOTICE, "AUTO: premash turn on MLT at %6.2f", mltSetpoint); |
437 syslog(LOG_NOTICE, "AUTO: premash turn on MLT at %6.2f", mltSetpoint); |
535 prompt(418, NULL); /* "--- --- Pause --- " */ |
540 prompt(418, NULL); /* "--- --- Pause --- " */ |
536 hlt_status(1); |
541 hlt_status(1); |
537 mlt_status(1); |
542 mlt_status(1); |
538 pump_status(unit->pump_onmash); |
543 pump_status(unit->pump_onmash); |
539 last_fase = mash_fase; |
544 last_fase = mash_fase; |
|
545 syslog(LOG_NOTICE, "AUTO: mash step %d fase HEATING started", brew->mashstep); |
540 } |
546 } |
541 if (set_MLT_pump(unit, unit->pump_onmash)) |
547 if (set_MLT_pump(unit, unit->pump_onmash)) |
542 syslog(LOG_NOTICE, "AUTO: mash turn %s MLT pump", mlt_pump_state ? "on":"off"); |
548 syslog(LOG_NOTICE, "AUTO: mash turn %s MLT pump", mlt_pump_state ? "on":"off"); |
543 if (oldsec != seconds) { |
549 if (oldsec != seconds) { |
544 tempstatus(); |
550 tempstatus(); |
610 } else { |
616 } else { |
611 if (brew->brewstep != last_step) { |
617 if (brew->brewstep != last_step) { |
612 prompt(118, NULL); /* "AUTO --> Mash Out " */ |
618 prompt(118, NULL); /* "AUTO --> Mash Out " */ |
613 prompt(220, NULL); /* " Mash Removed? " */ |
619 prompt(220, NULL); /* " Mash Removed? " */ |
614 prompt(300, NULL); |
620 prompt(300, NULL); |
615 prompt(410, NULL); /* " Continue: Yes No " */ |
621 prompt(407, NULL); /* "--- --- No Yes " */ |
616 last_step = brew->brewstep; |
622 last_step = brew->brewstep; |
617 } |
623 } |
618 slcdDummy(slcdHandle); |
624 slcdDummy(slcdHandle); |
619 key = keycheck(); |
625 key = keycheck(); |
620 if (key == KEY_RETURN) { |
626 if (key == KEY_ENTER) { |
621 syslog(LOG_NOTICE, "AUTO: Confirmed Mash removed"); |
627 syslog(LOG_NOTICE, "AUTO: Confirmed Mash removed"); |
622 brew->brewstep = STEP_PREBOIL; |
628 brew->brewstep = STEP_PREBOIL; |
623 } |
629 } |
624 } |
630 } |
625 break; |
631 break; |