Using LED's to track the sun with ESP32 analog inputs
This has to be the worst way to go about it.  Several reasons: Cloudy days where both get equal light; In the morning, neither is getting any light.  I've seen this done your way as a college project and it didn't work out for those reasons.
Try using a look-up table that knows where the sun will be for your latitude and day of the year.  Tie it into a feedback loop that can position the panel according to that data.