Safety system is using the solenoid valve as a control element,device composed of sensor element (ignition function can be installed).The automatic ignition of the furnace and the valve opening function can be realized by only being gently pressed.In case of accidental flameout, the induction wire as the sensor element and the power supply can sense the temperature reduction, and cut off the gas source through the solenoid valve, to prevent gas leakage.