Introduction: Automating an RGB Lamp With Your Phone by Using Home Assistant Along With ESPHome
In this post, we learn how to control WS2812B RGB LEDs from your smartphone, using Home Assistant. This includes controlling it's colour, brightness and even triggering effects.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Watch the Video
The video above gives you all the information you need to build this yourself. This post will only provide the final configuration file that can be used as a starting point.
Step 2: Wire the LEDs
You can use the reference wiring diagram above to connect the LEDs. Please note that you need to use the RX pin, which is also the GPIO3 pin. This is needed as the DMA data transfer defaults to GPIO3.
Step 3: Configuration File
You can use the following link to obtain the configuration lines that need to be added to your ESPHome node: