An RF admittance level sensor works by using a rod probe and RF supply to evaluate the adjust in admittance. The probe is pushed via a shielded coaxial cable to eliminate the effects of adjusting cable capacitance to ground. Optical level sensors perform by converting mild rays into electrical signals. https://controltechme.com/ultrasonic-level-sensor/