Python + X10 = the build hat
May 6th, 2004
I now have a Python script that is run via cron every 10 minutes. It
uses the poplib and email modules to grab and parse my email, looking
for the specific patterns that a ‘you broke the build’ message will
contain. If it finds such a message, it opens and writes an ‘on’
command to the proper X10 device driver, which then turns on the BIG RED
ROTATING LIGHT. I kid you not.