Hotel Lighting Controller


This function block enables lighting control in multiple rooms using the same basic settings. On top of the basic settings, different types of room can be defined. The room lights can therefore be controlled (switched, dimmed or RGB colours adjusted) with pre-defined lighting scenes.

Icon Exclamation Mark Loxone

Control of RGB is achieved in combination with a Loxone DMX Extension or the RBG lighting scene function block. A lighting scene allows you to reproduce different lighting designs in rooms.
In order to use a room, you must first insert a key card (input IC).

The first time the key card is inserted, the S3 ‘Welcome’ lighting scene is activated (double click the controller to see the pre-defined scenes). Most of the pre-defined lighting scenes depend on the time of day and activity in the room. If you leave and return to a room, then the scene which was active on leaving will be re-applied on return, depending on the configuration.


Room status is defined interactively. For example, the reception can change the room status (input Alr) between booked, not booked and guest checked in. Using key cards, the reception is notified via a Fidelio server and/or the Miniserver of the presence, cleaning and service status (QP, Qs, QD, AQrm).

The inputs I1-I20 control their associated outputs AQ1-AQ20. Whether you want to dim the outputs or just turn them on/off can be defined using the edit window of the light control.

Turning On/Off:
A rising edge on the input turns on the associated output. With a further rising edge, the output is turned off again. It can also be turned off by a double click.
Note: For the on/off function, the input must be defined as a ‘switch’ in the function block.

The dimming function is activated by holding the switch down. The way the dimmer behaves depends on the values of the parameters (SI, ST, Min, Max, W and L):
The percentage increment is set by the parameter SI and the time step (in seconds) between increments by the parameter ST. The parameter Min sets the minimum value the dimmer can take in the range 0-50%, and the parameter Max sets its maximum value in the range 50-100%. If the parameter W is activated, when the dimmer reaches its maximum value it will change direction and start to dim towards the minimum. Similarly, when it reaches its minimum value, it will change direction and return towards the maximum. If the parameter W is disabled, the dimmer will simply stop when it reaches the minimum or maximum value. If the parameter L is disabled, a short press of the button applies the last value of the dimmer. If enabled, the dimming restarts from the minimum value.

The device supports up to 13 lighting scenes. 4 of these can be controlled individually with inputs S10 – S13. A rising edge on the input activates the lighting scene. A double click deactivates the lighting scene.

Defining a lighting scene is very simple, just turn on the lights you want, then set it as a lighting scene either with the app, through a browser, or using a light switch on the wall (you need to hold down a wall switch for 5 seconds for the scene to be set).
Pressing the inputs + and -, flicks through the defined lighting scenes, + being forwards and – going backwards.
By using the input Als you can select your desired lighting scene directly. The lighting scene corresponds to the number stored as an analogue value, i.e. Als value of 2 sets the lights to scene 2.
The active light scene is sent from the output AQs.


The hotel lighting control function block has a default a double click function. This means that if there is a double click on any one of the inputs I1-I20 or S10-S13, then all the outputs of the lighting controller are reset.
Example: When you leave a room you can turn off all the lights with a double click.


To define lighting scenes, either double click on the function block. A window appears with all the 13 possible lighting scenes. The first 9 scene names are pre-defined and cannot be changed, scenes 10 – 13 are fully customisable.

For every scene, you can then set each output AQ1-AQ20 as a switch, dimmer (0-100%, 0-10V, 1-10V) or RGB. If you select RGB, then the desired colour can be chosen by clicking on the dropdown colour palate.

A scene can also be assigned to a motion detector. This is done by selecting the desired lighting scene and clicking the box ‘Connect this lighting scene with motion detectors’. The motion detector should be connected to the input Mv. The motion detector is enabled by default. If motion is detected, then the scene is activated. You can prevent the scene from being activated by using the DisM input. The parameter TH defines how long the scene remains active. The timer starts with a falling edge on the input of the motion detector.

Using MS, different modes can be defined as service mode is activated. TM defines the length of time in which service mode must be acknowledged. To defines how long a switch must be held down for the ‘All off’ function to be activated.

Hotel Lighting Controller Scenes



I1 – I20Trigger inputsDirectly trigger outputs AQ1-AQ12
S10 – S13Lighting scene trigger inputsTriggers the scene (1-8)
RResetSet all the outputs to 0
ICCard switchConnect the card input here
ISService inputDepends on service mode
AIrStatus input0 = Not booked
1 = Booked
2 = Guest checked in
IDDoor inputConnect a door contact here
RResetOverrun timers Tsc and Tss are stopped.
DisMLock motion sensorsMotion sensors will not trigger if they detect movement
MvMotion detector inputStarts the motion detected scene
DisDisableChild lock will lock all the inputs (but not the user interface)


AQ1 – AQ20Output for lighting controlControlled by the inputs 11-112
AQsCurrent lighting scene (0-9)-1 = Undefined, 0 = Everything off, 9 = All on
QPPresence outputActive when a card activates the card input IC
QSService outputActive when the room is being serviced
QDService completed outputOn when the room has been cleaned and is vacant AQrm = 3
AQrmAnalogue output for room service status1 = Vacant/not cleaned
2 = Occupied/not cleaned
3 = Vacant/cleaned
4 = Occupied/cleaned


Remanence Battery SymbolRemanenceSets the function block to be remanent, e.g. return to the last known scene after a power cut
MSService personal mode0 = Long click service button after inserting card
1 = Service button signal before inserting card
2 = Service button on before inserting card
3 = Card has to be inserted twice
TM Duration for service personal mode
ToDuration of press and hold for ‘All Off’
TITimeout for leaving the room
MMaximum pulse seperation (s)Maximum time span between two pulses (s)
SIDimmer step increment
STDimmer step time
MinDimmer minimum value0-50%
MaxDimmer maximum value50-100%
LDo not set last value (Off = short click sets last value of dimmer)
THTime for which the scene activated by the motion detector remains on (s)