Photo-controlled hydrogen generation catalysts were developed based on ruthenium(ii) azobenzene-containing half-sandwich complexes.