The present invention relates to a method suitable to be executed in a coffee machine comprising a conductivity sensor having two probes for detecting whether coffee has overflown, and a control unit adapted to process the data from the conductivity sensor, and comprising in its most basic form the steps of: querying whether user command is received to start the cooking process; starting to measure conductivity value between two probes by the conductivity sensor; saving the first measured conductivity value as the reference value (Sref); comparing each read conductivity value (Sread) with the reference value (Sref) and if said the difference between these two values is lower than a predetermined threshold value (Sthreshold). continuing the cooking process, otherwise, terminating the cooking process; measuring by the conductivity sensor the conductivity value between two probes again; and comparing said measurement value (Sread) read by the control unit with a predetermined limit value (Slimit); if said read measurement value (Sread) is higher than the limit value (Slimit), alerting by the control unit for cleaning of the probes via the visual and/or audible alert unit.
展开▼