WB-DALI3
Three-channel Modbus-to-DALI-2 gateway
Covered order codes (1)
WB-DALI3

Purpose
Available since release wb-2606
WB-DALI3 is a gateway for configuring and controlling DALI-2 (IEC 62386) devices with a Wiren Board controller.
DALI-2 support allows sensors and switches to be used alongside luminaires.
Technical specifications
| Parameter | Value |
|---|---|
| Power supply | |
| Supply voltage |
Both supply voltages are required when using the built-in DALI bus power supply. From hardware revision 1.5, AC power is not required when an external power supply powers the DALI bus. |
| Power consumption |
|
| Outputs | |
| Number of outputs | 3 buses |
| DALI bus output voltage | 19.2 V |
| DALI bus output current |
|
| Inputs | |
| Number of inputs | 7 |
| Input type | Dry contact, group isolation
Input voltage approximately 12 V DC. Current with the input closed: ~2 mA |
| Permissible voltage | −20 V to +40 V |
| Functions |
|
| Indicators | |
| LED | See Indicators |
| Control | |
| Control interface | RS-485 |
| Interface isolation | Isolated |
| Communication protocol | Modbus RTU; software-configurable address; factory settings are printed on the label |
| RS-485 interface parameters | Software-configurable; defaults:
baud rate — 9600 bit/s; data — 8 bits; parity — none (N); stop bits — 2 |
| Ready after power-on | ~2 s |
| Operating conditions | |
| Ambient air temperature | −40 to +60 °C |
| Relative humidity | Up to 95%, non-condensing |
| Climatic classification under GOST 15150-69 | O2.1* |
| Warranty | 2 years |
| Service life | 8 years |
| Terminal blocks and wire cross-sections | |
| Recommended wire cross-section with insulated wire-end ferrules | control inputs: 0.35–1 mm2 — single ferrule; 0.35–0.5 mm2 — twin ferrule,
power terminals: up to 2.5 mm2 — single ferrule; up to 1.5 mm2 — twin ferrule |
| Standard ferrule sleeve length | 8 mm |
| Screw tightening torque | control inputs: 0.2 N·m,
power terminals: 0.5 N·m |
| Dimensions | |
| Width, DIN modules | 3 |
| Dimensions (L × W × H) | 53 × 90 × 58 mm |
| Weight (including box) | 169 g |
Supported DALI device types
- Part 201 (DT0): Fluorescent lamps. Standard control gear for dimming conventional fluorescent tubes;
- Part 202 (DT1): Self-contained emergency lighting with a built-in battery. Supports self-testing and battery-status reporting;
- Part 203 (DT2): High-intensity discharge (HID) lamps;
- Part 204 (DT3): Low-voltage halogen lamps;
- Part 205 (DT4): Supply voltage controllers (dimmers) for incandescent lamps;
- Part 206 (DT5): DALI-to-0/1–10 V converters for integrating legacy equipment into a digital network;
- Part 207 (DT6): LED drivers. The most common type for single-channel dimming;
- Part 208 (DT7): Switching devices (relay modules) for switching loads on and off without dimming;
- Part 209 (DT8): Colour control gear;
- Part 301: Push buttons or touch panels;
- Part 302: Rotary controls (rotary dimmers);
- Part 303: Occupancy and motion sensors;
- Part 304: Light sensors.
Additional functions:
- Part 250 (DT49): Integrated bus power supply in the driver;
- Part 251 (DT50): Luminaire data (manufacturer, power rating);
- Part 252 (DT51): Energy consumption data;
- Part 253 (DT52): Diagnostics and maintenance data (operating time, errors).
The full address spaces defined by IEC 62386-102 (64 control gear) and IEC 62386-103 (64 control devices) are supported.
Operating principle
WB-DALI3 operates with a Wiren Board controller: the gateway handles physical communication with the DALI bus, while the wb-mqtt-dali service on the controller implements all control logic. Except for commands generated by the front-panel buttons, the gateway does not form DALI commands on its own; its dry-contact inputs only report press events to the controller.
The gateway receives commands from the controller through Modbus registers, sends them to the DALI bus and writes responses from the connected devices back to the registers.
The gateway also monitors bus status, recording errors, loss of power and devices that do not respond to commands. All this information is available through Modbus registers.
Indicators
The module has indicators that show its status without connecting to a controller:
- S (green) — Modbus communication status: lights up when low-voltage power is applied and flashes during polling over RS-485. On devices with events enabled in Fast Modbus ⚡ the indicator flashes more frequently than during sequential polling because events are polled faster. In bootloader mode it flashes once per second; during firmware upload it flashes rapidly.
The gateway front panel also has 3 illuminated buttons that indicate bus status:
- red — the bus is inactive;
- green — the bus is active;
- flashing green — data is being transmitted on the bus.
Front-panel buttons
Each of the three buttons controls its own bus. The gateway broadcasts commands to all luminaires on that bus:
- short press — switches the lights to maximum brightness or turns them off, alternating with each press;
- press and hold — changes brightness gradually: 1 s after the button is pressed, the gateway starts sending dimming commands and repeats them every 200 ms while the button is held. If the bus was off, the lights first turn on at minimum brightness. The direction alternates: the next press and hold changes brightness in the opposite direction.
Output protection
- overtemperature protection for each bus;
- short-circuit protection;
- overvoltage protection.
Press-type recognition
The digital inputs and front-panel buttons recognize four press types: short, long, double and short-then-long.
Press events can be processed on the controller, which receives a counter for each press type through Fast Modbus.
Press-recognition parameters can be changed in the input settings.
Installation

