Smart Home WLan 16 Kanal Standard Relais Bausatz
16 Kanal Standard

Tasmota 16 Kanal Relais Konfiguration

Tasmota Relais Konfiguration

Der grundlegende Aufbau des EI-OT 16 Kanal Relais Moduls basiert auf dem ESP8266 in Kombination mit zwei PCF8574 I/O Expander.

Im Detail wird mittels dem EI-OT 16 Kanal Relais Modul über GPIO4 und GPIO5 mit Hilfe eines I2C Treibers 8 Ausgänge der zwei PCF8674 zum Schalten der Relais angesteuert.

Das Tasmota Template aktiviert die benötigte I2C Schnittstelle und stellt weitere, verfügbare GPIO’s des EI-OT 16 Kanal Relais Modul ü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 16 Kanal Relais  Modul führt einen Reboot aus
    5. nach dem erfolgreichen Reboot erscheint das EI-OT 16CH Webinterface
    6. klicke erneut im Tasmota Webinterface auf Einstellungen
    7. klicke im Konfigurationsmenü auf PCF8574
    8. aktiviere die Option 
    9. wähle im DropDown der jeweiligen Ports 0-15    aus
    10. klicke auf Speichern, das 16 Kanal Relais  Modul führt einen Reboot aus
    11. nach erfolgreichem Neustart werden die 16 Relais im Tasmota Webinterface angezeigt und können direkt durch anklicken geschaltet werden
Tasmota Relays Configuration

The basic structure of the EI-OT 16 Channel Relays module is based on the ESP8266 in combination with 2 PCF8574 I/O Expander.

In detail, the EI-OT 16 Channel Relays Module operates thru GPIO4 and GPIO5 an I2C Driver to control 8 outputs of each PCF8574 for toggling the 16 Relays.

The Tasmota Template enables the required I2C Interface, also activates additional, available GPIOs of the EI-OT 16 channel relay module for individual configuration thru Tasmota Webinterface.

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 16 Channel Relays module
  5. after reboot the EI-OT 16CH Webinterface appears
  6. click again on Configuration in the Tasmota web interface
  7. click on PCF8574 in the configuration menu
  8. click on CheckBox 
  9. select    thru DropDown for all 16 PCF8574 Ports
  10. click on Save to reboot the EI-OT 16 Channel Relays module
  11. after reboot the Tasmota webinterface will show all 16 Relais, for toggling just click on Buttons 1 to 16
Tasmota Eingänge konfigurieren

Das EI-OT 16 Kanal Relais Moduls verfügt über 4 optoisolierte Benutzereingänge, dabei ist die Zuweisung der Eingänge

  • GPIO12 = Eingang SW1
  • GPIO13 = Eingang SW2
  • GPIO14 = Eingang SW3
  • GPIO16 = Eingang SW4

zu berücksichtigen.

Typischerweise werden die Eingänge als

  • Schalter (Switch), das Relais schaltet so lange wie der Schalter geschlossen ist
  • Taster (Button), das Relais schaltet bei einem Taster Signal um
    • wenn Relais aus wird angeschaltet
    • wenn Relais an wird ausgeschaltet

innerhalb der Tasmota Firmware konfiguriert. Dabei kann jeder Eingang frei / unabhängig von den anderen Eingängen konfiguriert werden. An dieser Stelle sei erwähnt Taster (Button) oder Schalter (Switch) werden innerhalb der Tasmota Oberfläche nicht angezeigt.

Neben typischen Schaltern und Tastern können auch jedwede Sensoren beispielsweise Lichtsensor, PIR Sensor / Bewegungsmelder, Distanzsensor, Trockenschalter / Reedkontakt, usw. als Signalgeber verwendet werden. Grundlegend sollte dabei der Signalausgang stets digital sein.

Standardmäßig koppelt Tasmota den jeweiligen „Eingangskanal“ an das jeweilige Relais, beispielsweise

  • Button 1 schaltet Relais 1
  • Button 9 schaltet Relais 9

bitte nicht verwechseln mit der obigen Zuweisung der Hardware / Eingänge SW1 bis SW4. Die Konfiguration erfolgt stets basierend auf den jeweiligen GPIO

Tasmota Eingänge 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 Taster zu konfigurieren
      • oder alternativ     um einen Schalter zu konfigurieren
      • wähle   im Kanal DropDown das jeweilige, anzubindende Relais aus
    4. führe Schritt 3 für sämtliche zu konfigurierende GPIO’s / Eingänge durch
      • GPIO12 = Eingang SW1
      • GPIO13 = Eingang SW2
      • GPIO14 = Eingang SW3
      • GPIO16 = Eingang SW4
    5. klicke auf Speichern, das EI-OT 16 Kanal Relais  Modul führt einen Reboot aus
    6. nach dem erfolgreichen Reboot erscheint das EI-OT 16CH Webinterface
    7. wird nun einer der 4 Eingänge beschaltet, agiert das jeweilige Gerät
Tasmota Input Configuration

The EI-OT 16 channel relay module has 4 opto-isolated user inputs

  • GPIO12 = input SW1
  • GPIO13 = input SW2
  • GPIO14 = input SW3
  • GPIO16 = input SW4

Typically the inputs are as

  • Switch, the relay switches as long as the switch is closed
  • Button (button), the relay switches when there is a button signal
    • when relay off is switched on
    • when relay on is switched off

configured within the Tasmota firmware. Each input can be configured independently of the other inputs. At this point it should be mentioned that buttons or switches are not displayed within the Tasmota interface.

In addition to typical switches and buttons, any sensors such as light sensors, PIR sensors/motion detectors, distance sensors, dry switches/reed contacts, etc. can also be used as signal transmitters. Basically, the signal output should always be digital.

By default, Tasmota couples the respective “input channel” to the respective relay, for example

  • Button 1 switches relay 1
  • Button 9 switches relay 9

Please do not confuse this with the above assignment of hardware/inputs SW1 to SW4. The configuration is always based on the respective GPIO

Tasmota Inputs 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
    • or alternatively     to configure a switch
    • choose the number    of the respective connected relay
  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 Save to reboot the EI-OT 16 Channel Relays module
  6. after reboot the EI-OT 16CH Webinterface appears
  7. Soon as one of the 4 inputs is active, the respective relays acts
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 16CH PRO 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 16CH","GPIO":[1,1,1,1,640,608,0,0,1,1,1,0,1,0],"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 16CH PRO 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 16CH","GPIO":[1,1,1,1,640,608,0,0,1,1,1,0,1,0],"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.