Level indicator/switch

Hi,

Is there a level indicator or level switch that works with sonoff or ewelink app? I need to read the level of a tank and turn off a valve when a certain level is reached.

Thank you

I also wish to have such a device