WB-DALI3 mounts on a standard 35 mm DIN rail and is 3 DIN modules wide.
Wiring
The V+ GND A B terminal block, with a 3.5 mm pitch, connects the power supply and RS-485 communication bus. Correct bus wiring is essential for reliable communication; see RS-485 bus wiring and connection.
If devices on the RS-485 bus use different power supplies, their GND terminals must be interconnected. See Grounding Wiren Board devices and connecting GND and iGND.
Connect phase L and neutral N to use the built-in DALI bus power supply. From hardware revision 1.5, AC power is not required when the DALI bus uses an external power supply.
The built-in supply powers the DALI buses, so an external DALI bus power supply is optional. Enable the built-in supply separately for each bus in the gateway settings.
The gateway DA ports are polarized. Observe the markings when connecting them: + and −. Although most connected devices (control gear) are normally insensitive to polarity, use consistent polarity throughout the line. This is particularly important with external power supplies or polarity-sensitive devices.
Digital inputs activate when connected to iGND. The current is low (~2 mA), so any suitable button or switch type can be used. Cable length and cross-section are not critical for contact detection. To reduce interference from nearby power wiring, use twisted pair and connect iGND to the second conductor of the pair. More about connecting iGND/GND terminals.
Wiring

Use flexible stranded wire with insulated wire-end ferrules (NSHVI).
Strip the insulation to the sleeve length, or strip a little more and trim the protruding wire after crimping. Use a ferrule crimping tool. A crimped ferrule protects the strands from the screw clamp and secures the connection.
Do not overtighten the terminal screws: excessive force damages the screw terminal.
Configuration
Configuration methods
- Set the parameters in the Wiren Board controller web interface under Settings → Configs → Serial devices driver configuration. If these items are unavailable, check your access level.
- Write settings to the Modbus registers of the module from the controller console using the utility modbus-utils-rpc or modbus_client.
- Without a Wiren Board controller, use the Wiren Board device web configurator or other software; see Using Wiren Board Modbus devices without a controller. You will need a computer with an interface converter: USB-RS485.
Our devices are continually improved. If settings described in this manual are missing, update the device firmware and controller software.
Wiren Board controller web interface

Selecting a template
To display the device on the Devices tab of the Wiren Board controller web interface, add it automatically by scanning for Wiren Board devices on RS-485 or manually by selecting the template WB-DALI3.
If this template is unavailable or the interface differs from the one shown here, update the device firmware and controller software.
Gateway settings

On the gateway settings page in the serial devices driver, you can enable the internal power supply for each bus and configure button-press recognition.
DALI bus settings
Available since release wb-2606

Device communication is handled by the service wb-mqtt-dali. Install it with this command:
# apt install wb-mqtt-dali
Communication with DALI devices is configured on a separate configuration page:
- Open Settings → Configs → DALI gateway configuration. The list on the left shows connected gateways, their buses and discovered DALI devices.
- To discover DALI devices, select the appropriate bus and click Rescan. Devices are discovered and assigned addresses; the results are saved in
/etc/wb-mqtt-dali.conf. - The service reads the status of connected DALI devices periodically. Configure the polling interval separately for each bus.

The bus configuration page also lets you broadcast configuration commands to all devices.
Use the bus monitor to troubleshoot communication with DALI devices. It displays all packets transmitted on the bus.
Using Lunatone DALI Cockpit

Lunatone DALI Cockpit is Lunatone software for configuring and controlling DALI devices.
- Open Settings → Configs → DALI gateway configuration and enable Lunatone DALI-2 IoT Gateway emulation for the required bus.
- In the Cockpit connection settings, select Network → DALI-2 Display/DALI-2 IoT/DALI-2 WLAN, then enter the controller IP address and WebSocket port.
Commands sent from Cockpit appear in the bus monitor with the comment from lunatone.
If device addresses have been changed with Cockpit, rescan the bus.
DALI device settings

