Had a little time on my hands today. Ended up putting the Pi-Face on the second RPi and connecting doorbell buttons to it. Wrote a C program and two Perl scripts to toggle the office lights when one of the doorbell buttons is pushed.
The buttonwatcher program is pretty basic:
|
The toogle scripts are even shorter:
|
The only drawback so far seems to be: having doorbell buttons screwed to the underside of your desk, connected to the Pi-Face, controlling the office lights, seems to have negative Spouse Acceptance Factor points (she caught me with the electric drill again).