"Why Does pH Change?
The ratio in uptake of anions (negatively charged nutrients) and cations (positively charged nutrients) by plants may cause substantial shifts in pH. In general, an excess of cation over anion leads to a decrease in pH, whereas an excess of anion over cation uptake leads to an increase in pH. As nitrogen (an element required in large quantities for healthy plant growth) may be supplied either as a cation (ammonium - NH4+) or an anion (nitrate - NO3-), the ratio of these two forms of nitrogen in the nutrient solution can have large effects on both the rate and direction of pH changes with time. This shift in pH can be surprisingly fast.
Daylight photosynthesis produces hydrogen ions which can cause the nutrient acidity to increase (lowering the pH). At dusk photosynthesis stops and the plants increase their rate of respiration and this coupled with the respiration of micro organisms and the decomposition of organic matter uses up the hydrogen ions so the acidity of the solution tends to decrease (pH rises).
In low light (overcast days or indoor growing environments) plants take up more potassium and phosphorous from the nutrient solution so the acidity increases (pH drops). In strong intense light (clear sunny days) plants take up more nitrogen from the nutrient solution so the acidity decreases (pH rises)."