Well, an easier way is to use an X10 switch - and as I already have a server talking X10, that's the way I'm going. Despite X10 being one of the most awful protocols I've seen since X400....