Driver Type
Categories
- Recent Updates
- Access Control
- Amplifier
- A/V Receiver
- Climate and Pool Control
- Disc Player / Changer
- Display
- DSP
- DVR
- Irrigation / Sprinklers
- Lighting Control
- Matrix Switch
- Media Server and Player
- Multi-Room A/V
- Networking
- Power and Rack Management
- Security
- Surveillance
- Teleconferencing
- Training
- Tuner
- Utility
- Video Projector
Driver Type
Categories
- Recent Updates
- Access Control
- Amplifier
- A/V Receiver
- Climate and Pool Control
- Disc Player / Changer
- Display
- DSP
- DVR
- Irrigation / Sprinklers
- Lighting Control
- Matrix Switch
- Media Server and Player
- Multi-Room A/V
- Networking
- Power and Rack Management
- Security
- Surveillance
- Teleconferencing
- Training
- Tuner
- Utility
- Video Projector
Zencontrol DALI Lighting
By: David Bowdler
Updated: Oct. 28, 2026
Zencontrol DALI Lighting
Two-way RTI control of zencontrol DALI lighting over the zencontrol TPI Advanced interface. Groups, scenes, individual fittings, sensors and system variables, with live feedback so changes made at a wall plate, a sensor or in the zencontrol app show up in RTI straight away.
Key Features
- Groups: on, off, toggle, brighten, dim, stop fade and set level for all 16 DALI groups, with slider-ready level tags.
- Fittings: control and feedback for up to 64 individual DALI addresses.
- Scenes and profiles: scene recall per group, controller profile changes, and scene indication that clears when the room is dimmed away.
- System variables: read, set and toggle zencontrol system variables, with events when they change.
- Live feedback: levels, on/off/mixed state, occupancy, button presses and slider inputs from the controller.
- Quick setup: Discover from Controller fills in group, scene, fitting and system variable names, or import names from the zencontrol commissioning spreadsheet.
- Self-healing: an event watchdog re-registers feedback automatically after a controller restart.
- Multiple controllers: one copy of the driver per DALI line, all covered by one licence key per RTI processor.
- Sample project: group pages, scene keypads, fittings, system variables, sensors and a driver status page.
- Support tools: telnet diagnostic console and optional remote logging.
Requirements
- zencontrol Application Controller Pro on firmware 2.2.x (tested on 2.2.145)
- zencontrol TPI Advanced licence (zc-tpi-adv) for every DALI line, purchased from zencontrol
- RTI XP processor, Integration Designer 11.4 or later
How It Works
The driver talks to each controller over UDP using zencontrol TPI Advanced. It registers for event notifications, keeps that registration alive on a watchdog, and builds group state from the fittings themselves so the interface always matches the lights.
Zencontrol DALI Lighting
Version 0.16 - Smart Home Programming
Two-way control of zencontrol DALI lighting from RTI, over the zencontrol TPI Advanced interface.
What you get
- On, Off, Toggle, Brighten, Dim, Stop Fade and Set Level for each of the 16 DALI groups
- Scene recall per group, and profile changes on the controller
- On, Off, Toggle, Brighten, Dim and Set Level for each individual fitting (DALI addresses 0-63), with feedback
- The controller's 48 system variables: value, name and on/off state, events when they change, and the ability to set them from RTI
- Live two-way feedback: levels, on/off state, scenes, occupancy and DALI button presses
- Changes made outside RTI - a wall plate, a sensor, a timeclock, the zencontrol app - are reflected back into RTI
- Group names, scene names and profile names are read from the controller. You do not type them in. Any scene the controller has not named shows as Scene 0, Scene 1 and so on
- A feedback watchdog that repairs the event stream by itself if it ever lapses
Requirements - please read before quoting
Quote the zencontrol TPI Advanced licence for every controller.
zencontrol TPI Advanced - purchased from zencontrol, not from us. Part code zc-tpi-adv. It is charged per DALI line, not per controller, so a three-line controller needs three of them. It runs only on Pro-series controllers (Application Controller Pro, Field Controller Pro, ACx3 Pro).
TPI Advanced is what provides live feedback: changes made at wall plates, sensors and the zencontrol app appearing in RTI immediately, plus button, sensor and slider events and the group and scene names. Without it the driver can still send commands, and it will try to read levels back on a timer instead, but that slower fallback has not been confirmed on a controller without TPI Advanced - so do not quote a job on it.
Also required: the controller must be reachable from the processor on UDP port 5108, and the processor must be able to receive UDP on the Event Listen Port (default 5109).
Licensing and cost
There are two separate licences, from two different companies:
1. This driver - $129 AUD per RTI processor, from Smart Home Programming. One key covers every zencontrol controller connected to that processor, so a site with three controllers still needs only one key. Buy it at https://smarthomeprogramming.com.au/store/ - the key is generated from the processor MAC address shown in the Licence MAC variable. Enter it in the Licence Key setting.
Without a key the driver runs a 120-minute trial. When the trial ends, control commands stop but feedback keeps working, so the interface still shows the true state of the lights.
2. zencontrol TPI Advanced - from zencontrol or your zencontrol distributor. Priced by zencontrol and charged per DALI line, as described above. Note that each DALI line is its own controller with its own IP address, and each needs its own copy of this driver in the project (all covered by the one Smart Home Programming key).
Setting up
1. In Driver Properties, enter the Controller IP Address. Leave TPI Port at 5108.
2. If another driver on this processor already uses UDP 5109, change the Event Listen Port.
3. Download to the processor. The driver waits a moment, connects, then reads the controller's group, scene and profile list along with their names.
4. Check the Feedback State variable. healthy means events are actually arriving. registered, no events yet means the controller has accepted this driver's address but has not sent anything - see "If feedback stops working" below.
Wiring buttons
Each group has its own tags, numbered to match the DALI group numbers used when the system was commissioned. Group numbers are 0 to 15.
- Group N - toggle. Drop this one tag on a button and you get the toggle command and the on/off state colour in one action.
- Group N On, Group N Off - discrete on and off. On always goes to the On Level setting (default 100%), so pressing On twice never changes anything
- Group N Level - the level slider, and the level readout
- Group N Up, Group N Down - hold to brighten or dim
- Group N Stop - stop a running fade
- Group N Mixed - true when the fittings in that group are at different levels
- Group N Scene S (scenes 0 to 7) - a keypad key in one tag: recalls that scene, and the key stays lit while the group is at it. It goes dark the moment anyone dims away from the scene, just like the LED on a real keypad. Scenes 8 to 15 can still be recalled with the Recall Scene function.
Bind a button's text to the Group N Name variable to show the name the system was commissioned with, rather than typing room names into RTI a second time.
Naming groups, system variables and fittings while you program
In Driver Properties, open Driver Utilities for these tools:
- 1 - Discover from Controller - reads the group, system variable and fitting names straight off the zencontrol controller and fills in the Group Names, System Variable Names and Fitting Names settings. Enter the Controller IP Address first. This PC must be able to reach the controller on UDP 5108.
- 2 - Import Group Names from Spreadsheet - for when you are programming away from site. Use the group grid copied out of the zencontrol tools, saved as .xlsx or .csv, with a Group column and a Label column. If the file covers several controllers you choose which one this driver controls.
- 3 - Export Configuration and 4 - Import Configuration - copy this driver's settings to or from a .driverconfig file. The licence key is never exported. These two replace Integration Designer's own Import/Export Configuration items, which are not available on this driver.
Once the names are filled in they are shown in the function, variable and event lists, for example "Group 3 (Boardroom) On", "System Variable 0 (Front Door) On" and "Address 4 (Downlight A) Level", so you can see what you are wiring. System variable names are only available from Pro controllers; on other controllers you can type them in yourself. The tags themselves never change - they stay "Group 3 On" and so on - so renaming a group never breaks a button you have already wired. If a new name does not show in Macro Steps or the Tag Browser straight away, save the project, close it and open it again.
Names typed or discovered here take priority over the names on the controller. If someone renames a group in zencontrol later, run Discover from Controller again.
Global tags: All Off, plus Set Profile, Refresh From Controller and Check Feedback Now.
Understanding the level readout
Group N Level is a percentage of real light output. DALI arc levels are logarithmic: arc 127 (half way) is only about 3% light, and 50% light is arc 229. The driver converts both ways on the DALI standard curve, so the slider, Group N Level and Group N Level Text all match what the fittings are actually doing. Group N Level Text shows one decimal below 10% (for example 3.1%). Group N Arc Level is the raw DALI arc level, 0 to 254, if you need it.
The Level Scale setting (Behaviour category) chooses the curve. Logarithmic (DALI standard) is the default. Linear (raw arc / 2.54) is the behaviour of v0.11 and earlier, where 50% sent arc 127.
When the fittings in a group are at different levels, the controller reports the group as mixed rather than as a number. The driver sets Group N Mixed and Group N Level Text reads "Mixed". This is why the level shown may not change when only part of a group is adjusted.
If feedback stops working
This is worth understanding, because it is the most common complaint about DALI integrations generally and it usually gets blamed on the wrong thing.
zencontrol controllers do not remember, across a restart, that anything asked them to send event notifications. Their own documentation is explicit about it: when a controller boots, whatever is integrating with it must re-assert that events should be enabled. If nothing does, the controller comes back up perfectly healthy and simply stops reporting. Lighting control keeps working, so the system looks fine - only the feedback is dead, and rebooting the controller appears to fix it at random.
This driver checks its own event registration on a watchdog and silently re-asserts it the moment it lapses, so feedback repairs itself within a minute without anyone visiting site. The Feedback Recoveries variable counts how many times it has done so - if that number is climbing, something is restarting the controller repeatedly and that is worth investigating.
The driver also detects the case where a second control system registers itself as the controller's event destination and takes the stream away. It reports that separately, and takes it back.
If Feedback State reads not licensed, the controller does not have the zencontrol TPI Advanced licence on that DALI line. See Requirements above.
If live feedback is not available
Whenever live events are not arriving, the driver reads levels back from the controller on a timer, so the RTI interface keeps showing what the lights are actually doing rather than only what RTI last asked for. It is slower than live events. Adjust the Fallback Poll setting if needed. On a controller without TPI Advanced this depends on the controller answering those level queries, which has not yet been confirmed.
Occupancy
zencontrol sends a notification when an individual sensor detects motion, but it does not send one when motion stops. The driver therefore holds the Occupied flag for the Occupancy Hold period after the last detection and then clears it. Set that to match the sensor's own timeout.
The controller also reports occupancy for each group, and those reports include when the area goes vacant. Group N Occupied follows each area. Occupied is true while ANY area or sensor is occupied, and the Occupancy Detected and Occupancy Cleared events fire only when that changes - not on every motion report.
Buttons, sliders and sensors
Last Button Device, Last Occupancy Device and Last Slider/Dial Device use the same control device numbers as the zencontrol commissioning tool (a switch shown there as device 13 reads 13 here). Instance is the button, sensor or slider on that device. Group motion is reported separately in Last Occupancy Group.
A slider or dial on a smart switch reports its position in Last Slider/Dial Value and fires the Slider/Dial Moved event. The value is passed through exactly as the device sends it (typically about 0 to 1023), so scale it in your programming if you need a percentage.
Holding a button sends a Button Held event repeatedly for as long as it is held, which suits ramping a level up or down.
System variables
Each controller has 48 system variables (0-47). They are read when the driver connects and kept up to date as they change, including changes made by the controller's own logic, a door contact or the zencontrol app. Live updates need controller firmware 2.1.32 or later; on older firmware they are read back only when live feedback is unavailable.
For each variable the driver publishes System Variable N Name (from the controller on Pro controllers, otherwise the number), Value, Value Text, On (any value other than 0) and Off (0). Bind a layer to On or Off to show a door open or closed.
Events: System Variable N Changed, On (became non-zero) and Off (became 0), plus Any System Variable Changed with the number and value in Last Changed System Variable. Use these to run a macro when a variable changes. Connecting does not fire them.
To set a variable from RTI - for example to start a sequence on the controller - use System Variable N Set (any value 0-65535), On (1), Off (0) or Toggle, or Set System Variable with the number as a parameter. Values above 65535 are limited to 65535.
Some sensor values are reported with decimals. Value Text shows the exact value (for example 21.5); Value is rounded to a whole number.
System Variables to Read (Behaviour) sets how many are read at connect. Set it lower to shorten start-up on a site that only uses the first few, or 0 to turn the feature off.
Individual fittings
DALI allows 16 groups per line. Fittings that are not in a group, or that need to be controlled on their own, can be controlled by their DALI short address (0-63) with the Address N functions: On, Off, Toggle, Brighten, Dim and Set Level. Feedback follows the fitting whether it is changed from RTI, a wall plate or a sensor.
The driver reads which fittings exist when it connects (Address N Present, Fitting Count) and their names from the controller. A fitting with no name in the controller shows as Address N. Address N On and Off events fire when a fitting changes.
Turning a fitting on or off also updates the groups it belongs to. If only some of a group's fittings are on, the group shows Mixed.
Tags follow the same pattern as groups: Address N (toggle with state), Address N On, Address N Off, Address N Up, Address N Down and Address N Level (slider).
Diagnostics
A hidden Debug category provides a debug level, a telnet console port (default 12558) and optional remote logging to Smart Home Programming for support. Remote logging is off unless you turn it on, and can also be switched on from a macro.
The Debug category is hidden in Driver Properties; use the console instead. Telnet the processor on the console port and type help for the command list. Remote logging can be switched on from the console or with the Remote Logging On function. The two most useful are status (everything at once) and events, which reports how many events have actually been received - registration succeeding is not the same as events arriving.
Support
Smart Home Programming
Email: david@smarthomeprogramming.com.au
Web: https://smarthomeprogramming.com.au
If something is not behaving, please include the controller model, its firmware version (shown in the Controller Firmware variable) and what the Feedback State variable reads.
Licensed per RTI processor. One key covers every zencontrol controller connected to that processor.
A 120-minute trial runs without a key. After it ends, control stops but feedback keeps working.
Buy a key at the Smart Home Programming store. The key is generated from the processor MAC address shown in the Licence MAC variable.
The zencontrol TPI Advanced licence is separate and is purchased from zencontrol or a zencontrol distributor.