Closed norbert-walter closed 2 years ago
here my POC, built into PageClock. Works fine even at exotic locations with exotic timezones. Code added for simulation and holdvalues, but that's completely untested ... note changes to config.json and platformio.ini!
This modification just demonstrates usage and function of the lib. SunS and SunR calculation should be placed somewhere else. They are required only once an hour (or even less) and must be available to optionally trigger display backlight.
Add sunrise and sunset time for clock page