A system for detecting fire or overheating includes a sensor including at least one material having a resistance with a selected temperature coefficient, wherein the resistance of the material is indicative of a temperature. The system includes further a device connected to the sensor to perform measurements on the material, wherein the device is configured to determine at least one parameter from the measurements and to analyze a dynamic behaviour of the at least one parameter to deduce status information including overheating and malfunction of the sensor.