This project has no real challenge. I know that a lot of people have done this kind of stuff (for night light, or for weddings for example). But I want to keep tracks of all of my projects, and so I hope to provide this way a very easy solution for building custom LED based / WIFI enabled LED light.This project is "ongoing". I will add details once it's completed. And it will of course integrate with my Wifi Remote (https://hackaday.io/project/160623-wifi-remote)
All code (lamp + remote) is on github
"Colours Cylepur" table lamp
Bought in Castorama store in france. You will find the same in brico depot, Leroy Merlin... Any similar cheap lamp will do the job. Need to be large enough to put the 60mm distribution box.
Round distribution box, 60 mm diameter
Anything from electric equipment store. I'm using one from Legrand
Wemos D1 Mini
Personally, I buy them by 10 on AliExpress. I don't know better ESP8266 boards. A D1 Mini Lite is also OK
Wemos D1 Mini RGB Shield
The standard 7 RGB shield
HLK-PM01 AC-DC 220V to 5V mini power supply modul
You know this one : the famous "Hi Link" 5V power supply ... I will try with this one, but as I have doubt on quality, you can try also with a better one from mean well (sometime cheaper because they are distributed in Europe and you don't have to pay for shipping)
The lamp includes also a buzzer now, and an alarm can be set remotely. When the alarm is on, the lamp blink and the buzzer beep.
Time is managed through NTP
I have also made a very basic remote, with just 1 button.
This is basically a wifi connected button, made with a D1 Mini lite. A press on the button reset the ESP8266 (which is in permanent deep sleep mode), which only call the lamp to switch it on or off. Indeed the lamp is far from my girl bed, and so she can activate / desactivate the lamp at will.
When pressed, the switch also stop a running alarm
In a further upgrade I will add a tilt switch into the remote, to allow to change the light pattern of the lamp simply by shacking the remote.
Why this project ? One of my girls is asking for a Night Light, more to be able to light up the room at demand.
So, to have a little fun with this, I will do :
A Wifi driven Night light. Based on standard electrical components + D1 Mini + RGB Leds
A Wifi button, using a standard wall mounted switch box + D1 Mini Lite + Battery + Deep sleep mode (will be described on another project)
The night light will be, basically, a standard desk lamp. But it will use 7 RGB Led, to add more fun in the light ambiance. I don't need here a lot of lighting power, so the standard Wemos D1 Mini RGB Shield will be OK.
I have everything I need to start it, except time, so I will update this project page once I will have completed everything. Once again the longest part will be the "mecanical" stuff : merging things together in a way that is safe and do what I want :-)