Arduino code hulp

You will need some way to measure the amount of water in your cistern. Maybe an absolute liquid pressure transducer would work. The pressure goes up with the height of the water column.