The red wire is usually a secondary very hot wire. With a smart switch, the red wire normally connects to your switch leg to manage a light or other load. Inside of an electrical box, a purple wire may be a traveler, a switch leg or the second incredibly hot https://miloltokj.bloggadores.com/33931886/p-hub-system-an-overview