This may be strange request but still..
We have timeout in office lights system where they switch off after period of inactivity.When it happens, I have to interrupt my work, get up and wave my hands at stupid ligths in the ceiling to get them switched on.This is especially annoying (and looks stupid too) in early hours when it it still dark in the office.I have already asked building management to switch off the timers during the office hours but they are not interested.
My idea is to put the small old pc on the top of the cupboard , then attach one side of thin thread to the ceeling next to the sensor and another one to the cd tray.Then stick little bit of hard paper to the ceiling end.Write short script that opens/closes CD tray. When CD tray open/closes, piece of paper moves and switches lights on.
Then I need to get some device that can be attached to the PC and it would start the script whenever it detects light.
What should I look for on ebay? 'photo relay'? 'photo swithch'?