kk
Gabriel Morell





Scheduling Mania
posted March 17, 2013, 11 p.m.
all entries

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.

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.

Living Room LED Control
Strip Board to the rescue