ESP8266 YeeLight SWITCH

Hello,
Today I build switch for YeeLight’s with this switch you can toggle multiple lights from one button. The code is build for two lights but if you want more you have comments what should do if you are using one or more lights.You only need to know the IP of your YeeLight. You can find your ip in your router dhcp.
Here is video of the switch:
https://youtu.be/0uU2YnAKkIw
and here is the code:


In next days I will build complete switch with battery. Soon I will update the post. This is for YeeLight White I don’t have Color to try.

1 Like

That’s awesome, you use developer mode to do that :+1:
Really looking forward to seeing your switch powered by battery. I’m really curious to see how fast ESP8266 wake up from modem/deep sleep mode to complete the packet transfer.

1 Like

Odlicno druze! Pozdrav

1 Like

Fala ti ! :slight_smile: