Colour Transition Mode (CTM)
Introduction
The Colour Transition Mode (CTM) implements colour gradients for the implementation of different colour moods depending on the time of day and day of the week. Up to four freely configurable CTM matrices are available for this purpose. Each matrix allows the setting of individual daytime colour gradients, with or without brightness adjustment. The matrices can be activated and switched over individually during operation of the gateway.

The colour adjustment of a CTM matrix is basically done by means of the hue of the HSV colour space. As with dimming, the brightness is adjusted by means of the DALI ARC power level. Each CTM matrix contains settings for the hue (0...360°) and brightness (0...100%) for each full hour of the daytime (0:00 midnight, 1:00 a.m., 2:00 a.m....11:00 p.m.). The individual colour and brightness values are called up in sequence, depending on the time. The values between two full hours are determined continuously every minute by linear interpolation to implement a smooth colour and brightness progression.
Whether a daytime colour sequence only influences the colour or also the brightness during operation can be defined individually for each group and single device in the parameterisation.
Examples of linear interpolation of hues and brightness values |
|---|
Time: 8:00 a.m., hue: 180° Time: 10:00 a.m., brightness: 50% |
The sequence of a daytime colour sequence always takes place according to the hue of the HSV colour space, regardless of which colour space is configured for the assigned group or single device. The colour specified by the hue is automatically converted by the gateway into an equivalent RGB value and forwarded to the DALI operating devices.



The CTM matrices are generally configured centrally for all groups and single devices of a DALI system. For the parameters of the groups and single devices, the individual assignment to up to four matrices takes place. During operation of the gateway, the matrix assignments of groups and single devices can be switched over by 1-byte objects. This allows the pre-programmed daytime colour sequences to be switched over individually depending on the application.
The daytime colour sequence of a group or single device can be started and stopped individually. A 1-bit communication object "Daytime colour sequence (CTM) - Start/stop" is available for each group and single device for this purpose. When activated by an ON telegram, the execution of the daytime colour sequence starts according to the current time and day of the week. When deactivated by an OFF telegram, the execution of the daytime colour sequence is immediately terminated. The DALI operating devices then initially remain at the last set colour and brightness value.
A daytime colour sequence can be executed with or alternatively without brightness adjustment. In a CTM matrix, the colour and brightness values are always configured for each time. Whether a group or single device reacts only to the pre-programmed colour or additionally to the defined brightness value is defined by the parameter "Type of daytime colour sequence" parameter. If the daytime colour sequence is carried out only with colour adjustment, the gateway only takes into account the colour value of the CTM matrix corresponding to the day of the week and the time of day. If a brightness adjustment is also to be made, the stored CTM brightness value is also executed.
A daytime colour sequence is of the same priority as the normal control of the brightness and colour of a group or single device by the corresponding communication objects. An automatic colour wheel sequence, an automatic brightness sequence or a scene recall also has the same priority. The above functions override a daytime colour sequence in progress in terms of colour and brightness. In the event of an override, a daytime colour sequence in progress can be stopped automatically, or alternatively continue to run in the background.



Setting the designation of the CTM matrices
Up to four freely configurable CTM matrices are available for Colour Transition Mode (CTM). Each matrix can be given a designation, which is visible only in the ETS for better identification.
- On the parameter pages "DALI system... -> Colour - CTM -> CTM matrix..." assign a "designation" to each matrix.
Setting daytime colour sequences in the CTM matrices
Each CTM matrix contains settings for the hue (0°...360°) and brightness (0...100%) for each full hour of the daytime (0:00 midnight, 1:00 a.m., 2:00 a.m....11:00 p.m.) on the parameter pages "DALI system... -> Colour - CTM -> CTM matrix...". Depending on the time of day, the individual colour and brightness values are called up one after the other as the daytime colour sequence runs down. The values between two full hours are determined continuously every minute by linear interpolation to implement a smooth colour and brightness progression.
- Configure the parameters for "hue" and "brightness" to the desired values for each time.



Setting the effective matrix after an ETS programming operation
The parameter "After ETS programming operation" on the parameter page "DALI system... -> Configuration groups -> [x] Group name -> Colour -> CTM" or "DALI system... -> Configuration single devices -> [x] Device name -> Colour -> CTM" defines which of the up to four CTM matrices is initially effective for the affected group or single device after the gateway has been commissioned by the ETS or after a reset. Optionally, the matrix assignments can be switched by 1-byte objects during operation of the gateway.
- Set the parameter to the desired CTM matrix.
- After an ETS programming operation or mains voltage return, the configured CTM matrix is effective. However, it is executed only when a start takes place.
Enabling switching of the effective matrix during operation
During operation of the gateway, the matrix assignments of groups and single devices can be switched over by 1-byte objects. This allows the pre-programmed daytime colour sequences to be switched over individually depending on the application.
- Activate the "Switchable via object" parameter on the parameter page "DALI system... -> Configuration groups -> [x] Group name -> Colour -> CTM" or "DALI system... -> Configuration single devices -> [x] Device name -> Colour -> CTM".
- The 1-byte communication object "Daytime colour sequence (CTM) - Switch matrix" is available. According to KNX DPT 17.001, a switchover can be performed by the number of the matrix (1...4) during operation of the gateway.
- Deactivate the parameter "Switchable via object".
- No communication object is available for switching the CTM matrices during operation. The CTM matrix defined by the parameter "After ETS programming operation" always remains effective.



