doing some research i found a guy using a sprinkler solenoid valve.
which seems to be the safer route than using just the floater thing.