Automate desktop screen brightness according to daytime on external monitor

Solution 1:

I have written a program which does exactly this:

It changes monitor brightness (not colour temperature) based on the time of sunset and sunrise:

It is available here: https://github.com/jacob-pro/solar-screen-brightness

It works for both external displays (DDC/CI) and laptop screens.