Now I needed a way to control the lights depending on time of day. I setup celery with redis and used django-celery purely for an easy-mode gui for adding tasks.
As you can see below, the lights turn on in the evening and then fade to minimum as the night progresses.
[img a7bd0c43592b455ca59a8e4f9a8a95c5]
I set up a listening socket on the IRC bot and pointed the tasks to write raw commands to the socket for the bot to echo.
Below it shows what it looks like from the irc channel. It's getting cozy in there now.
Around this time I wrote another bot plugin to query what was being played on the tv. Now we're getting places.