Heliostat: Integrating RTC DS3231 and SunPosition Library

What error there? Is it failing to compile or doing something wrong when executed?

At a glance you appear to be using the solar position stuff as in the examples. If your sketch is working, post the results.

a7