Status of daytime colour sequence
The two status objects for the day colour gradient (CTM) "Status" and "Active matrix" can be activated or deactivated via the "Status objects" parameter
- Set the "State objects" parameter on the parameter page "DALI system... -> Configuration groups -> [x] Group name -> Colour -> CTM" or "DALI system... -> Configuration single devices -> [x] Device name -> Colour -> CTM".
- The 1-byte communication object "Daytime colour sequence (CTM) - Active matrix" is available. In accordance with KNX DPT 17.001, the number indicates the currently active matrix (1...4) ("1" = day colour gradient active, "0" = day colour gradient not active).
- The 1-bit communication object "Daytime colour sequence (CTM) - Status" is available. In accordance with KNX DPT 1.003, the current status of the day colour gradient is displayed.
- Deactivate the parameter "State objects".
- No communication object for the status of the day colour gradient is displayed.
Setting the type of daytime colour sequence
A daytime colour sequence can be executed with or alternatively without brightness adjustment. Whether a group or single device reacts only to the pre-programmed colour or additionally to the defined brightness value of the CTM matrix is determined by the parameter "Type of daytime colour sequence" on the parameter page "DALI system... -> Configuration groups -> [x] Group name -> Colour -> CTM" or "DALI system... -> Configuration single devices -> [x] Device name -> Colour -> CTM".
- Set the parameter "Type of daytime colour sequence" to "only colour adjustment".
- In this case, the gateway only takes into account the colour value of the CTM matrix corresponding to the day of the week and the time. The brightness value stored in the matrix is ignored. The brightness can then be controlled by other functions of the gateway (e.g. by switching and dimming or by the automatic brightness sequence).
- Set the parameter "Type of daytime colour sequence" to "colour and brightness adjustment".
- In addition to evaluating the configured colours of the CTM matrices, the gateway also evaluates the stored brightness values.
Setting the behaviour in case of overriding
A daytime colour sequence is of the same priority as the normal control of the brightness and colour of a group or single device by the corresponding communication objects. An automatic colour wheel sequence, an automatic brightness sequence or a scene recall also has the same priority. The above functions override a daytime colour sequence in progress in terms of colour and brightness. In the event of an override, a daytime colour sequence in progress can be stopped automatically, or alternatively continue to run in the background. The behaviour is defined by the parameter "Behaviour in case of overriding" parameter on the parameter page "DALI system... -> Configuration groups -> [x] Group name -> Colour -> CTM" or "DALI system... -> Configuration single devices -> [x] Device name -> Colour -> CTM".
- Set the parameter "Behaviour in case of overriding" to "HCL continues to work".
- An ongoing daytime colour sequence can be overridden at any time by other functions of the gateway. However, the daytime colour sequence continues to run, whereby the values stored in the CTM matrix continue to be called up continuously every minute, depending on the time. In this case, the last received or given commands for the colour or brightness of other functions (e.g. scene recall) are replaced by the CTM values again after one minute at the latest.
- For daytime colour gradients with brightness adjustment, the brightness values defined in the CTM matrix are tracked. The gateway then continues to process the interpolated brightness values every minute and, if necessary, switches on any operating devices that have been switched off.
- With daytime colour sequences without brightness adjustment, the colour is internally tracked by the CTM matrix even if groups or single devices are switched off. If a group or single device is switched on, the gateway sets the tracked colour so that DALI operating devices subsequently switched on display the correct values of the daytime colour sequence.
- Set the parameter "Behaviour in case of overriding" to "CTM is terminated".
- If a daytime colour sequence is automatically stopped by an override, the gateway immediately stops processing the assigned CTM matrix.
Defining effective weekdays
The Colour Transition Mode (CTM) implements colour gradients for the implementation of different colour moods depending on the time of day and day of the week. The individual colour and brightness values are called up in sequence, depending on the time. However, this is done only on selected weekdays. On which days of a week a daily colour sequence is to be executed can be defined in the ETS configuration.
- Set the selection of the effective weekdays on the parameter page "DALI system... -> Configuration groups -> [x] Group name -> Colour -> CTM" or "DALI system... -> Configuration single devices -> [x] Device name -> Colour -> CTM".
- A started daytime colour sequence is executed only on the configured weekdays. The daytime colour sequence is paused on days of a week not included in the selection.

