ESPHome ESP8266 stellt physische Verbindung zu Ihrem Gerät her
Technische Daten
- Systemanforderungen: Control4 OS 3.3+
Überview
Integrieren Sie ESPHome-basierte Geräte in Control4. ESPHome ist ein Open-Source-System, das gängige Mikrocontroller wie ESP8266 und ESP32 durch einfache YAML-Konfiguration in Smart-Home-Geräte verwandelt. ESPHome-Geräte können über ein web Browser, Home Assistant oder andere kompatible Plattformen. Dieser Treiber ermöglicht die nahtlose Überwachung und Steuerung von ESPHome-Geräten direkt von Ihrem Control4-System aus.
Systemanforderungen
- Control4 OS 3.3+
Merkmale
- Lokale Netzwerkkommunikation erfordert keine Cloud-Dienste
- Real-time updates from all supported entities exposed by the device
- Supports encrypted connections using the device encryption key
- Unterstützung der variablen Programmierung
Kompatibilität
Verifizierte Geräte
Dieser Treiber funktioniert grundsätzlich mit jedem ESPHome-Gerät, wir haben ihn jedoch ausführlich mit den folgenden Geräten getestet:
- ratgdo – Konfigurationsanleitung
If you try this driver on a product listed above, and it works, let us know!
Unterstützte ESPHome-Entitäten
Installationsprogramm einrichten
Only a single driver instance is required per ESPHome device. Multiple instances of this driver connected to the same device will have unexpected behavior. However, you can have multiple instances of this driver connected to different ESPHome devices.
DriverCentral Cloud-Setup
If you already have the DriverCentral Cloud driver installed in your project you can continue to Driver Installation.
This driver relies on the DriverCentral Cloud driver to manage licensing and automatic updates. If you are new to using DriverCentral you can refer to their Cloud Driver documentation für die Einrichtung.
Treiberinstallation
Driver installation and setup are similar to most other IP-based drivers. Below is an outline of the basic steps for your convenience.
- Laden Sie die neueste
control4-esphome.zip
aus DriverCentral. - Extract and install the
esphome.c4z
,esphome_light.c4z
, Undesphome_lock.c4z
Treiber. - Use the “Search” tab to find the “ESPHome” driver and add it to your project.
- Select the newly added driver in the “System Design” tab. You will notice that the Cloud Status reflects the license state. If you have purchased a license it will show “License Activated”, otherwise “Trial Running” and remaining trial duration.
- You can refresh license status by selecting the “DriverCentral Cloud” driver in the “System Design” tab and perform the “Check Drivers” action.
- Konfigurieren Sie die Geräteeinstellungen with the connection information.
- After a few moments the Driver Status will display “Connected”. If the driver fails to connect, set the Log Mode property to “Print” and re-set the IP Address field to reconnect. Then check the Lua output window for more information.
- Once connected, the driver will automatically create variables and connections for each supported entity type.
- To control lights and/or locks, use the “Search” tab to find the “ESPHome Light” and/or “ESPHome Lock” driver. Add one driver instance for each exposed light or lock entity in your project. In the “Connections” tab, select the “ESPHome” driver and bind the light or lock entities to the newly added drivers.
Treiber-Setup
Treibereigenschaften
Cloud-Einstellungen
- Cloud-Status
Displays the DriverCentral cloud license status. - Automatische Updates
Turns on/off the DriverCentral cloud automatic updates.
Treibereinstellungen
- Treiberstatus (schreibgeschützt)
Zeigt den aktuellen Status des Treibers an. - Driver Version (read-only)
Displays the current version of the driver. - Log Level [ Fatal | Error | Warning | Info | Debug | Trace | Ultra ] Sets the logging level. Default is Info.
- Log Mode [ Off | Print | Log | Print and Log ] Sets the logging mode. Default is Aus.
Geräteeinstellungen
IP-Adresse
Sets the device IP address (e.g. 192.168.1.30
). Domain names are allowed as long as they can be resolved to an accessible IP address by the controller. HTTPS is not supported.
Notiz: If you are using an IP address, you should ensure it will not change by assigning a static IP or creating a DHCP reservation.
Hafen
Sets the device port. The default port for ESPHome devices is 6053
.
- Authentication Mode [ None | Password | Encryption Key ]
- Selects the authentication method for connecting to the ESPHome device.
Keiner: No authentication required.
Passwort: Use a password for authentication (see below).
Verschlüsselungsschlüssel: Use an encryption key for secure communication (see below).
- Passwort
Shown only if Authentication Mode is set to Password. Sets the device password. This must match the password configured on the ESPHome device. - Verschlüsselungsschlüssel
Shown only if Authentication Mode is set to Encryption Key. Sets the device encryption key for secure communication. This must match the encryption key configured on the ESPHome device.
Geräteinformationen
- Name (read-only)
Displays the name of the connected ESPHome device. - Model (read-only)
Displays the model of the connected ESPHome device. - Manufacturer (read-only)
Displays the manufacturer of the connected ESPHome device. - MAC Address (read-only)
Displays the MAC address of the connected ESPHome device. - Firmware Version (read-only)
Displays the firmware version of the connected ESPHome device.
Fahreraktionen
Verbindungen und Variablen zurücksetzen
Warnung: This will reset all connection bindings and delete any programming associated with the variables.
Setzen Sie die Treiberverbindungen und Variablen zurück. Dies ist nützlich, wenn Sie das angeschlossene ESPHome-Gerät ändern oder veraltete Verbindungen oder Variablen vorhanden sind.
ratgdo-Konfigurationshandbuch
Dieses Handbuch enthält Anweisungen zum Konfigurieren des ESPHome-Treibers für die Zusammenarbeit mit Ratgdo-Geräten zur Garagentorsteuerung über Relais in Control4 Composer Pro.
Relais-Controller-Treiber hinzufügen
Fügen Sie Ihrem Control4-Projekt in Composer Pro den gewünschten Relais-Controller-Treiber hinzu.
Eigenschaften des Relais-Controllers
Das ratgdo-Gerät stellt eine „Cover“-Entität in ESPHome bereit, die der Relaiscontroller-Funktionalität in Control4 zugeordnet ist.
Anzahl der Relais
Das ratgdo-Gerät verwendet eine Multi-Relais-Konfiguration zur Steuerung des Garagentors. In Composer Pro sollten Sie die Relaiseinstellungen wie folgt konfigurieren:
- Set to 2 Relays (Open/Close) or 3 Relays (Open/Close/Stop)
- The ratgdo device uses separate commands for opening and closing the garage door
- If your ratgdo firmware supports the “stop” command, configure for 3 relays to enable the stop functionality. If you are not sure, you can look at the ratgdo connections in Composer Pro to see if the “Stop Door” relay is available.
Relaiskonfiguration
- Eingestellt auf Impuls
- ratgdo uses momentary pulses to trigger the garage door opener, similar to a wall button press
Pulszeit
- Set all relay pulse times to 500 (Standard)
- This is the duration the relay will be activated
Relais umkehren
- Set all invert relay properties to NEIN (Standard)
Kontakt Debounce
- Set all contact debounce times to 250 (Standard)
- This helps prevent false flapping of the garage door state sensors
Kontakt umkehren
- Set all invert contact properties to NEIN (Standard)
ExampEigenschaften
Als Referenz ist hier ein BeispielampDatei der Relais-Controller-Eigenschaften in Composer Pro:
Relais-Controller-Anschlüsse
Relais
- Offen: Connect to the ratgdo’s “Open Door” relay
- Schließen: Connect to the ratgdo’s “Close Door” relay
- Stop: Connect to the ratgdo’s “Stop Door” relay, if available
Kontaktsensoren
- Geschlossener Kontakt: Connect to the ratgdo’s “Door Closed” contact
- Geöffneter Kontakt: Connect to the ratgdo’s “Door Open” contact
Example Anschlüsse
Als Referenz ist hier ein BeispielampAbbildung, wie die Verbindungen in Composer Pro aussehen sollten:
Programmierung
You can create programming in Control4 to:
- Open/close the garage door based on events
- Monitor the garage door state
- Set up notifications for garage door status changes
- Create custom buttons on touchscreens and remotes
Example: Creating a Still Open Alert
Using the “Still Open Time” property from the relay controller driver:
- Set the “Still Open Time” to your desired duration (e.g., 10 minutes)
- Create a programming rule that triggers when the “Still Open” event fires
- Add actions to send notifications or perform other tasks
Zusätzliche Entitäten
Depending on your ratgdo device, firmware, and its capabilities, there may be additional entities exposed by the ESPHome driver. These can come as additional connections or driver variables.
Please refer to ratgdo’s documentation for more information on specific entities: https://ratgdo.github.io/esphome-ratgdo/webui_documentation.html
Entwicklerinformationen
Copyright © 2025 Finite Labs LLC
All information contained herein is, and remains the property of Finite Labs LLC and its suppliers, if any. The intellectual and technical concepts contained herein are proprietary to
Finite Labs LLC and its suppliers and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade secret or copyright law. Dissemination of this information or reproduction of this material is strictly forbidden unless prior written permission is obtained from Finite Labs LLC. For the latest information, please visit https://drivercentral.io/platforms/control4-drivers/utility/esphome
Unterstützung
If you have any questions or issues integrating this driver with Control4 or ESPHome, you can contact us at driver-support@finitelabs.com or call/text us at +1 949-371-5805.
Änderungsprotokoll
v20250715 – 2025
- Behoben: Fehler behoben, der dazu führte, dass Entitäten beim Verbinden nicht erkannt wurden
v20250714 – 2025
- Hinzugefügt: Added support for encrypted connections using the device encryption
v20250619 – 2025
- Hinzugefügt : Added ratgdo specific documentation
v20250606 – 2025
- Hinzugefügt :Initial Release
Häufig gestellte Fragen
What devices are compatible with this driver?
This driver is compatible with any ESPHome device, with extensive testing done on ratgdo devices. If you try it on anyother device and it works, kindly inform us for verification.
Dokumente / Ressourcen
![]() |
ESPHome ESP8266 stellt physische Verbindung zu Ihrem Gerät her [pdf] Benutzerhandbuch ESP8266, ESP32, ESP8266 Physische Verbindung zu Ihrem Gerät, ESP8266, Physische Verbindung zu Ihrem Gerät, Verbindung zu Ihrem Gerät, zu Ihrem Gerät, Ihrem Gerät |