LOL! I'm not surprised several people came to the same resulting idea...
Btw, if one wants to build passive valve, why not use just float type one, only thing it must be mounted like in pic to ensure floating ball close the barb in case of counterflow...
Oh, and the rattling of the ball hitting the inner walls while operating would be one more thing to solve...
Dunno...