Electrical – multi light 1 switch each, and one switch for the all light

electricallight-fixturelightingmultiway-switchwiring

in my garden i have 6 lights each one have a switch, last week i connect all the lights to one switch so all the 6 lights will turn on with one switch, but some time i don't need all the 6 lights on, and other time i want them all on. so, is there a way to have a switch for each light and a master switch for all the light.
(for example:if tow light on, and than i click on the master switch all the other 4 lights will turn on and if i click on it again all the 6 will turn off)
(another example:if all the light on and i turn off 3 of them then use the master switch the other 3 will turn off)
is that possible?

Best Answer

You could use smart switches and have a lot of versatility... but you can also do it with manual switches easy enough.

At the first switch point, you have the "master switch". You bring in always-hot and neutral. Pass through neutral, connect always-hot to the switch, and switched-hot to the other side of the switch.

Then at the second switch point, you have 6 switches. Switched-hot goes to each of the switches. Then branch-switched-hot comes off the other side of the switch for each of the six branches.

enter image description here Annnnnd... this is why there are 8 legal colors for hot wires.

In this diagram, black=always hot, red=master-switched-hot, and all other colors are branch switched hots. Grounds not shown because, enough.