--- title: Make a Link’nX scenario depend on the state of a Vanderbilt SPC alarm description: Let a Link’nX scenario start only if the Vanderbilt SPC panel, or one of its areas, is armed or disarmed at the moment the scenario is triggered. canonical: https://wiki.can-nx.com/en/guides/link-vanderbilt-condition/ language: en product: Link’nX audience: - administrateur - installateur context: "Link’nX web: scenario condition on a declared Vanderbilt SPC bridge" --- # Make a Link’nX scenario depend on the state of a Vanderbilt SPC alarm Context: Link’nX web: scenario condition on a declared Vanderbilt SPC bridge The **Vanderbilt SPC** condition of Link’nX lets a scenario start only if the intrusion panel, or one of its areas, is armed or disarmed at the moment it is triggered. It reads the state the gateway knows of the panel; it sends no command to it. Intended for the authorized installer or administrator. To start a scenario at the moment the alarm changes state, prepare a [Vanderbilt SPC trigger](https://wiki.can-nx.com/en/guides/link-vanderbilt-automation/) instead: the condition allows or blocks the start requested by a trigger. ## Before you start - The SPC Bridge is [declared and the panel read](https://wiki.can-nx.com/en/guides/link-vanderbilt-device/). The condition offers the declared bridges and, for an area, the areas read from the panel. - The gateway is online and runs version 8.663 or later. An older version cannot evaluate this condition: Link’nX then refuses to save it. ## Create the alarm condition 1. In **Conditions**, click **Add**, then choose **Vanderbilt SPC — alarm armed / disarmed** in **Select a condition type**. 2. Fill in **Name**. 3. In **SPC Bridge**, select the relevant bridge. 4. In **Applies to**, choose **Whole panel** or **One area**. For an area, choose it in **Area**: the list shows the number and the name of each area, **From the list read from the panel**. 5. In **State**, choose **Armed (full or part set)** or **Disarmed**. 6. Click the floppy disk, then follow the [save confirmations](https://wiki.can-nx.com/en/guides/link-condition-edit/). | Applies to | **Armed (full or part set)** | **Disarmed** | | --- | --- | --- | | **Whole panel** | At least one area is set, fully or partly | Every area is unset | | **One area** | Full set, part set A or part set B | Unset | In the conditions list and when editing, the type is shown as **Vanderbilt SPC**. ## Add the condition to the scenario 1. In the [relevant scenario](https://wiki.can-nx.com/en/guides/link-compose-scenario/), open **'Vanderbilt alarm' condition**. This field appears as soon as a condition of this type exists. 2. Select the condition, then save the scenario. When several alarm conditions are selected, all of them must be met. ## Understand when the condition is met - The condition looks at the alarm state at the moment the scenario is triggered. - If the gateway has no link with the bridge at that moment, the condition is not met, whichever state is chosen: the scenario does not run. The same applies as long as the state of the panel is not known. - With **Whole panel**, a single set area is enough for the panel to count as armed. ## Check the result - Reopen the condition and check the saved bridge, target and state. - Put the alarm in the chosen state, for example at the keypad, then cause the trigger of the scenario: the scenario runs. Put it in the other state and try again: it does not run. ## Troubleshooting | Message | Action | | --- | --- | | **No SPC Bridge is declared: declare one before creating this condition.** | [Declare the SPC Bridge](https://wiki.can-nx.com/en/guides/link-vanderbilt-device/), then come back to the condition | | **No area has been read on this bridge yet: open the bridge and click “Read from the panel”.** | Open the bridge, click **Read from the panel**, then save | | **Issue with device field selection. At least one value required.** | Select the bridge in **SPC Bridge** | | **Please select the area** | Choose the area in **Area**, in particular after changing the bridge | | **Please select the state: armed or disarmed** | Choose the state in **State** | | **This gateway cannot evaluate the alarm condition yet. Update it to version 8.663 or later, check that it is online, then try again.** | Update the gateway, check that it is online, then save again | **The scenario does not start although the alarm is in the expected state.** Check that the gateway reaches the bridge, then the target: with **Whole panel**, **Disarmed** requires every area to be unset. Then check the other conditions and that the scenario is enabled. **The bridge was deleted then declared again.** The condition still points at the former bridge and is never met again. Reopen it, select the bridge in **SPC Bridge**, then save. If the problem persists, contact support@can-nx.com with the model of the panel and of the bridge, the condition, the expected state and the attempts made, without a password or PIN. French labels: **Conditions**, **Ajouter**, **Sélectionner le type de condition**, **Vanderbilt SPC — alarme armée / désarmée**, **Nom**, **SPC Bridge**, **Élément visé**, **Centrale entière**, **Un secteur**, **Secteur**, **Parmi la liste lue dans la centrale**, **État**, **Armée (MES totale ou partielle)**, **Désarmée (MHS)**, **Condition 'Alarme Vanderbilt'**, **Lire la centrale**.