Smart Home ESP8266 LED Controller Setup
RGBW 4Kanal Modul

Tasmota RGBW LED Controller Modul Konfiguration

Tasmota Konfiguration

Der grundlegende Aufbau des EI-OT RGBW LED Controller Moduls basiert auf dem ESP8266 in Kombination mit 4 TO-220 N-Kanal Mosfet.

Im Detail wird mittels dem RGBW Controller Modul über

  • GPIO4 PWM Kanal 4 weiß
  • GPIO12 PWM Kanal 2 grün
  • GPIO13 PWM Kanal 1 rot
  • GPIO14 PWM Kanal 3 blau

angesteuert.

Des Weiteren verfügt der EI-OT RGBW Controller über

  • GPIO5 optoisolierter Eingang 3,9-24V zum Empfang von Benutzereingabe über Taster oder Schalter
  • GPIO17 analog ADC beispielsweise zur analogen Signalauswertung eines Fotowiderstand zur Bestimmung der Helligkeit
  • GPIO16 zur individuellen Verwendung
  • GPIO0 zur individuellen Verwendung (bitte Boot Modus berücksichtigen / kein Low Level während des Boot Vorgangs)

Das Tasmota Template aktiviert die vorgenannten GPIO’s und stellt diese dann zur individuellen Konfiguration über das Tasmota Webinterface bereit.

Tasmota  Template aktivieren
    1. klicke im Tasmota Webinterface auf Einstellungen
    2. klicke im Konfigurationsmenü auf Gerät
    3. klicke innerhalb der Module Parameter auf das Drop Down Gerät wähle
    4. klicke auf Speichern, das EI-OT RGBW LED Controller Modul führt einen Reboot aus
    5. nach dem erfolgreichen Reboot erscheint das EI-OT RGBW Webinterface
    6. die oben genannten GPIO’s können nun individuell konfiguriert werden
Tasmota Configuration

The basic structure of the EI-OT RGBW LED controller module is based on the ESP8266 in combination with 4 TO-220 N-channel Mosfet.

In detail, the RGBW controller module is used

  • GPIO4 PWM channel 4 white
  • GPIO12 PWM channel 2 green
  • GPIO13 PWM channel 1 red
  • GPIO14 PWM channel 3 blue

controlled.

The EI-OT RGBW controller also has additional GPIO’s as follows

  • GPIO5 opto-isolated input 3.9-24V for receiving user input via button or switch
  • GPIO17 analog ADC, for example for analog signal evaluation of a photoresistor to determine brightness
  • GPIO16 for individual use
  • GPIO0 for individual use (please take boot mode into account / no low level during the boot process)

The Tasmota template activates the mentioned GPIOs and  makes them available for individual configuration via the Tasmota web interface.

enable Tasmota  Template
  1. click on Configuration in the Tasmota web interface
  2. click on Module in the configuration menu
  3. click on the Module Type drop-down within the Module Parameters
  4. click on Save to reboot the EI-OT RGBW LED Controller module
  5. after reboot the EI-OT RGBW Webinterface appears
  6. the GPIOs mentioned above can now be configured individually
Tasmota Ein- und Ausgänge

Bei der Konfiguration des EI-OT RGBW LED Controller ist das Farbspektrum / Farbmischer, welcher im Tasmota Webinterface dargestellt wird zu beachten. Im Detail müssen die Farbkanäle  entsprechend zugeordnet werden, andernfalls wird nicht das eingestellte Farbspektrum erzeugt.

  • GPIO13 PWM Kanal 1 rot
  • GPIO12 PWM Kanal 2 grün
  • GPIO14 PWM Kanal 3 blau
  • GPIO4 PWM Kanal 4 weiß (falls vorhanden)

zu berücksichtigen.

Des Weiteren wird über GPIO5 in Kombination mit einem PC817 Optokoppler ein Eingang zur Benutzereingabe bereitgestellt Typischerweise werden Eingänge als

  • Schalter (Switch), GPIO5 ist aktiv so lange wie der Schalter geschlossen ist
  • Taster (Button), GPIO5 ist aktiv so lange aktiv wie der Taster gedrückt wird

innerhalb der Tasmota Firmware konfiguriert.

Standardmäßig koppelt Tasmota den jeweiligen „Eingangskanal“ an das jeweilige Relais, im Bezug des RGBW Controllers werden sämtliche PWM Ausgänge geschaltet.

