I think that the sensor is wired like this:
Google "Optical Infrared Water Liquid Level Sensor " and this is a common 4 wire diagram.
I think that the sensor is wired like this:
Google "Optical Infrared Water Liquid Level Sensor " and this is a common 4 wire diagram.