This is a semi solid state rain gauge. It use the time of flight (TOF) method to calculate the distance to the bottom of the gauge tank, to estimate the amount of water inside the tank
It is emptied programmatically by a solenoid valve when close to full.