In this video, the presenter is going to build a system which is is capable of controlling the room light and fan using a personal computer. He has used Arduino Nano, a two-channel relay module, 12 V power supply, bread board and some jumper wires.
For more information on the source code & construction: click here