Automatic colour wheel sequence
Introduction
The colour wheel sequence is used for the automatic overall colour control of DALI lights. This function uses the cyclical adjustment of the hue angle in the HSV colour wheel. This results in continuous colour gradients that can be started and stopped at will during the running time of the gateway.
After starting, the automatically controlled step-by-step sequence of the colour wheel begins. With each step, the current hue is either increased or decreased depending on the configured "sequence direction", converted into an RGB value and transmitted on the DALI line. The number of steps and consequently the increment of the hue is derived from the configured "total running time". The longer the total running time is considered in a full colour wheel sequence, the finer is the hue adjustment during the sequence and thus the colour resolution.
The adjustment of the hue always starts with the colour currently set when groups or single devices are switched on. For switched-off groups or single devices, the start-up behaviour is determined by the parameter "When starting in switched-off state". Here it is possible that the start does not switch on the affected group or single device and the gateway executes the colour sequence only internally. Only a subsequent switch-on then switches the lamps to the internally tracked colour. Alternatively, starting a colour wheel sequence can immediately switch on a group or single device in the OFF state. In this case, the colour wheel sequence starts at an individual start value. This start value can either be specified as a fixed initial hue (optionally with static white value) in the ETS, or alternatively it can be set to the colour at which a stop was last executed in the course of a previous colour wheel sequence.

The sequence direction may be either clockwise, anti-clockwise or alternating (toggling). When switching over, the gateway automatically changes the direction of the colour wheel sequence after each start. The hue adjustment range is limited to 0° to 360° according to the HSV colour space. It can be defined in the ETS whether the colour wheel sequence is stopped or continued in the same direction without interruption after reaching the range limit 360° or 0°. Optionally, a short visualisation can be carried out by the lamp when the range limit is reached in order to continue the sequence afterwards. This visual feedback is provided by briefly switching the assigned DALI operating devices off and on again. The time between OFF and ON is invariably 1 second.
A colour wheel sequence always stops as soon as a stop command is received with the KNX communication object "Automatic colour wheel sequence - Start/stop". The colour last set by the colour wheel sequence is initially retained until it is changed by a new colour wheel sequence or by other functions of the gateway. A sequence is started and stopped by an object whose data format can be configured either to 1-bit (DPT 1.010 / "1" = start, "0" = stop) or alternatively to 4-bit (DPT 3.007 / "Dimming step up or down" = start, "Dimming stop" = stop).



Setting the start/stop behaviour of the colour wheel sequence
The parameter "Start and stop by" on the parameter page "DALI system... -> Configuration groups -> [x] Group name -> Colour -> Colour wheel sequence" or "DALI system... -> Configuration single devices -> [x] Device name -> Colour -> Colour wheel sequence" specifies the data format of the communication object for starting and stopping the automatic colour wheel sequence.
- Set the parameter to "Start/Stop object (1 bit)".
- A sequence is started and stopped by the object "Automatic colour wheel sequence - Start/Stop". The data format is set to 1-bit (DPT 1.010). A sequence is started by an ON telegram. A sequence is stopped by an OFF telegram.
- Set the parameter to "Dimming object (4-bit)".
- A sequence is started and stopped by the object "Automatic colour wheel sequence - Start/Stop". The data format is set to 4-bit (DPT 3.007). A sequence is started by a "Dimming step up or down" telegram. A sequence is stopped by a "Dimming stop" telegram.






Setting the starting behaviour of the colour wheel sequence in switched-off state
The adjustment of the hue always starts with the colour currently set when groups or single devices are switched on. When groups or single devices are switched off, the start-up behaviour is determined by the parameter "When starting in switched-off state" on the parameter page "DALI system... -> Configuration groups -> [x] Group name -> Colour -> Colour wheel sequence" or "DALI system... -> Configuration single devices -> [x] Device name -> Colour -> Colour wheel sequence".
- Set the parameter to "No reaction".
- When starting, the affected group or single device is not switched on. The gateway executes the colour sequence only internally. Only when the brightness is subsequently switched on does the lamp change to the internally tracked colour, but only if the switch-on colour is also configured to "track".
- Set the parameter to "Switch-on".
- Starting a colour wheel sequence immediately switches on a group or single device. In this case, the colour wheel sequence starts at the start value configured by the parameter of the same name.
- Set the "Start value" parameter to "preset".
- A fixed start value is specified as the start hue (optionally with static white value).
- Set the "Start value" parameter to "value as before last stop".
- The colour wheel sequence starts at the colour that was stopped last during the previous colour wheel sequence.
Setting the direction of the colour wheel sequence
The "Sequence direction" parameter on the parameter page "DALI system... -> Configuration groups -> [x] Group name -> Colour -> Colour wheel sequence" or "DALI system... -> Configuration single devices -> [x] Device name -> Colour -> Colour wheel sequence" defines the sequence direction of an automatic colour wheel sequence after starting.
- Set the parameter to "clockwise".
- According to the HSV colour space, the colour wheel is always run though clockwise (0° --> 360° / red --> green --> blue --> red).

- Set the parameter to "anti-clockwise".
- According to the HSV colour space, the colour wheel is always run through anti-clockwise (360° --> 0° / red --> blue --> green --> red).

- Set the parameter to "toggle".
- When switching over, the gateway automatically changes the direction of the colour wheel sequence after each start (clockwise --> anti-clockwise --> clockwise).

Setting the behaviour at the range limit of the colour wheel sequence
The hue adjustment range is limited to 0° to 360° according to the HSV colour space. The parameter "On reaching the range limit" on the parameter page "DALI system... -> Configuration groups -> [x] Group name -> Colour -> Colour wheel sequence" or "DALI system... -> Configuration single devices -> [x] Device name -> Colour -> Colour wheel sequence" defines the behaviour when the range limit (360° or 0°) is reached.
- Set the parameter to "Stop sequence".
- After reaching the range limit 360° or 0° (red), the colour wheel sequence is automatically stopped.
- Set the parameter to "Continue sequence".
- After reaching the range limit 360° or 0° (red), the colour wheel sequence is automatically continued until it is stopped by the communication object.
- Set the parameter to "Visualise and continue sequence".
- When the range limit 360° or 0° (red) is reached, a short visualisation is carried out by the lamp and then the sequence is continued in the same direction. Visual feedback is provided by briefly switching the assigned DALI operating devices off and on again. The time between OFF and ON is invariably 1 second. No status telegrams are generated by the short switching process.
Setting the total running time of the colour wheel sequence
After starting the colour wheel sequence, the step-by-step run through the HSV colour wheel begins. With each step, the current hue is either increased or decreased depending on the configured sequence direction, converted into an RGB value and transmitted on the DALI line. The number of steps and consequently the increment of the hue is derived from the configured "Total running time", which can set by the corresponding parameter on the parameter page "DALI system... -> Configuration groups -> [x] Group name -> Colour -> Colour wheel sequence" or "DALI system... -> Configuration single devices -> [x] Device name -> Colour -> Colour wheel sequence".
- Configure the parameter to the desired "total running time".
- A colour sequence from 0° to 360° takes the specified time. The longer the total running time, the finer the hue adjustment during the sequence and thus the colour resolution is. The hue increment is calculated by "360°: total running time [s]".

