--- title: KNX scenarios and automations with Link’nX and Boss’nX description: "Build KNX scenarios in Link’nX: time, sun, KNX or HTTP triggers, conditions, actions and functions, plus time programming in Boss’nX." canonical: https://wiki.can-nx.com/en/usages/automatismes/ language: en --- # KNX scenarios and automations with Link’nX and Boss’nX In Link’nX, a scenario combines triggers, optional conditions and a sequence of actions: a time, sunrise, a KNX telegram or an HTTP call starts it, then it writes to group addresses or controls devices. Link’nX functions control a KNX address based on two thresholds or after a period without telegrams. In Boss’nX, a supervision’s **Time Programming** and the component commands complete this path. ## Solutions for your need | Need | Application | Guide | | --- | --- | --- | | Compose a scenario from triggers, conditions and actions | Link’nX, **Scenarios** | [Compose a scenario](https://wiki.can-nx.com/en/guides/link-compose-scenario/) | | Start at a set time or around sunrise or sunset | Link’nX, **Timed** and **Sun event** triggers | [Timed trigger](https://wiki.can-nx.com/en/guides/link-trigger-time/), [sun event trigger](https://wiki.can-nx.com/en/guides/link-trigger-sun/) | | Start on a KNX telegram or when a URL is called | Link’nX, **KNX** and **HTTP** triggers | [KNX trigger](https://wiki.can-nx.com/en/guides/link-trigger-knx/), [HTTP trigger](https://wiki.can-nx.com/en/guides/link-trigger-http/) | | Limit the start to days, times, dates, day or night, or a KNX value | Link’nX, **Conditions** | [Create a condition](https://wiki.can-nx.com/en/guides/link-condition-edit/) | | Write to group addresses, if needed generated from the ETS file | Link’nX, **KNX** actions | [Prepare a KNX action](https://wiki.can-nx.com/en/guides/link-action-knx/), [generate actions from ETS](https://wiki.can-nx.com/en/guides/link-action-generate/) | | Set the order of actions, their delays and the interruption of other scenarios | Link’nX, **Wait** cards and **Interruption** section | [Order, delays and interruptions](https://wiki.can-nx.com/en/guides/link-scenario-sequence/) | | Control an output based on two thresholds, for example on a temperature | Link’nX, **Functions**, **Hysteresis** type | [Hysteresis function](https://wiki.can-nx.com/en/guides/link-function-hysteresis/) | | Send a command after a period without telegrams | Link’nX, **Functions**, **Presence detection** type | [Timeout without telegrams](https://wiki.can-nx.com/en/guides/link-function-presence/) | | Run an action or a scenario manually, then check its history | Link’nX, **Actions** and **Scenarios** | [Run an action or a scenario](https://wiki.can-nx.com/en/guides/link-run/), [scenario history](https://wiki.can-nx.com/en/guides/link-history/) | | Schedule times and conditions in a supervision | Boss’nX, **Menu → Time programming** | [Create a schedule](https://wiki.can-nx.com/en/guides/boss-scenarios-create/), [set times and conditions](https://wiki.can-nx.com/en/guides/boss-scenarios-schedule/) | | Control a datapoint or run a linked Link’nX action from a component | Boss’nX, component detail | [Command buttons](https://wiki.can-nx.com/en/guides/boss-command-buttons/), [run a Link’nX action](https://wiki.can-nx.com/en/guides/boss-command-linknx/) | ## Good to know - A scenario’s triggers are combined with **OR** and its conditions with **AND**, in Link’nX as in Boss’nX. A condition alone does not start a scenario. - A KNX trigger reacts to a write matching the configured address and value; a simple status read does not trigger it. - The **Wait** delay of a card comes before that action. An interruption abandons the delayed actions of the targeted scenarios, without undoing those already performed. - A saved and **Enabled** function controls its target without going through a scenario. Disabling it does not send an opposite command. - Boss’nX **Time Programming** does not automatically include Link’nX scenarios; three permissions separate running, tuning and editing. - A run message does not prove the physical result: check the status feedback. Integrations add their own triggers and actions: see [Lighting, blinds and shutters](https://wiki.can-nx.com/en/usages/eclairage-ouvrants/), [Audio and multimedia](https://wiki.can-nx.com/en/usages/audio-multimedia/) and [Security and video surveillance](https://wiki.can-nx.com/en/usages/videoprotection/). See also [HomeKit](https://wiki.can-nx.com/en/integrations/homekit/) for export to the Home app and [Pushover](https://wiki.can-nx.com/en/integrations/pushover/) for notifications. ## All Scenarios and commands guides ### Protocols, imports and monitoring - [Run a Link’nX scenario or action from a Boss’nX component](https://wiki.can-nx.com/en/guides/boss-command-linknx/) - [KNX action in Link’nX: send values to group addresses](https://wiki.can-nx.com/en/guides/link-action-knx/) - [Make a Link’nX scenario conditional on a KNX group address value](https://wiki.can-nx.com/en/guides/link-condition-knx/) - [Link’nX KNX trigger: start a scenario on a group address](https://wiki.can-nx.com/en/guides/link-trigger-knx/) ### Questions and troubleshooting - [Boss’nX command not working: troubleshooting and FAQ](https://wiki.can-nx.com/en/guides/boss-command-help/) - [Actions in Link’nX: troubleshooting and frequently asked questions](https://wiki.can-nx.com/en/guides/link-action-help/) - [Link’nX KNX functions: troubleshooting and frequently asked questions](https://wiki.can-nx.com/en/guides/link-function-help/) ### Scenarios and commands - [Control a Boss’nX datapoint: two states, option list or pulse](https://wiki.can-nx.com/en/guides/boss-command-buttons/) - [Adjust a setpoint in Boss’nX: + and − buttons, typed value or slider](https://wiki.can-nx.com/en/guides/boss-command-numeric/) - [Boss’nX scenario actions: commands, values, delays and order](https://wiki.can-nx.com/en/guides/boss-scenarios-actions/) - [Boss’nX Time Programming: find, enable and run a scenario](https://wiki.can-nx.com/en/guides/boss-scenarios-consult/) - [Create, edit or delete a Boss’nX Time Programming scenario](https://wiki.can-nx.com/en/guides/boss-scenarios-create/) - [Boss’nX scenario triggers: fixed time, sunrise, sunset and conditions](https://wiki.can-nx.com/en/guides/boss-scenarios-schedule/) - [Create, edit and duplicate an action in Link’nX](https://wiki.can-nx.com/en/guides/link-action-edit/) - [Generate KNX actions from ETS group addresses in Link’nX](https://wiki.can-nx.com/en/guides/link-action-generate/) - [Link’nX HTTP action: send a GET request from a scenario](https://wiki.can-nx.com/en/guides/link-action-http/) - [Create a Link’nX scenario: triggers, conditions and actions](https://wiki.can-nx.com/en/guides/link-compose-scenario/) - [Repeat date periods every year in a Link’nX condition](https://wiki.can-nx.com/en/guides/link-condition-annual/) - [Limit a Link’nX scenario to specific date ranges](https://wiki.can-nx.com/en/guides/link-condition-dates/) - [Limit a Link’nX scenario to certain weekdays and months](https://wiki.can-nx.com/en/guides/link-condition-days/) - [Create, edit and duplicate a Link’nX scenario condition](https://wiki.can-nx.com/en/guides/link-condition-edit/) - [Limit a Link’nX scenario to daytime or night-time based on the sun](https://wiki.can-nx.com/en/guides/link-condition-sun/) - [Limit a Link’nX scenario to a daily time range](https://wiki.can-nx.com/en/guides/link-condition-time/) - [KNX functions in Link’nX: create, edit, enable or delete](https://wiki.can-nx.com/en/guides/link-function-edit/) - [KNX hysteresis in Link’nX: command an output with two thresholds](https://wiki.can-nx.com/en/guides/link-function-hysteresis/) - [Send a KNX command after a period without telegrams in Link’nX](https://wiki.can-nx.com/en/guides/link-function-presence/) - [Choose the KNX value sent by a Link’nX function based on its DPT](https://wiki.can-nx.com/en/guides/link-function-values/) - [Link’nX scenario history: find and filter scenario runs](https://wiki.can-nx.com/en/guides/link-history/) - [Test an action or run a scenario manually in Link’nX](https://wiki.can-nx.com/en/guides/link-run/) - [Trigger, condition and action details of a Link’nX scenario](https://wiki.can-nx.com/en/guides/link-scenario-details/) - [Save, edit or duplicate a Link’nX scenario](https://wiki.can-nx.com/en/guides/link-scenario-save/) - [Set the order, delays and interruptions of a Link’nX scenario](https://wiki.can-nx.com/en/guides/link-scenario-sequence/) - [Override the value of a KNX action in a Link’nX scenario](https://wiki.can-nx.com/en/guides/link-scenario-values/) - [Create, edit and duplicate a Link’nX scenario trigger](https://wiki.can-nx.com/en/guides/link-trigger-edit/) - [Trigger a Link’nX scenario from an HTTP URL (GET webhook)](https://wiki.can-nx.com/en/guides/link-trigger-http/) - [Trigger a Link’nX scenario at sunrise or sunset](https://wiki.can-nx.com/en/guides/link-trigger-sun/) - [Start a Link’nX scenario at a set time: Timed trigger](https://wiki.can-nx.com/en/guides/link-trigger-time/)