#Oil Lamp on ESPHome
26 messages ยท Page 1 of 1 (latest)
what is the D1 doing in this concept?
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.
nice job the flame looks great
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.
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 ๐ )
mdi:oil-lamp
๐
Reminds me of this ๐ฅ
how about pwming with the mosfet to allow dimming? You got the hardware up for this ๐