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 moods.
Control of RGB is achieved in combination with a Loxone DMX Extension or the RBG lighting mood function block. A lighting mood 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 mood is activated (double click the controller to see the pre-defined moods). Most of the pre-defined lighting moods depend on the time of day and activity in the room. If you leave and return to a room, then the mood 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.
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 moods. 4 of these can be controlled individually with inputs S10 – S13. A rising edge on the input activates the lighting mood. A double click deactivates the lighting mood.
Defining a lighting mood is very simple, just turn on the lights you want, then set it as a lighting mood 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 mood to be set).
Pressing the inputs + and -, flicks through the defined lighting moods, + being forwards and – going backwards.
By using the input Als you can select your desired lighting mood directly. The lighting mood corresponds to the number stored as an analogue value, i.e. Als value of 2 sets the lights to mood 2.
The active light mood 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 MOODS
To define lighting moods, either double click on the function block. A window appears with all the 13 possible lighting moods. The first 9 mood names are pre-defined and cannot be changed, moods 10 – 13 are fully customisable.
For every mood, 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 mood can also be assigned to a motion detector. This is done by selecting the desired lighting mood and clicking the box ‘Connect this lighting mood 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 mood is activated. You can prevent the mood from being activated by using the DisM input. The parameter TH defines how long the mood 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.