Connect the black and white fan wires to the black and white switch wires.
Put switch in attic.
Generally wall switches are on the right hand side a few feet metres past the door opening.
60 or 1 5m from the floor is common.
Decide where you want to place your switch.
As with any electrical project where new devices and wiring is to be installed you.
If you have central ac ducts in the attic you can install the switch in the duct to keep it cool.
Typically even with good ventilation you are going to hit 25 30f above ambient temp so if you get temps up around 100f sometimes it ll be more like 125 30f in the attic and easily add 10 15f if the attic is not well ventilated.
When cutting through drywall from the interior of a room use a utility knife and cut carefully you don t want to drill through a hidden wire or the paper.
Install a hard wired light fixture.
Go around your house and measure the height of other switches.
Kirk because there is power to an existing light fixture in the attic area then the additional light switch and light fixture will be relatively straight forward.
If you will need to fish wiring through a wall drill a hole through the wood plate in the attic only.
At the switch connect the white wires together.
This might keep it running.
Installing a j box in the attic is easiest if the attic is unfinished and used for nothing more than storage.
Wherever that extension cord is connected to power you could extend that circuit from there to the poe and then connect the poe.
Attics often have electrical cabling running through them so an electrician or experienced diyer can easily tap into an existing circuit.
Connect the copper wires together.
Place the light switch near the entry for convenience and use a switch with a warning light that reminds you when the light is on.
What i was commenting on was the extension cord in the attic.
You could take a metal cased switch and add vent holes and a fan.
The other thing is unless you are installing a massive unmanaged switch a cheap 5 8 port switch is only a few bucks.
The light switch should be located close to the opening to the attic entrance where a 2 wire cable with ground is installed up to the existing light fixture.
Attic light and switch wiring.
Add a ceiling vent and insulate above it so the switch is in the cooler room air.
Attach the ground wire to the ground screw on the switch.
Attach the black wire to the top brass screw on the switch.
A few solutions come to mind.
Loading ubiquiti community ubiquiti community.