Sorry but if you have to ask that you are not ready to play with mains, it could kill you or cause a fire. Best to get a ready built unit like those that control mains with IR signals. Then do the IR stuff with the arduino.
Sorry but if you have to ask that you are not ready to play with mains, it could kill you or cause a fire. Best to get a ready built unit like those that control mains with IR signals. Then do the IR stuff with the arduino.