I have a vintage lamp base that I bought at a flea market. I thought I would convert it, as simply as possible to use in my (off the grid) cabin. What I like about this project is that we can use something old, with art deco style, and made with real stuff (metal). That is hard to find nowadays, especially with RV parts.
The lamp base had a regular AC cord with two prongs. I cut the plug off, leaving as much length as possible, just in case I need it later on.
I spliced an ABM connector on the lamp cord so it could plug, and unplug easily from my solar charged battery.
For an old school switch, I used a pull chain socket. I already had it, so I used it.
(Pull chains remind me of my Grandma. I can see her now with an unfiltered Pall Mall cigarette dangling from her mouth, and a super long ash column hanging on the tip, defying gravity like a magician, pulling the chain.)
Then I added a beautiful, Edison styled (12v) Led bulb. The bulb is rated at 5 watts, and gives off a good amount of light.
This is a good solution for off grid lighting, and we don't have to put up with that cheaply made, but expensive, junk that is for sale nowadays. The pull chain is great and easy to find in the dark. I find it quick and efficient, with less fumbling than looking for a wall switch. (The pull chain feels nostalgic.) And as a bonus, you don't have to run wiring to install a switch.
[Peace Dog]