For hydro, if you want to emulate how to buffer the PH, see the following as an example:
MES being the strongest buffer. There is also a buffering gadget that basically contains an ION exchange resin which has gotten good reviews. Can’t remember the name, if you’re interested I can look it up. It’s on here somewhere.