I am working on a project, In my own home, Permanently installing a Faux Fireplace, Shiplap, and some iron pipe shelves. The shelves are going to have built in lighting in the form of Edision Bulbs at the end of the pipe elbows as shown in Fuchsia circles. However, I am having a dilemma of how to attach the AC lines to the dimmer in the fireplace side to meet code.
There is not a lot of room in the iron piping so i don't want to use solid wire there. My proposal is to use Stranded THHN 14 awg in the pipe and then transition to NM-B Wire at a junction box just to the side of the pipe flange to the wall. Since the box is a couple inches away the THHN would be "free" in the wall for a few inches, however, I would put braiding or heatshrink over this portion. My question is this, is this up to code? If not, what can I do to connect this that will meet code?
In this renovation I will be removing some portions of the Sheetrock from the wall to add other additional outlets and conduit for HDMI cable in the walls. Then replacing the Sheetrock and putting the Shiplap boards in on top of that. All of this to say, I will have access to the interior of the wall if you have an idea that requires that.