When you re doing daisy chain wiring on a light fixture each pigtail usually contains three wires but there could be more if you re adding more than one extra light.
Add ceiling light to existing switch.
Next above the ceiling locate the hole which can be made easier by poking something through from below and determine its location to the nearest joist.
Adding a new light is easy because you can wire it to the existing light.
This 3 wire switch loop satisfies the nec requirement of a neutral in the switch box.
Stripping and twisting wires together and adding a wire nut takes only a minute or two.
In this diagram a new switch and light are added to an already existing light switch.
Adding a new light and switch decide on the location of the new light and drill a hole through the ceiling at the position where you want the light.
If you re just adding one the wires in the pigtail include the live circuit wire the wire going to the new fixture and the wire from the existing fixture.
If the wall is heavily insulated push conduit through the insulation and then feed wires or cable through the conduit.
Replace the one gang switch with a two gang switch.
How to tap into an existing wall switch.
Wiring diagram for a new switch and light.
I have a front porch that has 3 can lights in the ceiling which are operated by a switch at the front door and a service door.
The switch will pass the electricity from the panel to a light.
The biggest challenge is planning the cable route and running it from the fixture to the new wall switch position.
I want the fan to work just by a pull chain but continue to have the switch operate the remaining can lights.
The source for this circuit is at an already existing light fixture and a 3 wire switch loop run from there to the switch box.
Electrical switches typically have 110 volt power connected directly from the circuit panel.
If the existing cable is installed in conduit or a hollow wall it should be easy to pull a new cable in without damaging the wall.
Connect a new cable to the switch to provide.
Plus the existing switch will control both lights.
Adding a wall switch to a ceiling fixture can be done in a matter of hours.