How to use the smart valve