From those numbers, it looks to me like the Nitrates and Phosphates may be what is stressing your tank.
To raise my pH, I usually add kalkwasser solution. Mix it for a few hours, let it settle off, take the solution off the top (NOT the precipitate that sinks.) This can also be done with a kalkwasser reactor. BUT, with your calcium already at 520, I would probably advise against doing that, or you may have a snow storm in your tank.
pH 7.7 really shouldn't be stressing anything out I don't think. When did you take the reading? How low does it go at night time?