Abstract. The paper presents method for thermal generation reduction in low level light applications, especially where measured phenomena have random character. The algorithm was developed basing on cosmic ray measurements. The main parts of the system are: Silicon Photomultipliers (SiPM), front-end ASIC for amplifying and shaping signals. SiPM is a very sensitive device which can detect single photons. Comparing to a standard photomultiplier SiPM has a compact size, low operating voltage and it is immune to an electromagnetic field. Thermally generated signals are disadvantage of SiPM. This paper presents the measurement method to reduce influence of thermal generation.