sunrise/set solar angle can be calculated from a RTC too.
calcHorizontalCoordinates(time(&now), latitude, longitude, az, el);
This single line calculates sun elevation and azimuth from local time and location.
Using the SolarCalculator.h library from jpb10 via library manager.
Leo..