Unlike my Halloween Box, I was determined to not only make the lamp functional - I wanted it to look good as well - something I don't consider the halloween box to be thanks to the leaking glue, issues with the laser cutter, and general incompetence on my part.
To this end, I knew that I wouldn't be able to build a pretty base box myself, so I decided to buy one from Etsy. I'd already purchased the bulbs and lamp holder battens that I wanted, so I found a friendly seller who was able to advise me what colour of stain and finish would look best with them, then built it for me.
Drilling the holes was the second most anxious part of the project because there would be no going back. Nevermind measure twice, cut once, this was more measure four times, drill carefully. The placement of the bulbs was mostly dictated by the box, as I had originally planned on placing them in a straight line along the middle, but the gap running down the middle meant this wasn't going to be possible.
The most anxious part was the wiring. Or more specifically, plugging it in after the wiring. This was my first mains voltage project, and could have gone horribly wrong in so many different ways. Because of this I wired each bulb in turn, testing for shorts with a continuity tester, then carefully plugging it to check that the bulb illuminated, before ensuring it was unplugged before moving onto the next bulb.
Anyway, I mention this now because I've finally added the component most sorely missing from the build - a switch. Until now, when we wanted to use it, someone would have to climb under the table and plug it in - which as I'm sure you can imagine meant it wasn't used very often.
But not just any switch, you understand. While it might have the look of the 19th century, it's firmly rooted in the 21st thanks to the use of a Sonoff switch, which not only lets me control the lamp from an app on my phone, but also via Alexa on my Amazon Echo.
Installing the Sonoff is easy, as you simply put it in serial with the live and neutral wires coming in from the socket, which not only powers the device itself, but also lets you control a relay that feeds power on to the lamp.
A momentary button on the device itself can be used to toggle the relay on and off manually, or when held down for five seconds enters a setup mode allowing me to feed it with everything it needs to connect with the wifi, and further, with the app (and thus Alexa).