Adafruit RTClib

Simply the lack of expertise, which has now been acquired - after considerable internet trawling.

ZS-042 DS3231 RTC module? post#9

It’s been amazing how difficult this has been to sort out, and/or how little attention the SQW pin gets.