Thanks for the reply, I appreciate it. One of the problems I have is that if one is to manually press the switch to say set relay state to "off", then with software (a ir remote control thru a pc) I would like to be able to say set the state to "on" and then say "off" again with out manual intervention. I thought that a momentary switch would feed a flip flop or such that is handled at a logical ttl level. I thought with a regular switch if I manually turn it off, this would in effect disable the software circuit from action. Does that sound right to you? I like your idea of a 3-way switch, is this just like the way it is wired in the home for 3-way lighting?