The purple wire is usually a secondary warm wire. Over a smart switch, the red wire usually connects on the switch leg to control a light or other load. Inside an electrical box, a purple wire may be a traveler, a switch leg or the second very hot of a https://raymondlewmg.blazingblog.com/34813058/the-2-minute-rule-for-p-hub-system