Because my lux sensor sucks, I'm trying to create a schedule that gradually increments a variable called "darkness" gradually.
No way to do that simply with a schedule because schedules are either at x time or repeating every N but not both, so I figure I'll have a schedule kick off a script. Ideally, it would be one where I could plug in how often it changes the variable by how much.
I could pound at this in AppleScript for a day, but as we're supposed to be moving to python AND I realize that this script would run for an hour or so and if the AppleScript had a problem it might hang lots of processes, I thought I'd ask how I might do this in Python.
I found this, but it is not exactly what I want and it's way over my head anyway. Thanks in advance!