ESPHome ESP32 Led Strip Controller


My current wifi led controller (magic home) is dead and i would like to make one by myself.
I have esp32, But I cannot find correct schematics/configurations on

I have 12v adapter, 10m RGBW led strip (not addressable).
Can anybody tell how to connect the led strip with external 12v power supply and how it should be configured?


Such a shame this resource of community is dead.
Zero reply over 2 weeks,
Same post on facebook 7 comments in first 2 minutes :frowning:

11 days is not over two weeks.

ESPs will die if they get 12 volt.
I’m quite sure that is the reason for the silence.
Sure it’s doable, but why? The parts and labor will probably be as expensive or more expensive than buying a new controller.

Appreciate your reply,
thanks for correcting me for the days count (that wasn’t the point),
regarding the esp, why not to use simple voltage step-down?
Anyway very unexpected suggesting for DIY topic to purchase ready product…
fyi, magic home controllers based same esp32…

Not at all in my opinion.
If the “product” is something that is not already on the market or has more or better bells and whistles then I see no problem with DIY.
But this is nothing new. I appreciate DIY most of the time, but this is like building your own toaster from scratch.
What’s the point?

You mean voltage divider resistors or buck converter?
Go ahead.

But honestly your question is nothing more than “do this for me”.
Had you at least started of with “I know I can’t put 12 volts in a ESP chip, I could do this… is that the best solution?”
" I found this config from ESPHome is that correct?".

But all you did was post images of your parts and ask us to do the hard work… Meh…

I just had a deja vu moment.


1 Like

Learning, experimenting and practicing. …

Then why don’t you build a own LED strip? Or ESP circuit? Why do you buy a NodeMcu?

oh, move on, I know those people who prefer to troll instead of help… i wish you a good day, please don’t reply to me anymore…

@Akriss thank you for tagging me in this
@radinsky hello radinsky! I was struggling like you were a week ago and i got everything up and running perfectly, what do you need?

Looking for schematics how can I set the esp32 + rgbw led strip + adapter 12v…

  name: clear_lamp
  platform: ESP32
  board: esp32doit-devkit-v1
  ssid: "*****"
  password: "******"
  - platform: fastled_clockless
    chipset: WS2812
    pin: 25
    num_leds: 90
    rgb_order: GRB
    name: "Clear Lamp LEDs"
      - random:
          name: Slow Random 
          transition_length: 15s
          update_interval: 35s
      - random:
          name: Fast Random 
          transition_length: 7s
          update_interval: 15s
      - addressable_rainbow:
          name: Rainbow 
          speed: 5
          width: 255

i have been using that setup and code for awhile now with 0 problems. the picture is from the Bruh Automation github. it’s for a esp8266, but ive been using it with the esp32 and it works great.

edit: depending on what type of LEDs you are using, you may have to tweak the esphome code.

But this is an addressable LED strip.
OP does not have that.

ahh, i see.

well same setup applies, wouldn’t it? just wire in the extra pins. might not need the level shifter, though it probably wouldn’t hurt anything and the level shifter has 4 channels, 1 for each R G B & W.

i’ve only used the addressable strips (WS2811, WS2812, & SK6812) so it’s possible I’m wrong about the simple rgbw strips, but seems to make sense to me.

and just use the code below (tweaked for your own needs) and hopefully you get your setup working how you want it.

# Example configuration entry
  - platform: rgbw
    name: "Livingroom Lights"
    red: output_component1
    green: output_component2
    blue: output_component3
    white: output_component4

# Example output entry
  - platform: esp8266_pwm
    id: output_component1
    pin: D1
    max_power: 80%

Short answer, No.
You need the controller to control 12 volts all of the sudden on the GPIO pins. It’s doable but not as easy as with the addressable LED strips.

Was thinking it was like the ws2811, 12volt strip with 5v data line (i think that’s how it works).

id have to agree with you then, OP should just purchase a ready made controller, or maybe invest in some addressable LEDs.

The traditional LED strips have one 12 volt and three (or more) ground connections that is controlled with a PWM.