Zum Hauptinhalt springenZur Hauptnavigation springen
WLAN 12V-RGBW-LED Controller für Home Assistant mit ESPHome

WLAN 12V-RGBW-LED Controller für Home Assistant mit ESPHome

SmartHomeYourself
16. Dezember 2020
2 Min Lesezeit

In dieser Kurzanleitung zeige ich euch, wie Ihr einen WLAN 12V-RGBW-LED Controller erstellen und damit eure nicht adressierbaren RGBW-LED-Stripes mit ESPHome in Home Assistant einbinden könnt.

Zu diesem Zweck habe ich eine Platine entworfen und stelle Euch ebenfalls das dazu passende Programm für ESPHome zur Verfügung.
Falls Ihr eine Schritt für Schritt Anleitung benötigt schaut euch das Video zum Projekt an. Darin zeige ich alles vom Aufbau der Platine bis hin zum Einbinden in Home Assistant.


Benötigte Bauteile

Lädt Collection: 12V-RGB-Controller-for-HA...


Unter folgendem Link findet Ihr noch die BOM-Liste:
https://smarthomeyourself.eu/hc_downloads/rgb_12v_controller-bom.csv


Platine des WLAN 12V-RGB-LED Controller

Der Schaltplan ist wie zu erwarten recht einfach.

WLAN 12V-RGB-LED Controller Schaltplan

Das Platinenlayout ist eben so schlicht gehalten.

WLAN 12V-RGB-LED Controller Platinenlayout
WLAN 12V-RGB-LED Controller
Hier seht Ihr die Platine im fertig aufgebauten Zustand (Noch die alte RGB Variante)

Unter folgendem Link könnt Ihr die Platine des RGBW Controller direkt bestellen.

🛒 Diese Platine kannst du direkt bei ELECROW bestellen
Mit dem Partnerlink unterstützt du mein Projekt – ganz ohne Mehrkosten für dich.

ELECROW RGBW Wi-Fi LED Controller
https://www.elecrow.com/sharepj/12-v-rgbw-wi-fi-led-controller-for-non-addressable-stripes-812.html



ESPHome Programm des WLAN 12V-RGBW-LED Controller

Spielt folgendes Programm mit ESPHome auf die NodeMCU und steckt diese anschließend auf die Platine. Sobald diese dann mit Strom versorgt wird, solltet Ihr in der Lage sein, die Platine in ESPHome einzubinden.

Für die ältere RGB Variante schmeißt einfach die Einträge für white und rgb_shys_4 raus.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 esphome: name: rgb_youtube platform: ESP8266 board: nodemcuv2 wifi: ssid: !secret WLanSSID password: !secret WLanPassword # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "RGB Buero" password: "gWef1LCbEILB" captive_portal: logger: api: password: !secret HA_API_Password ota: password: !secret HA_OTA_Password light: - platform: rgb name: "SmartHome yourself RGB" red: rgb_shys_1 green: rgb_shys_2 blue: rgb_shys_3 white: rgb_shys_4 output: - platform: esp8266_pwm id: rgb_shys_1 pin: D5 - platform: esp8266_pwm id: rgb_shys_2 pin: D6 - platform: esp8266_pwm id: rgb_shys_3 pin: D2 - platform: esp8266_pwm id: rgb_shys_4 pin: D1


Video zum Projekt