Smart valves for the hydrogen boom