3 recent geek moments

posted by CodeGirl
Bookmark This Page:   Add '3 recent geek moments' to Del.icio.us Add '3 recent geek moments' to digg Add '3 recent geek moments' to Simpy Add '3 recent geek moments' to OnlyWire 

Geek Item #1The script I created to keep an eye on my net connection was useful in proving that Adelphia service was down starting
at 6:30am this morning. It didn’t come back up until 5:30pm. Freaking ridiculous. I would have backup DSL if it were
possible, but lucky me has “Fiber to the Curb”.

Anyway, my script uses a serial device to talk to an X10 appliance module that I have my cable modem plugged into,
so when the script detects that we are no longer on line, it reboots the cable modem (using a great command-line X10
program called HEYU and restarts dhcpcd to re-aquire an IP. This script has saved me many
times in the middle of the night when I couldve been down for hours (until I noticed and power cycled the modem myself).

Geek item #2: I have a “movie” and a “sewing” (started a crosstitch project, need lots of light to tell colors of thread apart)
X10 lighting macro setup. When we want to watch a movie, we use the X10 remote and do “X10–>2–>on” and the living
room lights go off. When the movie is over, we do “2–>off”, and the lights come on at the same level they usually do at dusk
every evening. When I want to sew, I do “X10–>3–>on”, and I get the lights brighter than usual which makes it much easier
to tell what thread is what color (when you have 50 different shades of brown, this sort of thing matters). Around 11p, the “bedtime”
macro gets run which turns off all but one light, and dims that so it’s just enough light to see without tripping over anything.
As soon as anyone approaches my front door, a wireless X10 motion sensor tells the front porch light to turn on (great when
you are struggling with lots of crap and need to see the lock on the door. When anyone approaches my back door (uses another
wireless X10 motion sensor), they get a nice 100 watt light in their eyes for the next 20-30 minutes. The cool thing about this
setup is that I replaced the light switches for the front and back lights with X10 controllable ones. No need for giant flood lights or
anything that ugly and obtrusive.

Geek item #3: I use a super-cool PHP app called Tasks to organize all sorts of work and home “ToDo” items. I just
created a little perl script that can log into the mysql backend of Tasks and insert a todo item, including notes and a relevant URL.
This way I can create other scripts that use this script to generate new tasks. I just created one for Gentoo that scans
the /var/log/esync.log file and checks for updated versions of packages I have installed. It then creates new tasks for me
(one for each package) so I know what to upgrade. No more checking the file just when I remember to. I like to stay on
the bleeding edge of available versions of software.

This entry was posted on Wednesday, May 5th, 2004 at 6:25 pm and is filed under linux, HomeAutomation. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

Comment moderation is in use. Please do not submit your comment twice -- it will appear shortly.


Protect Web Form!

Bad Behavior has blocked 232 access attempts in the last 7 days.