To view or change device settings, open Settings → Configs → DALI gateway configuration and select a device from the list. You can view device information, set its parameters and change its address, name and MQTT topic.
Reading settings takes a substantial amount of time, so they are read once when the device page opens and cached on the controller. To read them again, click Reload settings.
If you cannot locate a DALI device, use the identification procedure. Click Identify — the device will flash or otherwise attract attention.
Dimming curve

The dimming curve determines how the control level is converted to brightness. The level ranges from 0 to 254 and can be changed directly with a DAPC command.
The standard defines a nonlinear curve to adapt brightness changes to human vision. Because the curve has fixed values, an arbitrary brightness percentage cannot be selected. Some device types also support a linear curve, which can be selected in the settings.
DALI-2 event settings

wb-mqtt-dali receives events from DALI-2 devices and publishes them to MQTT. To publish an event to the correct control, set the addressing scheme to device short and instance number.
DALI devices in MQTT
The topic structure is described in Wiren Board MQTT Conventions.
A separate MQTT device is published for each DALI device. It contains both common controls and controls specific to that device type.
A brightness control expressed as a percentage is provided for integration with third-party services. DALI cannot set brightness to an arbitrary exact percentage: the nearest technically available level is selected. This also depends on the dimming curve configured in the device. Use the DAPC control to set the exact DALI level.
Under the DALI standard, some commands execute immediately (Off, Step Up, Step Down, Recall Max Level, Recall Min Level, Step Down and Off, On and Step Up), while others use the device settings for gradual changes (DAPC, brightness and colour settings, and Go To Scene). Up and Down change the value for 200 ms at the rate configured in the device.
MQTT devices with similar controls are also created for individual groups and buses.
Event controls are created for DALI-2 devices. They are all read-only because they represent events received from the bus and are not intended for user input. Short and double presses use pushbutton controls. The controls can be used in wb-rules rules.
-
DALI device in MQTT
-
DALI-2 device in MQTT
wb-mqtt-dali command-line interface
To diagnose and control DALI devices, you can use the service wb-mqtt-dali from the command line. First stop the service with systemctl stop wb-mqtt-dali.
The gateway name is wb-dali_<Modbus address>; for example, address 23 gives wb-dali_23. Commands address bus 1 by default; select another bus with --bus.
List the available commands with wb-mqtt-dali --help.
Examples of available commands:
Check whether at least one DALI device is present on the bus.
# wb-mqtt-dali --check-presence wb-dali_23
INFO:root:DALI devices are present
Discover DALI devices by iterating over short addresses.
# wb-mqtt-dali --search-short wb-dali_23
Control gear 0, random address 0x097352
Use a binary search with random addresses to discover DALI devices, including those without an assigned short address. This does not resolve conflicts or change addresses.
# wb-mqtt-dali --binary-search wb-dali_23
INFO:commissioning:Device found at 0x097352 with short address 0
Send a command to a device.
# wb-mqtt-dali --send-command wb-dali_23 --address 0 --command QueryActualLevel
Raw: 0 (0x00), Value: 0
Starting with release wb-2609 (wb-mqtt-dali 1.13.0 and later), specify the device address in parentheses after the command name.
# wb-mqtt-dali --send-command wb-dali_23 --command "QueryActualLevel(A0)"
[1] Raw: 254 (0xfe), Value: 254
List the available DALI commands with wb-mqtt-dali --list-commands.
Transmission impossible - no power on bus means the selected DALI bus has no supply voltage. Timeout waiting for response means the addressed device did not answer before the timeout.
After diagnostics, restart the service with systemctl start wb-mqtt-dali.
Modbus operation
Wiren Board devices use Modbus RTU. The physical connection uses the RS-485.
interface. All main commands for reading and writing one or multiple registers are supported. See the list in the Modbus protocol description.
The module can be configured:
- in the Wiren Board controller web interface;
- using the Wiren Board device web configurator;
- using third-party software.
Default port settings
| Value default |
Parameter name in the web interface |
Parameter |
|---|---|---|
| 9600 | Baud rate | Baud rate, bit/s |
| 8 | Data bits | Number of data bits |
| None | Parity | Parity |
| 2 | Stop bits | Number of stop bits |
In current firmware, setting Stop bits is optional: the device also operates correctly when its number of stop bits differs from the Modbus master setting.
For a faster response, we recommend increasing the baud rate to 115200 bit/s; see Communication parameter settings.
Modbus address