Tasmota GPIO’s konfigurieren
    1. klicke im Tasmota Webinterface auf Einstellungen
    2. klicke im Konfigurationsmenü auf Gerät
    3. klicke innerhalb der Module Parameter auf das Drop Down des jeweiligen zu konfigurierenden GPIO
      • wähle    um einen PWM Ausgang zu konfigurieren
      • wähle   im Kanal DropDown den jeweilig, anzubindende PWM Kanal aus (gemäß nachfolgender Liste)
    4. führe Schritt 3 für sämtliche zu konfigurierende PWM Ausgänge durch
      • GPIO13 PWM Kanal 1 rot
      • GPIO12 PWM Kanal 2 grün
      • GPIO14 PWM Kanal 3 blau
      • GPIO4 PWM Kanal 4 weiß (falls vorhanden)
    5. klicke innerhalb der Module Parameter auf das Drop Down des GPIO5
      • wähle   um einen Taster zu konfigurieren
      • oder alternativ     um einen Schalter zu konfigurieren
      • wähle in der Kanalauswahl   
    6. klicke auf Speichern, das EI-OT RGBW LED Controller Modul führt einen Reboot aus
    7. nach dem erfolgreichen Reboot erscheint das EI-OT RGBW Webinterface
      1. durch Klick auf den Button werden die PWM Ausgänge geschaltet
      2. mittels dem Farbmischer wird die auszugebende Farbe erzeugt
      3. mittels dem Sättigungschieber wird die Intensität der Lichtfarbe vorgegeben
      4. mittels dem Schieber für die Helligkeit wird die Helligkeit der LED’s gesteuert
Tasmota Input and Outputs

When configuring the EI-OT RGBW LED controller, the color spectrum / color mixer, which is displayed in the Tasmota web interface, must be taken into account. In detail, the color channels must be assigned accordingly, otherwise the set color spectrum will not be generated.

  • GPIO13 PWM channel 1 red
  • GPIO12 PWM channel 2 green
  • GPIO14 PWM channel 3 blue
  • GPIO4 PWM channel 4 white (if available)

to be taken into account.

Furthermore, an input for user input is provided via GPIO5 in combination with a PC817 optocoupler. Typically, inputs are as

  • Switch, GPIO5 is active as long as the switch is closed
  • Button, GPIO5 is active as long as the button is pressed

configured within the Tasmota firmware.

By default, Tasmota couples the respective „input channel“ to the respective relay; in relation to the RGBW controller, all PWM outputs are switched.

Tasmota GPIO configuration
  1. click on Configuration in the Tasmota web interface
  2. click on Module in the configuration menu
  3. within the module parameters, click on the drop down of the respective GPIO to be configured
    • choose   to configure a button
    • choose the number    of the respective connected PWM channel pls. refer list below
  4. carry out step 3 for all GPIOs/inputs to be configured
    • GPIO12 = input SW1
    • GPIO13 = input SW2
    • GPIO14 = input SW3
    • GPIO16 = input SW4
  5. click on the drop down of the respective GPIO to be configured
    • choose   to configure a button
    • or alternatively     to configure a switch
    • choose the number    in channel DropDown
  6. click on Save to reboot the EI-OT RGBW LED Controller module
  7. after reboot the EI-OT RGBW Webinterface appears
    1. by clicking on the button the PWM outputs are switched
    2. the color mixer is used to configure color of LED
    3. the intensity of the light color is specified using the saturation slider
    4. the brightness of the LEDs is controlled using the brightness slider
Tasmota Template Problem

Sollte das Modul / der ESP8266 bereits mit einem anderen Tasmota Template betrieben worden sein, ist dieses Template weiterhin aktiv – es wird kein EI-OT RGBW Modul im DropDown der Geräteeinstellung angezeigt –.

An dieser Stelle sei erwähnt selbst ein Tasmota Firmware Reset löscht diesen Template Eintrag nicht!

Tasmota Template Änderung

  1. klicke auf Einstellungen um das Tasmota Konfigurationsmenü zu öffnen
  2. klicke im Tasmota Einstellungssmenü auf Erweitert
  3. füge im Textfeld Vorlage folgenden Text ein
    {"NAME":"EI-OT RGBW","GPIO":[1,1,0,1,1,1,0,0,1,1,1,0,1,1],"FLAG":0,"BASE":18}
  4. klicke auf das Kontrollkästchen
  5. klick auf den Button Speichern
  6. Tasmota aktiviert nun das Template und führt einen Neustart durch und lädt die Grundkonfiguration basierend auf der Tasmota Geräte Vorlage.
Tasmota Template Problem

If the module / ESP8266 has already been operated with a different Tasmota template, this template is still active – no EI-OT RGBW module is displayed in the drop-down of the device settings -.

At this point it should be mentioned that even a Tasmota firmware reset does not delete this template entry!

Change Tasmota Template

  1. click on Configuration
  2. in the Tasmota Configuration Menu click on Other
  3. paste following text into Textfield Template
    {"NAME":"EI-OT RGBW","GPIO":[1,1,0,1,1,1,0,0,1,1,1,0,1,1],"FLAG":0,"BASE":18}
  4. click on CheckBox
  5. click on Save
  6. Tasmota initiate a reboot and restart EI-OT 1-Wire Module based on Tasmota Template

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert


Der Zeitraum für die reCAPTCHA-Überprüfung ist abgelaufen. Bitte laden Sie die Seite neu.