Attach the ground wire to the ground screw on the switch.
Put switch in attic.
Decide where you want to place your switch.
If you will need to fish wiring through a wall drill a hole through the wood plate in the attic only.
It is perfectly safe to install a switch in the attic.
As with any electrical project where new devices and wiring is to be installed you.
And use semi rigid wiring fish tape to pull your wiring down to your outlet location.
Connect the copper wires together.
Wherever that extension cord is connected to power you could extend that circuit from there to the poe and then connect the poe.
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.
Attic light and switch wiring.
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.
Generally wall switches are on the right hand side a few feet metres past the door opening.
Attics often have electrical cabling running through them so an electrician or experienced diyer can easily tap into an existing circuit.
Install a hard wired light fixture.
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.
Connect the black and white fan wires to the black and white switch wires.
If you have central ac ducts in the attic you can install the switch in the duct to keep it cool.
Go around your house and measure the height of other switches.
You could take a metal cased switch and add vent holes and a fan.
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.
60 or 1 5m from the floor is common.
What i was commenting on was the extension cord in the attic.
Attach the black wire to the top brass screw on the switch.
A few solutions come to mind.
Loading ubiquiti community ubiquiti community.
At the switch connect the white wires together.
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.
Add a ceiling vent and insulate above it so the switch is in the cooler room air.