Monday, September 1, 2003

Using X10 to control the kid's lava lamp

Installed bottlerocket (comma nd is br) and setup cron to turn on/off the boy's lava lamp so it is on when the wake up and go to bed.

My root crontab looks like this now:


MAILTO=marc

# Turn on Spencer's lava lamp at 6:00am and off at 7:30pm
0 6 * * * /usr/bin/br A3 ON
0 7 * * * /usr/bin/br A3 OFF

# Turn on Spencer's lava lamp at 7:30pm and off at 8:30pm
30 19 * * * /usr/bin/br A3 ON
30 20 * * * /usr/bin/br A3 OFF

No comments:

Post a Comment