Each device on the bus must have a unique address from 1 to 247. The factory-assigned address is printed on labels on the enclosure (top cover, side or underside). Devices in a production batch are assigned different addresses, so devices in one order will usually have different addresses.
For instructions on finding, changing or resetting the address, see Wiren Board device Modbus address.
Fast Modbus extension
Fast Modbus extends standard Modbus with rapid discovery of Wiren Board devices on RS-485 and event polling.
These features are enabled by a special command from the master, so Wiren Board devices remain compatible with third-party equipment.
Not every register supports event generation. Check the register map: event-capable registers are marked with ⚡. See Fast Modbus.
Register map
Description
| RO / RW | Read only / Read and write |
| Shown in bold | Default register value |
| xN | Multiplier applied to the register value to obtain the value in the stated units.
If omitted, assume 1 |
| ⚡ | The register supports data transmission through events in Fast Modbus. |
| FW | Firmware version that introduced the register. Blank means the register has always been available. |
| Error: | Value on error |
| Grey cell background | Internal register: its purpose, format and contents may change in later firmware versions |
| Address | Register parameters | Channel | Description | Values | FW | |||
|---|---|---|---|---|---|---|---|---|
| Dec | Hex | Type | Access | Format | ||||
| 0 | 0x0000 | Discrete input ⚡ | RO | bool | Input 1 | Terminal input state | 0 - open, 1 - closed |
|
| 1 | 0x0001 | Input 2 | ||||||
| 2 | 0x0002 | Input 3 | ||||||
| 3 | 0x0003 | Input 4 | ||||||
| 4 | 0x0004 | Input 5 | ||||||
| 5 | 0x0005 | Input 6 | ||||||
| 6 | 0x0006 | Input 7 | ||||||
| 32 | 0x0020 | Input ⚡ | RO | u16 | Input 1 | Terminal input activation counter Increments on the transition to the active level |
||
| 33 | 0x0021 | Input 2 | ||||||
| 34 | 0x0022 | Input 3 | ||||||
| 35 | 0x0023 | Input 4 | ||||||
| 36 | 0x0024 | Input 5 | ||||||
| 37 | 0x0025 | Input 6 | ||||||
| 38 | 0x0026 | Input 7 | ||||||
| 384 | 0x0180 | Holding | RW | u16 | Input 1 | Terminal input debounce time | ms, 0 - 2000 (50) |
|
| 385 | 0x0181 | Input 2 | ||||||
| 386 | 0x0182 | Input 3 | ||||||
| 387 | 0x0183 | Input 4 | ||||||
| 388 | 0x0184 | Input 5 | ||||||
| 389 | 0x0185 | Input 6 | ||||||
| 390 | 0x0186 | Input 7 | ||||||
| 416 | 0x01A0 | Holding | RW | u16 | Input 1 | Terminal input long press time | ms, 500 - 5000 (1000) |
|
| 417 | 0x01A1 | Input 2 | ||||||
| 418 | 0x01A2 | Input 3 | ||||||
| 419 | 0x01A3 | Input 4 | ||||||
| 420 | 0x01A4 | Input 5 | ||||||
| 421 | 0x01A5 | Input 6 | ||||||
| 422 | 0x01A6 | Input 7 | ||||||
| 432 | 0x01B0 | Holding | RW | u16 | Input 1 | Terminal input second press waiting time | ms, 0 - 2000 (300) |
|
| 433 | 0x01B1 | Input 2 | ||||||
| 434 | 0x01B2 | Input 3 | ||||||
| 435 | 0x01B3 | Input 4 | ||||||
| 436 | 0x01B4 | Input 5 | ||||||
| 437 | 0x01B5 | Input 6 | ||||||
| 438 | 0x01B6 | Input 7 | ||||||
| 464 | 0x01D0 | Input ⚡ | RO | u16 | Input 1 | Terminal input short press counter | ||
| 465 | 0x01D1 | Input 2 | ||||||
| 466 | 0x01D2 | Input 3 | ||||||
| 467 | 0x01D3 | Input 4 | ||||||
| 468 | 0x01D4 | Input 5 | ||||||
| 469 | 0x01D5 | Input 6 | ||||||
| 470 | 0x01D6 | Input 7 | ||||||
| 480 | 0x01E0 | Input ⚡ | RO | u16 | Input 1 | Terminal input long press counter | ||
| 481 | 0x01E1 | Input 2 | ||||||
| 482 | 0x01E2 | Input 3 | ||||||
| 483 | 0x01E3 | Input 4 | ||||||
| 484 | 0x01E4 | Input 5 | ||||||
| 485 | 0x01E5 | Input 6 | ||||||
| 486 | 0x01E6 | Input 7 | ||||||
| 496 | 0x01F0 | Input ⚡ | RO | u16 | Input 1 | Terminal input double press counter | ||
| 497 | 0x01F1 | Input 2 | ||||||
| 498 | 0x01F2 | Input 3 | ||||||
| 499 | 0x01F3 | Input 4 | ||||||
| 500 | 0x01F4 | Input 5 | ||||||
| 501 | 0x01F5 | Input 6 | ||||||
| 502 | 0x01F6 | Input 7 | ||||||
| 512 | 0x0200 | Input ⚡ | RO | u16 | Input 1 | Terminal input short-then-long press counter | ||
| 513 | 0x0201 | Input 2 | ||||||
| 514 | 0x0202 | Input 3 | ||||||
| 515 | 0x0203 | Input 4 | ||||||
| 516 | 0x0204 | Input 5 | ||||||
| 517 | 0x0205 | Input 6 | ||||||
| 518 | 0x0206 | Input 7 | ||||||
| 16 | 0x0010 | Discrete input ⚡ | RO | bool | SW1 | Front-panel button state | 0 - released, 1 - pressed |
|
| 17 | 0x0011 | SW2 | ||||||
| 18 | 0x0012 | SW3 | ||||||
| 48 | 0x0030 | Input ⚡ | RO | u16 | SW1 | Front-panel button press counter | ||
| 49 | 0x0031 | SW2 | ||||||
| 50 | 0x0032 | SW3 | ||||||
| 528 | 0x0210 | Input ⚡ | RO | u16 | SW1 | Front-panel button short press counter | ||
| 529 | 0x0211 | SW2 | ||||||
| 530 | 0x0212 | SW3 | ||||||
| 544 | 0x0220 | Input ⚡ | RO | u16 | SW1 | Front-panel button long press counter | ||
| 545 | 0x0221 | SW2 | ||||||
| 546 | 0x0222 | SW3 | ||||||
| 560 | 0x0230 | Input ⚡ | RO | u16 | SW1 | Front-panel button double press counter | ||
| 561 | 0x0231 | SW2 | ||||||
| 562 | 0x0232 | SW3 | ||||||
| 576 | 0x0240 | Input ⚡ | RO | u16 | SW1 | Front-panel button short-then-long press counter | ||
| 577 | 0x0241 | SW2 | ||||||
| 578 | 0x0242 | SW3 | ||||||
| 980 | 0x03D4 | Input | RO | u16 | DALI bus supply voltage, measured at the built-in power supply output | mV | ||
| 1000 | 0x03E8 | Discrete input | RO | bool | Channel 1 | DALI bus RX line state | 0 - low level (closed), 1 - high level (open) |
|
| 1001 | 0x03E9 | Channel 2 | ||||||
| 1002 | 0x03EA | Channel 3 | ||||||
| 1010 | 0x03F2 | Discrete input | RO | bool | Channel 1 | DALI bus driver thermal protection status 1 - protection triggered; the bus power supply is disabled until it cools down |
0 - normal, 1 - overheating |
|
| 1011 | 0x03F3 | Channel 2 | ||||||
| 1012 | 0x03F4 | Channel 3 | ||||||
| 1020 | 0x03FC | Discrete input | RO | bool | Channel 1 | DALI bus power present Detected by the absence of power-down frames at the receiver |
0 - power absent, 1 - power present |
|
| 1021 | 0x03FD | Channel 2 | ||||||
| 1022 | 0x03FE | Channel 3 | ||||||
| 1030 | 0x0406 | Coil | RW | bool | Channel 1 | Enable the built-in DALI bus power supply The value is saved in non-volatile memory |
0 - disabled, 1 - enabled |
|
| 1031 | 0x0407 | Channel 2 | ||||||
| 1032 | 0x0408 | Channel 3 | ||||||
| 1030 | 0x0406 | Discrete input | RO | bool | Channel 1 | Actual state of the built-in DALI bus power supply | 0 - disabled, 1 - enabled |
|
| 1031 | 0x0407 | Channel 2 | ||||||
| 1032 | 0x0408 | Channel 3 | ||||||
| 1040 | 0x0410 | Discrete input | RO | bool | Channel 1 | 50 Hz AC detected on the DALI bus, probably a short circuit to 220 V. | 0 - normal, 1 - short circuit detected |
|
| 1041 | 0x0411 | Channel 2 | ||||||
| 1042 | 0x0412 | Channel 3 | ||||||
| 1050 | 0x041A | Input | RO | u16 | Channel 1 | Bus status | 0 - No voltage 1 - Normal 2 - AC voltage on the bus 3 - DC voltage on the bus |
|
| 1051 | 0x041B | Channel 2 | ||||||
| 1052 | 0x041C | Channel 3 | ||||||
| 1060 | 0x0424 | Discrete input | RO | bool | Channel 1 | DC voltage without current limiting detected on the DALI bus, probably a short circuit to a DC voltage source. | 0 - normal, 1 - short circuit detected |
|
| 1061 | 0x0425 | Channel 2 | ||||||
| 1062 | 0x0426 | Channel 3 | ||||||
| 4010 | 0x0FAA | Input | RO | u16 | Channel 1 | Raw ADC reading at the DALI bus driver thermistor output (most significant 4 bits of 16) | ||
| 4011 | 0x0FAB | Channel 2 | ||||||
| 4012 | 0x0FAC | Channel 3 | ||||||
| 4020 | 0x0FB4 | Input | RO | s16 | Channel 1 | DALI bus driver output-stage temperature calculated from the NTC thermistor Bus power is disabled at +100 °C and restored when the temperature falls below +90 °C |
°C × 10 | |
| 4021 | 0x0FB5 | Channel 2 | ||||||
| 4022 | 0x0FB6 | Channel 3 | ||||||
Each DALI channel has an independent set of communication registers. Channel 1 addresses are listed explicitly; obtain channel 2 and 3 addresses by adding the offset to the channel 1 address: +1000 (channel 2) and +2000 (channel 3).
Common DALI transmit-frame slot format (32 bits, little-endian):
- bits 0..24 — frame data (up to 25 bits);
- bits 25..27 — frame length: 0 — 16 bits, 1 — 24 bits, 2 — 25 bits;
- bit 28 — repeat transmission (twice);
- bits 29..31 — priority: 0 — slot free, 1..7 — priority level (1 is the lowest).
Writing a non-zero priority queues the frame for transmission. After transmission, the priority field is automatically reset to 0.
| Address | Register parameters | Description | Values | Note | FW | |||
|---|---|---|---|---|---|---|---|---|
| Dec | Hex | Type | Access | Format | ||||
| 1400 - 1431 2400 - 2431 3400 - 3431 |
0x0578 - 0x0597 0x0960 - 0x097F 0x0D48 - 0x0D67 |
Holding | RW | u32 LE | Channels 1-3 | DALI batch transmit queue buffer. 16 slots of 2 registers (u32 LE) per channel. The slot format is described above. For reliable batch transmission, first reset the queue pointer (see registers 1432/2432/3432), then write the required number of slots in a single Modbus request. |
||
| 1432 2432 3432 |
0x0598 0x0980 0x0D68 |
Holding ⚡ | RW | u16 | Channels 1-3 | Current position pointer in the batch transmit queue. Writing any value resets the buffer and pointer to 0. Reading returns the index of the next slot where the response to the next transmitted frame will be stored. When the position changes, the register sends a Fast Modbus event, indicating that transmission of a slot has completed. |
0 - 15 | |
| 1500 - 1515 2500 - 2515 3500 - 3515 |
0x05DC - 0x05EB 0x09C4 - 0x09D3 0x0DAC - 0x0DBB |
Input ⚡ | RO | u16 | Channels 1-3 | Batch transmission response buffer. One register per queue slot, in the same order as buffer 1400/2400/3400. Response format:
A register-change event is generated when the response is written. |
||
| 1800 - 1801 1802 - 1803 1804 - 1805 |
0x0708 - 0x0709 0x070A - 0x070B 0x070C - 0x070D |
Holding | RW | u32 LE | Channel 1 Channel 2 Channel 3 |
Transmit a single DALI frame. The slot format is the same as for the batch queue (see above). Writing a non-zero priority queues the frame for transmission; reading returns the current slot contents (cleared after transmission). Read the response from the single-response registers (1600/2600/3600). |
||
| 1600 - 1601 2600 - 2601 3600 - 3601 |
0x0640 - 0x0641 0x0A28 - 0x0A29 0x0E10 - 0x0E11 |
Input | RO | u32 LE | Channels 1-3 | Data from the last single DALI response | ||
| 1602 2602 3602 |
0x0642 0x0A2A 0x0E12 |
Input | RO | u16 | Channels 1-3 | Length of the last single response | bits (0 means no response or a corrupted frame; see register 1604) | |
| 1603 2603 3603 |
0x0643 0x0A2B 0x0E13 |
Input | RO | bool | Channels 1-3 | Backward-frame flag in the last single response | 0 - normal frame, 1 - backward-frame from a slave device |
|
| 1604 2604 3604 |
0x0644 0x0A2C 0x0E14 |
Input | RO | bool | Channels 1-3 | Received frame corruption flag: invalid Manchester timing, invalid start bit or a response length other than 8 bits (overlapping responses from several devices). The length of such a frame is 0 and its data is invalid | 0 - frame received correctly, 1 - frame corrupted |
|
| 1605 2605 3605 |
0x0645 0x0A2D 0x0E15 |
Input | RO | bool | Channels 1-3 | Single-frame transmission failure flag: the bus was unpowered or thermal protection was active when requested; from firmware 1.1.0, this also covers failure to transmit a frame (the same causes as batch queue status 7; see registers 1500–1515) | 0 - transmission completed, 1 - transmission failed |
|
| 1900 - 1915 2900 - 2915 3900 - 3915 |
0x076C - 0x077B 0x0B54 - 0x0B63 0x0F3C - 0x0F4B |
Input ⚡ | RO | u64 LE | Channels 1-3 | Ring buffer of unsolicited DALI frames: frames that are not responses to the module's own requests. 4 slots of 4 registers (u64 LE). Slot format (8 bytes, little-endian):
The counter identifies slot freshness and frame arrival order. A Fast Modbus event is sent when a new frame is written to the buffer. |
||
| Address | Register parameters | Description | Values | Note | |||
|---|---|---|---|---|---|---|---|
| Dec | Hex | Type | Access | Format | |||
| Connection parameters | |||||||
| 110 | 0x006E | Holding | RW | u16 | RS-485 port baud rate. Configuring RS-485 connection parameters |
x100, baud 12 — 1200 bit/s, 24 — 2400 bit/s, 48 — 4800 bit/s, 96 — 9600 bit/s, 192 — 19 200 bit/s, 384 — 38 400 bit/s, 576 — 57 600 bit/s, 1152 — 115 200 bit/s |
|
| 111 | 0x006F | Holding | RW | u16 | RS-485 port parity setting | 0 — no parity (none), 1 — odd, 2 — even |
|
| 112 | 0x0070 | Holding | RW | u16 | RS-485 port stop bits More information: ignoring stop bits |
1, 2 | |
| 128 | 0x0080 | Holding | RW | u16 | Device Modbus address (more information) | ||
| Device model and firmware version | |||||||
| 200-205 | 0x00C8 - 0x00CD | Input | RO | string | Device model | ||
| 206-219 | 0x00CE - 0x00DB | Input | RO | string | Device model extension. | To read the device model, read the range of 20 registers (200 - 219) | Only in firmware versions supporting Fast Modbus |
| 220-244 | 0x00DC - 0x00F4 | Input | RO | string | Firmware build commit hash and branch name (2 characters per register) | ||
| 250-265 | 0x00FA - 0x0109 | Input | RO | string | Firmware version | ||
| 266-269 | 0x010A - 0x010D | Input | RO | u64 | Serial number extension | ||
| 270-271 | 0x010E - 0x010F | Input | RO | u32 | Serial number | ||
| 290-301 | 0x0122 - 0x012D | Input | RO | string | Firmware signature | ||
| 320 | 0x0140 | Input | RO | u16 | Firmware version in numeric format (more information) | MAJOR | Only in firmware versions supporting Fast Modbus |
| 321 | 0x0141 | MINOR | |||||
| 322 | 0x0142 | PATCH | |||||
| 323 | 0x0143 | s16 | SUFFIX | ||||
| 324-325 | 0x0144 - 0x0145 | Input | RO | u32 | Firmware version in numeric format | Only in firmware versions supporting Fast Modbus | |
| 326-327 | 0x0146 - 0x0147 | Input | RO | u32 | Firmware version in Big Endian format | Only in firmware versions supporting Fast Modbus | |
| Other | |||||||
| 104-105 | 0x0068 - 0x0069 | Input | RO | u32 | Uptime since boot | seconds | |
| 120 | 0x0078 | Holding | RW | u16 | Restart the device without saving its state | any value other than 0 restarts the device | |
| 129 | 0x0081 | Holding | RW | u16 | Enter firmware update mode for 2 minutes | any value other than 0 puts the device into firmware update mode | |
| 330-337 | 0x014A - 0x0151 | Input | RO | string | Bootloader version | ||
| 130 | 0x0082 | Holding | RW | u16 | Disable the Status LED | 0 — enabled 1 — disabled |
|
| 131 | 0x0083 | Holding | RW | u16 | Enter firmware update mode using the current connection settings. To check whether the current firmware and bootloader support firmware updates using the current connection settings, read this register: if the read succeeds and the value is 0, the function is supported.
|
writing 1 puts the device into firmware update mode | |
| 113 | 0x0071 | Holding | RW | u16 | Delay before sending a response to a Modbus request | ms 0…254 (0) |
Only in firmware versions supporting Fast Modbus |
| 114 | 0x0072 | Holding | RW | u16 | Continuous register reading with gaps | 0 — disabled 1 — enabled 2 — enable and retain after restart |
Only in firmware versions supporting Fast Modbus |
| 121 | 0x0079 | Input | RO | u16 | Current supply voltage | mV | |
| 122 | 0x007A | Input | RO | u16 | Minimum supply voltage since boot, without averaging | mV | |
| 125 | 0x007D | Input | RO | u16 | Current supply voltage, without averaging | mV | |
| 119 | 0x0077 | Input | RO | u16 | Minimum microcontroller supply voltage since boot, before averaging | mV | |
| 123 | 0x007B | Input | RO | u16 | Microcontroller supply voltage | mV | |
| 124 | 0x007C | Input | RO | s16 | Internal microcontroller temperature | x0.1, °C | |
| 304-319 | 0x0130-0x013F | Input | RO | string | Device batch number.
The register is available only on devices manufactured from 21.01.26. |
||
| 65402 | 0xFF7A | Holding | RW | u16 | Reset device settings to defaults. Communication settings are not reset. The device restarts after the settings are reset. |
writing 1 resets the settings | |
| 64256-64383 | 0xFB00-0xFB7F | Input | RO | u16 | FlashFS: free space on the page | bytes | |
| 64384-64511 | 0xFB80-0xFBFF | Input | RO | u16 | FlashFS: total size of current files on the page | bytes | |
| 64512-64639 | 0xFC00-0xFC7F | Input | RO | u16 | FlashFS: page fragmentation | 0…100 % 0 — all data is current, 100 — no current data | |
| 64640-64767 | 0xFC80-0xFCFF | Input | RO | u16 | FlashFS: page erase counter | ||
| 65504 | 0xFFE0 | Input | RO | u16 | Maximum stack size used | bytes 0 — stack corrupted |
|
| 65505 | 0xFFE1 | Input | RO | u16 | Free RAM | bytes | |
| 65506 | 0xFFE2 | Input | RO | u16 | RAM in use | bytes | |
| 65507 | 0xFFE3 | Input | RO | u16 | Stack size | bytes | |
| 65508 | 0xFFE4 | Input | RO | u16 | Cause of the last MCU reset | 1 — LPWR, 2 — WWDG, 3 — IWDG, 4 — SFT, 5 — POR, 6 — PIN, 7 — OBL, 8 — V18PWR |
|
| 65509 | 0xFFE5 | Input | RO | u32 | Firmware update counter | ||
| 65511 | 0xFFE7 | Input | RO | u16 | MCU memory capacity | most significant byte — flash capacity code, capacity in KB = 16 × 2code; least significant byte — RAM capacity in KB. Example: 0x0208 (520) — 64 KB flash, 8 KB RAM |
From firmware 1.2.0 |
Firmware updates and resetting settings
Wiren Board devices support firmware updates over Modbus. This allows bugs to be fixed at the installation site and, where technically possible, new features to be added. Settings stored in the device are retained during a firmware update.
Instructions:
- Firmware update ()
- Resetting settings
- Connection parameter settings
- Modbus address: find, reset or change
- Updating the bootloader
New firmware releases are listed in the device firmware changelog.
Images and drawings

