Python plugin for a ultrasonic distance meter on Raspberry Pi, includes custom icon.
Accuracy will not be great as cpu load may interfere. I'm measuring the water level below my house foundation, for which it is sufficient.
Hardware instructions similar to: https://tutorials-raspberrypi.com/raspberry-pi-ultrasonic-sensor-hc-sr04/