Hotel lighting controller

Configure and set up easily with Loxone Config


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.

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. 

Defining the room status

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 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.

Double click function

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. 

Adding lighting scenes

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 definied 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.

Picture: Loxone Config - Adjusting Hotel Lighting




I1 - I20 Trigger inputs Directly trigger outputs AQ1-AQ12
S10 - S13 Lighting scene trigger inputs Triggers the scene (1-8)
R Reset Set all the outputs to 0
IC Card switch Connect the card input here
IS Service input Depends on service mode
Alr Status input 0 = Not booked
1 = Booked
2 = Guest checked in
ID Door input Connect a door contact here
R Reset Overrun timers Tsc and Tss are stopped.
DisM Lock motion sensors Motion sensors will not trigger if they detect movement
Mv Motion detector input Starts the motion detected scene
Dis Disable Child lock will lock all the inputs (but not the user interface)



AQ1 - AQ20 Output for lighting control Controlled by the inputs 11-112
AQs Current lighting scene (0-9) -1 = Undefined, 0 = Everything off, 9 = All on
QP Presence output Active when a card activates the card input IC
QS  Service output Active when the room is being serviced
QD Service completed output On when the room has been cleaned and is vacant AQrm = 3
AQrm Analogue output for room service status 1 = Vacant/not cleaned
2 = Occupied/not cleaned
3 = Vacant/cleaned
4 = Occupied/cleaned



tl_files/loxone/documentation/EN-UK/function_blocks/remanencebattery.png Remanence

Sets the function block to be remanent, e.g. return to the last known scene after a power cut

MS Service personal mode 0 = 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  
To Duration of press and hold for 'All Off'  
TI Timeout for leaving the room  
M Maximum pulse seperation (s) Maximum time span between two pulses (s)
SI Dimmer step increment  
ST Dimmer step time  
Min Dimmer minimum value 0-50%
Max Dimmer maximum value 50-100%
L Do not set last value (Off = short click sets last value of dimmer)  
TH Time for which the scene activated by the motion detector remains on (s)