This article takes a new DALI line from the first power-up to a supervised installation: creating the gateway, giving short addresses to the ballasts and LED drivers, building groups, watching for lamp failures and, on DALI-2 lines, putting the sensors to work. Every operation is done from the web interface of the Weble IoT Universal Gateway, without a separate DALI commissioning tool.
The DALI driver page is the reference for the addresses and parameters; this article gives the order of the operations.
missing license: contact support@weble.ch.60000.At start-up the gateway creates three addresses by itself:
| Address | Meaning |
|---|---|
%dali:00 |
Line 0. Right-click it for the line actions. |
%dali:00/B |
Broadcast: all the gears of the line. |
%dali:00/BU |
Broadcast to the gears that have no short address yet. |
Before addressing anything, check the wiring with a broadcast: write 100 to %dali:00/B. Every luminaire of the line must light at full power. Write 0: they all switch off.
Levels are always written in percent (0–100); the gateway converts them with the standard DALI dimming curve.
If nothing lights, check the serial port, the bus power supply setting and the gateway status before going further (see Troubleshooting).
Each gear needs a short address (0 to 63) to be controlled individually.
%dali:00).The gateway first scans the 64 short addresses and keeps the ones already in use, then gives a free address to every gear without one. Each gear appears as %dali:00/A<nn> with its sub-addresses.
Options of the commissioning window:
| Option | Use |
|---|---|
| Limit gear commissioning + Number of devices | Stop after that number of new gears. Handy when gears are connected one batch at a time. |
| Force address + New device address | Only with Number of devices = 1: give that exact short address to the single unaddressed gear. The commissioning stops with Address <n> already in use if a gear already answers at that address. |
Line already addressed by another tool? Use DALI 1 Methods › Find existing gears instead: it creates the addresses of the gears that answer and changes nothing on the bus.
To move a gear to another short address afterwards, write the new number to its /address sub-address, e.g. %dali:00/A14/address.
Make the link between each short address and its place in the building:
100 to %dali:00/A00, note which luminaire lights, write 0.Office 2.14 — window).A<nn>.A list of short addresses with their location is the basis of the group plan and of any later maintenance.
A group (0 to 15) lets several gears react to one command. The membership is stored in each gear.
%dali:00/A14/groups: an array of 16 flags, one per group (index 0 = group 0).[1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0]
%dali:00/G02 (Insert address, Type Group, Group address 2), and write a level to it: every member reacts.Always write all 16 values. Details: How to change the group membership.
Groups are what you route to from other systems, for example a KNX switch or a BACnet value writing %dali:00/G02 (see Routes).
Lamp and gear failures. Set a Polling on the /status sub-address of each gear, e.g. %dali:00/A14/status with 300000 (every 5 minutes) or a cron expression. The value is an object with, among others, lampFailure and ballastStatus.
Gear not answering. When a gear stops answering a polled read, its main address (%dali:00/A14) goes to status ! timeout; it returns to online at the next answer. A route of type status from %dali:00/A14 to the address of an alerting gateway (e-mail, SMS…), with a routing function that builds the message, turns this into an alert (principle in Email gateway status alerts and Routes).
Polling generates DALI traffic: a DALI line is slow. Poll the status every few minutes, not every second, and only on the gears you need to supervise.
Operating hours. %dali:00/A14/onDuration counts the hours during which the gear level is above 0. The counter is computed by the gateway and published every ON duration emit interval in ms. Set Store value to always on this address, otherwise it restarts from 0 when the gateway restarts. To set the counter, write reset (back to 0) or reset=1000 (1000 hours), for example after a lamp replacement.
DALI-2 control devices (occupancy and light sensors, push-button couplers) have their own short addresses, %dali:00/D<nn>, and are handled in the DALI 2 tab.
%dali:00/D08/numberOfInstances. The gateway creates one sub-tree per instance: %dali:00/D08/instances/00, …/01, … Each instance has a type (pushButton, occupancySensor, lightSensor…). To locate a device, write a duration in seconds to %dali:00/D08/identify.…/instances/<nn>/scheme: device, instance, instance_group or device_group (the device_instance scheme is not published by the gateway). For instance_group, set the instance's primaryGroup first; for device_group, put the device in a group first.%dali:00/DI03/events/occupancySensor with the instance scheme. An event address emits a value at every event, even an unchanged one, so it can directly trigger a route or a logic, for example to drive a group of step 6.Address forms per scheme: Events. Timers of occupancy sensors (holdTimer, reportTimer): DALI 2 device instances.
%dali:00/A14) and choose Remove short address.After a reset, no gear can be addressed individually any more: commission the line again (step 4). The new short addresses may be distributed differently, so the descriptions, groups and routes based on the old addresses must be checked.
Scans, commissioning and resets pause the polling of the line while they run.
| Symptom | What to check |
|---|---|
The gateway does not start, missing license |
The DALI licence option is missing: contact support@weble.ch. |
The gateway does not start, Unable to get serialPort |
The Serial Port does not match a port of the gateway: pick it again in the list. |
| Nothing lights on a broadcast | Wiring, bus power: with an external power supply, untick Bus power supply; without one, tick it. Check that Driver matches the interface firmware. |
Commissioning ends with no address available |
The 64 short addresses are used. Remove unused addresses or split the installation on another line. |
A gear shows ! timeout |
The gear did not answer the last read: check its supply and the line, then read %dali:00/A<nn>/status again. |
| An event address never appears | Check the event scheme of the instance (step 8): device_instance events are not published. |