News for hackers. Stuff that matters.
Re:I bought some awful light bulbs so you don't have to by wpietri on Thursday February 25, 2016 @11:21AM (#11175427)
Ah, cool. I think they added the rules API later, otherwise I could well have done that. That's in some ways better; last year when my router died, my lights stuck on.

For what it's worth, I avoided tying the lights to actual daylight hours. In winter I tend to get a bit gloomy, and so part of my goal was to make my brain think that it was never really winter. It seemed to help this winter, although it's hard to say for sure.

How are you liking your setup?

Re:I bought some awful light bulbs so you don't have to by tekromancr on Thursday February 25, 2016 @02:14PM (#11176943)
Pretty good. My first pass at this did a very similar thing where I had a script running on a raspi to change the lights. Completely fair point about wanting to extend the lights during the winter. They switch to evening mode way too early lately and I kind of wish the rules api allowed you to do date based conditionals. That said, I have to do exactly 0 maintenance on it since I got the rules configured, so overall its pretty solid.
Re:I bought some awful light bulbs so you don't have to by wpietri on Thursday February 25, 2016 @09:06PM (#11179396)
Fab. If you're interested in collaborating, drop me a note. I wrote my current software in Scala as an experiment, but I'm unlikely to do future work in Scala. I've been meaning to rewrite sunrise in something else, and I'm open to suggestion.