CorelDRAW 2018 (font: Ubuntu):
Visio:
- Wiren Board devices.
Module dimensional drawing (DXF):
Module dimensional drawing (PDF):
Current DALI bus and device configuration
Address space and wiring
Each of the three buses supports the complete IEC 62386-102 and IEC 62386-103 address spaces: up to 64 control gear devices, 64 control devices, 16 groups and 16 scenes. Across the gateway this is up to 192 control gear devices and 192 control devices. The practical number is also limited by the total current drawn from each bus.
Use ordinary cable; 1.5 mm² conductors are recommended. With this cross-section, the maximum distance between the two most distant devices is 300 m. Daisy-chain, star and mixed topologies are allowed, but do not close the line into a ring. Keep the two bus conductors together.
Bus status and manual commands
The Devices tab reports bus power presence, whether the internal bus power supply is active, the instantaneous bus-line state and thermal-protection status. You can send any DALI command from the bus page under Manual command input without stopping the service. Enter one command per line, using the same syntax as the command-line interface; for example, QueryActualLevel(A0). Use Commands… to open the command list and Run to send the commands.
Device settings
Open Settings → Configs → DALI gateway settings and select a device. Besides its address, name and MQTT topic, common parameters include maximum and minimum brightness, power-on and failure brightness, and fade time. Available parameters depend on device type. DT8 colour-temperature devices provide power-on/failure states, colour-temperature limits and colour scenes. Control their colour temperature with the device or group Desired colour temperature control.
Groups and scenes
A bus has up to 16 groups, and one luminaire can belong to several groups. In the luminaire settings, select the required group numbers and save. The group then appears as a separate MQTT device whose brightness, off and scene controls operate all members.
A scene stores brightness and, for colour devices, colour temperature in each luminaire. Scenes are numbered 0–15. Enable Part of scene for the required scene, set its brightness and optional colour temperature, then save. The Go to scene control on a luminaire, group or broadcast bus device recalls the values stored in every luminaire.
On/off control
A luminaire has no on/off switch by default. In its settings, enable Publish under On/off control and choose the action used when switching on: set brightness, recall a scene or restore the last active brightness. After saving, an On / off control appears. Groups provide the same setting.
Control from pushbuttons
The gateway does not bind its inputs directly to groups or scenes; it sends press events to the controller. Create an If–Then automation whose event is a change in the required input press counter and whose action writes a luminaire or group control such as Desired brightness, Go to scene or On / off.

