Adding a Bread Lamp to Home Assistant
This is my first post so I will write about a simple project.
The Lamp
I received the Pampshade bread lamp as a gift at the end of last year. It is an artisanal lamp created by a Japanese artist who hollows out real bread, covers it in an antibacterial resin, and adds warm white LEDs to make it light up. It was pretty expensive but is unique and it combined my enthusiasm for baking and lamps.
The lamp is powered by a 12V power supply that plugs into a dimmer switch, which turns the lamp on/off when tapped and adjusts the brightness when held.


Home Assistant Integration
I integrated the lamp into Home Assistant using a smart plug, but there was a delay of a second or two between turning on the smart plug and the lamp turning on. I also couldn't control dimming through Home Assistant. Since the dimmer is inline, I thought I might be able to replace it with a smart version that would give me digital control over dimming. I found this product which is Wi-Fi and compatible with Magic Home (which has a local Home Assistant integration). I would have preferred to get something with Matter-over-Thread but this product category is probably a bit too niche. I believe there are Zigbee versions too but I do not have a Zigbee coordinator set up.

It was simple to replace the dimmer. On the power supply side I simply disconnected the barrel jack from the old dimmer and plugged in the new one. The old dimmer was directly connected to the lamp so I had to cut the wire on that side, strip the wires, and attach a barrel jack connector to connect to the new dimmer.

I then plugged the power supply back in and searched for the device in the Magic Home app. I onboarded it using Bluetooth and entered my Wi-Fi credentials, then the device showed up in the devices page in Home Assistant. It has worked reliably since. It responds quickly and I added the lamp to adaptive lighting so that it adjusts brightness automatically.

Thanks for reading!