My system also works manually, i mean you could controll by phone or from light switches, every switch needs 2 wires to converge at the point were Arduino is placed, also 2 wires from any lamp need to converge at the same point. If you need more info. feel free to write.