This water control consists of two metal pieces submerged in water. And 2 wires going to the control board (from now on let's call them water wires)
I have taken the pic of the board and highlighted the part where this water wires connect. This circuit is driven by a 9V ac-ac transformer. Multimeter shows around 1,5-3V of AC current on the metal plates.
So going the easy way i've just connected to the metal plates +3,3V from wemos and then to the analog pin A0 (pulled to ground via 10k). Actually it almost worked. Had reading of around 158 when water present and 60 when not.
But i lost the functionality of the original control board. With +3,3V from wemos connected it always "detected" water even when there was none. (i have tried switching sides with no luck).
So i removed the 3,3V from wemos and just left the analogue pin connected to one of the metal plates. This gives me fluctuation reading from 2 to 30.
So i wonder what is the correct way to go?