How to externally detect liquid level in a container?

There's actually a level sense library for the Hubduino Project (if you're thinking of going the ESP8266 route). Drivers and board software are already build and work with HE.