villTech wrote:Here is one project i made to control AC lamp with ESP module. I modified an AC motion sensor.![]()
![]()
added optocoupler to trigger triac
fed sensor output to esp module.
hardware set up done. will change to esp-07 after fw ok to fit in esp to black box.
here is my simple html page:
additional new features:
enable/disable motion sensing
enable motion sensing on set time
on off lamp on set time
manual control on lamp
Time is taken from ntp server
here is the test video.
https://www.youtube.com/watch?v=Ydcprt9MzR0
still need to finish the time settings.
Very nice one. Something similar is on my desk now for the next article about motion sensors
![Smile :)](./images/smilies/icon_e_smile.gif)
Available on Tindie: https://www.tindie.com/products/nEXT_EVO1/universal-ac-mains-dimmer-mpdmv41/