DALI-2 sensors
How to add DALI-2 sensors (movement and light) to an iDM3 project, set them up, and read their values.
DALI-2 sensors, such as movement detectors and light sensors, connect to the DALI bus of the CU3-09M. This page explains how to add them to your project, which settings to use, and what the values in the monitor mean.
1. How a sensor looks in the project
Each physical sensor is one unit. Most sensors measure more than one thing, for example movement and light. Each of these is called a channel, and each channel is a separate device inside the unit.
DALI-2-Unit
One physical sensor. Its address = the sensor's DALI address.
State-IN
The health of the sensor. It is always there and is read-only.
Ocupanci-IN
A movement channel.
Light-IN
A light channel.
Example: a sensor that detects movement and measures light looks like this:
DALI-2-Unit (address 00)
├─ State-IN ← always there
├─ Ocupanci-IN ← movement channel
└─ Light-IN ← light channel2. Add the DALI-2 master (only once)
DALI-2 sensors use their own DALI master, separate from the one for lights. Skip this step if Internal-DALI-2-Master is already in your project.
Project ribbon tab → Device manager.
Select the central unit → New unit → Internal-DALI-2-Master → OK.
Close the Device manager and save.
3. Address the sensors (DALI-2 manager)
New sensors come without an address, so give them one first. This is done in the DALI-2 manager, while connected to the central unit.
Open the DALI-2 manager
Connect iDM3 to the central unit.
Managers ribbon tab → Dali manager.
Select Internal-DALI-2-Master (double-click it, or select it and click ✓ OK).
Because you picked the DALI-2 master, the manager opens in its DALI-2 view, made for sensors.
The buttons
Add new
Addresses only new sensors. Sensors that already have an address stay.
Search
Reads the sensors and their channels from the bus. Changes nothing.
New DALI
Deletes all sensor addresses and gives every sensor a new one.
Change address
Gives the selected sensor the address you typed.
Delete address
Removes the address of the selected sensor.
IDENTIFY
Makes the selected sensor show itself, so you can find it on the ceiling.
Read params
Reads the channels and settings of the selected sensor.
Give the sensors an address
First time – no sensor has an address yet
New DALI
Adding sensors to a working installation
Add new
Just checking what is on the bus
Search
Find out which sensor is which
Press Search. The list shows every sensor it found (
Device__00,Device__01, …).Select a sensor and press IDENTIFY. The physical sensor shows itself.
Write down which address belongs to which sensor.
Change an address (optional)
Select the sensor in the list.
Click its address number next to the name and type the new one.
Click Change address.
Press Search again to check.
4. Find the numbers you need
After addressing, press Search once more. Each sensor is shown with its channels underneath:
Write down two things:
The device number (00, 01, …)
The address of the DALI-2-Unit in your project
The channel number (#0, #1, …)
The Instance number of the matching device
5. Add the sensor to the project
Project ribbon tab → Device manager.
Select Internal-DALI-2-Master → New unit → DALI-2-Unit → OK.
Set the unit's Address to the device number from the DALI-2 manager (for
Device__00, enter0).Give it a Description, for example
Office sensor.A new DALI-2-Unit already contains one Light-IN device. Select the unit and click New unit to add more devices, so that there is one for each channel of the sensor — Ocupanci-IN for movement, Light-IN for light.
For each device, set Instance number to the
#number of that channel, and set up the other parameters (see the next two sections).Close the Device manager and save.
6. Set up a movement channel (Ocupanci-IN)
In most installations you only need to set the first three parameters and Time hold. The others are for fine-tuning.
Instance number
0 – 31
Which channel of the sensor this is. Copy it from the DALI-2 manager.
Instance flags
0 or 1
1 = channel on. 0 = channel off. Don't use any other value.
Event filter
0 – 31
Which events the sensor sends. 3 is the normal setting. Use 7 if you also want a regular status update. See Event filter values.
Time hold
0 – 254
How long the room stays "occupied" after the last movement. 0 = 1 s, otherwise value × 10 s.
Time report
0 – 255 s
How often the current state is repeated (only if the Event filter includes Repeat). 0 = never.
Time deadtime
0 – 255
Minimum quiet time after an event. 0 = off, otherwise value × 50 ms. Reports can't come faster than this.
Detection range
0 – 100 %
How far the sensor reaches. 100 = maximum. Ignored by sensors that don't support it.
Detection sensitivity
0 – 100 %
How easily movement triggers the sensor. 100 = most sensitive. Ignored by sensors that don't support it.
Time hold examples
0
1 s
6
1 min
30
5 min
90
15 min
254
42 min 20 s
Time deadtime example: 15 = 15 × 50 ms = 750 ms.
7. Set up a light channel (Light-IN)
Instance number
0 – 31
Which channel of the sensor this is. Copy it from the DALI-2 manager.
Instance flags
0 or 1
1 = channel on. 0 = channel off. Don't use any other value.
Event filter
0 or 1
1 = send the light level (normal setting). 0 = send nothing.
Hysteresis
0 – 25 %
How much the light must change (in %) before a new value is sent. For example, 5 = 5 %. 0 = only send on Time report.
Hysteresis minimal
0 – 255
The smallest change (in raw units) that is always sent. Useful in the dark, where a percentage is too small. 0 = use only the percentage.
Time report
0 – 255 s
Send the light level at a regular interval, even if it hasn't changed. 0 = never. 20 = every 20 s.
Time deadtime
0 – 255
Minimum quiet time between light reports. 0 = off, otherwise value × 50 ms.
8. Event filter values
Movement channel
The Event filter tells the sensor which events to send. Each event has a number. Add up the numbers of the events you want.
Occupied
1
The room has just become occupied.
Vacant
2
The room has just become empty (Time hold has run out).
Repeat
4
The current state, repeated every Time report seconds.
Movement
8
Every single movement detected.
No movement
16
Every time movement stops.
Example: Occupied (1) + Vacant (2) + Repeat (4) = 7.
Values you will normally use:
3
Occupied + Vacant
Recommended default.
7
Occupied + Vacant + Repeat
When you also want a regular status update.
0
None
The channel stays silent.
Light channel
0
The channel sends nothing.
1
Sends the light level. Always use this.
9. Reading the values in the monitor
Movement channel (Ocupanci-IN)
The channel shows one number that describes the whole state. The quick way to read it:
10, 11, 14, 15
Occupied
8, 12
Vacant
0
No event received yet since the central unit started
Light channel (Light-IN)
The monitor shows the brightness as a number from 0.00 (dark) to 655.35 (the sensor's raw value 0 – 65535, divided by 100).
Sensor health (State-IN)
0 means everything is fine. If there is a problem, the value tells you what it is. If several problems are active at the same time, their numbers are added together.
0
Everything is fine.
1
Error inside the sensor.
2
Quiescent mode – the sensor is deliberately silent.
4
The sensor has no address.
8
The sensor's own application controller is on.
16
Error in the sensor's application controller.
32
The sensor was powered off and on again.
64
The sensor is in its reset state.
Example: 33 = 1 (sensor error) + 32 (power cycle).
10. Good to know
The sensor's own application controller is switched off. Many DALI-2 sensors can switch lights by themselves. The central unit turns this off so that iNELS stays in control. If you need it, switch it back on in the DALI-2 manager with the Application controller checkbox in the device details.
11. Troubleshooting
A channel always shows 0
In the DALI-2 manager, select the device and press Read params. Event scheme must be 2, and Event filter must be what you set.
Event scheme is 0
The sensor refused the setting, so its events can't be matched to it.
A channel never reports anything
Check that Instance number matches the # number in the DALI-2 manager, and Instance flags = 1.
The sensor doesn't respond at all
Check that the DALI-2-Unit address matches the device number in the DALI-2 manager.
The sensor isn't found by Search
It has no address yet. Use Add new (or New DALI on a first installation).
A red ! next to a sensor
Address problem, for example two sensors with the same address. Delete address, then Add new.
Lights switch without iNELS
The sensor's application controller is on. Check State-IN (value 8) and turn it off in the DALI-2 manager.
The DALI bus is slow or overloaded
Check that no sensor uses Event filter 31, and that Time report isn't set too short.
Changes have no effect
Compile and upload the project – parameters are applied only at startup.