Remineralising and buffering rainwater
Correcting rainwater does not mean raising the pH directly, which would not hold. You need to rebuild the alkaline reserve, in other words raise the KH, and the pH then stabilises by itself.
In aquaponics, sodium bicarbonate should be avoided, contrary to common practice in aquarium keeping, because sodium accumulates in the system and eventually harms the plants. The reference publications recommend potassium or calcium compounds instead, which also supply nutrients. Potassium bicarbonate is the easiest to dose. By calculation, you need about 1.8 grams per 50 litres to raise the KH by one German degree. Always dissolve it in a separate bucket, never directly in the pond, and proceed in small steps spread over several days.
Two slower but very steady solutions exist. A net of rinsed oyster shells or limestone gravel placed in the filter releases calcium carbonate faster the lower the pH is, which creates natural regulation. The calcium supplied in this way is useful to plants, notably against blossom end rot in tomatoes. However, take care not to exceed a pH of 7, above which iron becomes less available, as our article on iron deficiency explains. For the complete method, see our dedicated guide to pH.