To further ensure the waterproofing and safety of the power network,a roof water level monitoring system based on sen-sor technology is proposed to monitor the leakage of rain in buildings.Among them,the monitoring system mainly designs three main modules:wireless sensor unit,wireless communication network,and automatic water level collection.It uses EMD based wavelet en-tropy threshold denoising algorithm to denoise the collected water level data,further improving the accuracy of the data.The experi-mental results indicate that.The designed water level monitoring system accurately monitors the roof water level,and the accuracy of describing the change trend is also high;Compared with the previous denoising method,the improved EMD denoising algorithm can achieve better denoising results,with root mean square errors of 7.15,3.33,and 1.55 under noise conditions with a signal-to-noise ratio of-1,5,and 10dB,respectively.The above results indicate that the designed roof water level monitoring system based on sen-sor technology can accurately monitor water level and make corresponding judgments on the leakage situation of buildings,which is highly feasible and can be applied in practical scenarios.