Automating an RGB Lamp With Your Phone by Using Home Assistant Along With ESPHome

Introduction: Automating an RGB Lamp With Your Phone by Using Home Assistant Along With ESPHome

About: #BnBe is a platform to help teach electronics no matter what the age or skill level. We’re currently designing a wide range of products from beginner level kits to industry-standard microcontroller platforms.

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.

Teacher Notes

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:

https://www.bitsnblobs.com/wp-content/media/diy/e42/e42.txt

Be the First to Share

    Recommendations

    • Raspberry Pi Contest 2020

      Raspberry Pi Contest 2020
    • Wearables Contest

      Wearables Contest
    • Fix It Contest

      Fix It Contest

    Discussions