Determine valve handle position

You could use a potentiometer on a bracket that mounts it over the valve axis. The Arduino could then measure the valve position.