An adapter element for a solenoid valve assembly in an irrigation system includes an integral water turbine generator including an impeller positioned in an outlet flow path of a solenoid assembly thereof such that the impeller rotates when water flows to generate electricity.