|
A C# program running on an old PowerPC Mac running Ubuntu receives a new message from the ApacheMQ server and processes it.
If the message is “ON” then the mac executes a bash shell script called “LON” which ejects the CD Drive which in-turn presses a switch momentarily which is wired into a latching relay which turns on the Light.
If the message is “OFF” then the mac executes a bash shell script called “LOFF” which sends an “ATH1” via minicom to it’s built in modem which is wired to a circuit I built that resets everything, thus turning off the light..
|