@rmonkey
I wrote a bash script that will take lat and lon, do an API call to Openweather, and get the sunset and sunrise times. then it will schedule a sunrise program and a sunset program to run via ‘at’. You can have +/- offsets for sunrise/sunset and you can just have a settime. So what I’m doing is doing api calls to MM at 10pm to turn off my background images, and then dim the screen via the remote api. then at 15 min after sunrise it puts it back to normal.
I have never published to github, but probably will at some point. Do you think this would be something folks would want? it is not a module. it does require jq and at to be installed on the linux system.