Smart switches use chips to control relays to achieve the goal of controlling lamps or other electr...