#Oil Lamp on ESPHome

26 messages ยท Page 1 of 1 (latest)

strong raven
#

My uncle gave me a really nice oil lamp. However, I didn't want to actually burn oil in it. Enter ESPHome. I transplanted the wick construction with a fake candle flame and installed a D1 mini with battery shield and a Li-Po battery in the oil reservoir.
Really happy with the result, the fake flame looks amazing.

#

This is the fake flame that I sourced from a battery-powered fake candle.

fathom rose
#

what is the D1 doing in this concept?

strong raven
#

It allows me to hook the thing up to Home Assistant.

#

It implements a switch component, which drives a FET that powers up the fake flame.

#

Now some testing to see how long the battery lasts. If the battery drains too quickly to my liking, I might add a micro-USB port for powering. But of course it looks more convincing when it's fully wireless.

vernal sapphire
#

nice job the flame looks great

strong raven
#

Yeah, I really like this fake flame type. Got a set of three candles, so as a bonus I have two extra candles.

#

Of course, I'll have to take a look if I can sneak ESPHome in those too ๐Ÿ˜‰

#

Also a fun thing, is that the flame part has an IR receiver on it. The candles came with a remote control, for turning on/off the candles, dimming down and up, and a few extra functions.

#

So I taught the codes to my broadlink remote, giving me some extra control over the candles via Home Assistant.

odd forum
#

It looks great!

#

Any reason why it looks like switch and not as a (binary) light?

strong raven
#

I simply went for switch to turn on/off the FET that drives the LED. But good point, a template light might be more appropriate here (if only for the lack of "oil lamp" as a platform ๐Ÿ˜• )

strong raven
#

There you go

#

Thanks for the pointer

marsh tusk
#

mdi:oil-lamp
๐Ÿ˜‡

strong raven
#

Hehe yeah, I have that bottom one currently

#

No genie popping up ๐Ÿ˜ฆ

night cosmos
grim kindle
#

how about pwming with the mosfet to allow dimming? You got the hardware up for this ๐Ÿ˜‰

strong raven
#

The candle component already supports dimming via IR

#

So I control dimming via my IR setup ๐Ÿ˜‹

#

Also not sure if pwm would work here, since it's a full circuitry that is being powered here. Led, IR, some controller and magnet