Actions
Create Relay Driver
Converts the ECG to a Control4 native relay driver. Select the relay type from the list (e.g. Gate Relay, Lift Relay, Single Relay, etc.).
When executed:
- The base ECG driver is hidden in the Navigator
- Any existing native driver for this ECG is automatically destroyed
- A new native relay driver is created in the same room
- The native driver is named with the relay type suffix (e.g. "0.2: zencontrol Smart relay (Gate Relay)")
- The native driver is set to visible in the Navigator
To change the relay type, simply run this action again with a different selection. The old native driver is automatically removed and replaced.
Create Blind Driver
Converts the ECG to a zencontrol Blind driver. Select the blind variant (Shade, Blind, Curtain, Shutter, etc.).
Behaviour is the same as Create Relay Driver: the ECG is hidden, any existing native driver is removed, and a new blind driver is created with the variant suffix.
Create Fan Driver
Converts the ECG to a zencontrol Fan driver.
Behaviour is the same as Create Relay Driver: the ECG is hidden, any existing native driver is removed, and a new fan driver is created with the "(Fan)" suffix.
Auto-Conversion
The ECG driver supports automatic conversion to native drivers at commission time. When an ECG is first commissioned, the driver checks its EAN, operating mode, and bus unit config against an internal conversion table. If a match is found and the corresponding auto-creation property is enabled on the controller, the ECG is automatically converted to the matching native driver type.
Auto-conversion is controlled by three properties on the zencontrol Controller driver:
| Property | Default | Description |
|---|---|---|
| Automatically Create Fan Drivers | Yes | Auto-convert matching ECGs to Fan drivers |
| Automatically Create Relay Drivers | No | Auto-convert matching ECGs to Relay drivers |
| Automatically Create Blind Drivers | No | Auto-convert matching ECGs to Blind drivers |
The conversion table matches against:
- EAN - The device's European Article Number
- Operating Mode - The DALI operating mode (a
nilvalue matches any operating mode) - Bus Unit Config - The DALI bus unit configuration (a
nilvalue matches any config) - Version - The device version (a
nilvalue matches any version)
When auto-conversion triggers, it behaves identically to the manual conversion actions: the ECG is hidden, a native driver is created, and the name is set with the appropriate type suffix.
Auto-conversion only runs on the first commission of an ECG and does not run if the ECG has already been converted to a native driver.
Comments
0 comments
Article is closed for comments.