FWIW always measure pH just before lights off. Or after the macro algae has been lights on for hours.
PH will vary with co2. Under lights, co2 will be consumed by the algae and the pH will rise. With enough algae the tank will become a net consumer of co2 and source of oxygen every 24 hours...