Scheduling Mania
a scheduler is born
Gabe // March 17, 2013

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]

Mono light Command
Mono light Command

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.

screenshot from putty showing scheduler
screenshot from putty showing scheduler

Around this time I wrote another bot plugin to query what was being played on the tv. Now we're getting places.