Less than 30 i needed a light desperately so i could see while moving around in the attic.
Installing a tough switch in attic.
Wherever that extension cord is connected to power you could extend that circuit from there to the poe and then connect the poe.
And use semi rigid wiring fish tape to pull your wiring down to your outlet location.
Determine where you will be installing your pull chain light fixture.
If possible you should run the electrical wire through the attic or basement.
If you will need to fish wiring through a wall drill a hole through the wood plate in the attic only.
This is a video on how i installed an attic light in the house attic space.
I have a little experience in electrical work.
What i was commenting on was the extension cord in the attic.
Loading ubiquiti community ubiquiti community.
I would like to add a second light and a wall switch for both lights.
Install a hard wired light fixture.
Step 2 prepare the installation location.
I demonstrate the light install process including installing a new rough in elect.
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.
Step 3 run the wire.
If it is a drywall ceiling then cut out a circle using your drywall saw.
The reason i don t like extension cords is in my second comment.
It currently has one pull string light that has power running in it and out to a wall socket.
Attics often have electrical cabling running through them so an electrician or experienced diyer can easily tap into an existing circuit.
Do not install your box yet.
Instead of adding just a light.