| Algorithm 1 |
| 1: If the temperature increases of ΔTFs = 10 °C ± 3 °C in less than 1 s (changes from red circle to the blue one), Then store the starting temperature TFs (for big flame TFs = TFb1) and go to point 3. |
| 2: If the temperature decreases by ΔTFd = 10 °C ± 3 °C in less than 1s (changes from red circle to the blue one), Then store the starting temperature TFs (for max. flame TFs = TFb3) go to point 5, Else go to point 1. |
| 3: If after 5 s the temperature reaches TFi (for max. flame TFi = TFb2) with tolerance ΔTFi (see Figure 8), Then set the indicator “Pot on the Burner” (PoB) to 1, Else go to point 1. |
| 4: If after 5 s the temperature reaches TFd (for max. flame TFd = TFb4) with tolerance ΔTFe (see Figure 8), Then set the indicator POB to 0 (“pot taken from the burner”), Else go to point 3. |
| 5: If POB is equal to 0, Then switch off the valve, i.e., make the short circuit the factory mounted thermocouple terminals for a short time (0.1 s) and switch on the LED and the buzzer for 2 s, which signals to the user that the gas flow is not turned off after removing the pot. |
| 6: Go to point 1. |