Low-tech door monitoring with ICQ
Do you want to monitor some door? Get notified when it opens/closes? This is low-tech solution for the trusty old parallel port.
Just solder a Reed-switch and protective resistor to a DB-25 connector. Then run this simple program as daemon to monitor the switch. (This project is about 10 years old. You might consider fancy things like DBUS today…)
I my case the program runs scripts which controls the status of a running ICQ client. The door in question is the front door of our club room. Yeah!
The script should run some commands (also consider dropping the privileges) but must not stay in the foreground (i.e. needs to terminate). Simple example:
Where opendoor-user would set the status in licq, micq, pidgin, …