Does the basket move up and down at all, like does it float on the water as you add water into the pot?
Assuming the answer to the above is a no, and the basket height is fixed, then I think you would just need the height of the water in the pot, from the bottom of the basket. Then plug that...