Should work with other controllers, basically you have a resistor in a circuit, and if it gets wet, the circuit is shorted out so you detect that. I put 2 wires in a sponge myself (separated) an when the sponge gets wet, it connects the wire (thus wet). This seems a bit nicer build, but could drain the battery faster
https://www.hackster.io/happyheart32/water-level-sensor-diy-9ac7a6