Two ranges must be distinguished that do not overlap, and that is the crux of the summer problem in aquaponics. For the plant, horticultural publications place the optimal vegetative growth temperature for lettuce at around 15–18°C, with an ideal regime of cool nights close to 10°C and daytime temperatures not exceeding 20°C. Several consecutive days above 24°C are enough to trigger bolting in many varieties, and aquaponics literature notes that lettuce turns bitter above 26°C.
For the system, the usual working range sits between 18 and 26°C water temperature, with a pH around 6.8 to 7.2. In other words, water that is perfectly acceptable for your fish and your bacteria may already be at the upper limit of what lettuce can tolerate. There is no setting that suits everyone in July.
The practical consequence is straightforward to remember. You are not trying to cool the system down to the optimum for lettuce — that would be detrimental to the fish and energy-intensive. Instead, you act on the air and on solar radiation, through shading and ventilation, and you accept that it is time to change crops when the window closes.