The Presence block combines devices and logic that indicate presence in a room. Loxone sensors such as Touch devices, Door and Window Contacts, and Motion and Presence Sensors are supported.
The desired devices for presence detection can be assigned in the block settings. Additional sensors or logic can be connected via the block inputs.
Every button click on a Loxone Touch activates or extends the presence, as well as detected motion and every change of state of window contacts.
The block also supports the presence detection via the Loxone App.
Presence overrun times are synchronized for supported devices. After the last presence, the presence output for Presence Sensors remains ON for the duration TH.
The function block uses both sensor types for devices with presence and motion sensors. A high value for "Overrun time motion" extends the presence duration of the function block accordingly
Table of Contents
- Programming example
- Combined presence output
- Presence Detection via the Desktop App
|IAct||Activate||Activates presence on rising edge. On falling edge the overrun timer TH starts. Continuous ON and each falling edge extends the presence.|
|IExt||Extend||As long as the input is active, already active presence is extended. On falling edge, the overrun timer TH starts.|
|Tr||Trigger||Each change at the input activates or extends the presence. Continuous ON is not interpreted.|
|R||Reset||Deactivates the presence and blocks the function block|
|AQPr||Presence status||Combined presence output (Bitmask).||∞|
|QPrOn||Presence started||Pulse when presence is started.||-|
|QPrOff||Presence ended||Pulse when presence is ended.||-|
|AQtPr||Presence duration||Duration of the current presence period.||∞|
|QWarn||Switch-off warning||Warning pulse before end of presence||-|
|Abbreviation||Summary||Description||Unit||Value Range||Default Value|
|TH||Overrun time||Overrun time for interaction, Loxone's Presence Sensors adopt this overrun time.||sec||2...∞||900|
|TWarn||Switch-off warning||Time of the switch-off warning before the end of presence.||s||2...∞||15|
|Number of Entries||Maximum number of saved messages.||20|
|Configuration||Configuration of the Inputs and Outputs Used.||-|
The Presence block is used to combine multiple Presence or Motion Sensors and other devices and to use them together to detect presence.
A window that lists all compatible devices can be found in the settings, or by double-clicking on the block:
All devices that are to be used for presence detection in this room are selected here.
Other objects or additional logic can be used for presence detection via the block inputs.
E.g. pushbuttons, motion detectors, sensors, or other devices that are operated or triggered when a room is occupied.
The presence information is then transferred from the PBin output to the P input of a function block, e.g. the Lighting Controller:
Combined presence output↑
The combined presence output is similar to the T5 and contains a range of information in the form of a bitmask:
Bit 0 active: Presence active
Bit 1: Motion active
Bit 2: Switch-off warning
Example for analogue values:
0: no presence
1: Presence active
2: Motion active
3: Presence + Motion
5: Presence + switch-off warning
This output can be used on all presence and motion sensor inputs of other blocks
Presence Detection via the Desktop App↑
On a computer running Windows, macOS, or Linux, the Loxone App enables presence detection.
When you work on your computer, the app detects your presence and transmits it to the block.
To activate the presence detection, first create a Presence block for a room in Loxone Config and save the program in the Miniserver.
Then enable Presence Detection in the App's settings menu.
Here you can select which room is to be used for presence detection:
Selects the room in which the computer is located.
Each room that is to be used with this function requires a Presence block.
This allows you to change the room being used, e.g. if a notebook is used in different rooms.
You can find and change the room being used by clicking on the App icon in the taskbar or menu bar of your computer: