---
title: "Use Home Assistant devices in Vigiora"
description: "Share Home Assistant's sensors, lights, sirens and notifications with Vigiora, as AI context, triggers and alert actions."
url: https://vigiora.com/docs/home-assistant/bridge
updated: 2026-11-25T11:37:01.000Z
---

# Use Home Assistant devices in Vigiora

> Share Home Assistant's sensors, lights, sirens and notifications with Vigiora, as AI context, triggers and alert actions.

The bridge works in the other direction from the integration: Vigiora uses devices Home Assistant knows. For example:

- a door contact opens, and Guardian looks at the hall camera right away;
- Guardian knows the alarm is armed when it judges whether a person at the back door is a problem;
- an alert rule switches on the garden lights, sounds a siren or sends a notification to your phone.

Nothing is shared until you choose it, device by device, except Zigbee devices paired through Vigiora, whose readings are shared on their own (see [Zigbee devices](https://vigiora.com/docs/home-assistant/zigbee#what-is-shared-with-vigiora)). From version 1.6.19, the [IoT devices](https://vigiora.com/docs/using/iot-devices) page shows every shared device with its live values, rooms, cameras and what Vigiora reads each reading as.

## Connect Home Assistant

Open **Settings** → **System** → **Integrations** → **Home Assistant** and click the **Devices** tab (admins only).

1. **Choose the Home Assistant**

   If Vigiora installed Home Assistant for you, click **Use the Home Assistant Vigiora installed**. Nothing else is needed.

   Otherwise, enter the **Home Assistant address** (for example `http://192.0.2.20:8123`) and a **Long-lived access token**. To create one in Home Assistant: your profile → **Security** → **Long-lived access tokens** → **Create token**.

2. **Connect**

   Click **Connect**. Vigiora checks the connection first, then stores the token encrypted. It never shows it again, and it never appears in logs or API answers.

The **Connection** card then shows *Connected to Home Assistant*, its version and *N entities in Home Assistant, M shared with Vigiora*. Other states:

| State | Meaning |
| --- | --- |
| **Connecting…** | Vigiora is connecting, or reconnecting after Home Assistant restarted. It retries on its own. |
| **Home Assistant refused the token** | The token was deleted or is wrong. Connect again with a new token. |
| **Cannot reach Home Assistant** | Home Assistant is stopped or the address is wrong. |
| **This server has no key to store the token** | The server has no key to encrypt the token with. Run the installer again on the server. |

**Disconnect** stops updates and control. Your choices are kept for a later connection.

## Several Home Assistant instances

From version 1.6.16, one Vigiora server can use several Home Assistants, for example one at home and one at the shop. Each keeps its own devices, links, triggers and rule actions.

1. **Add another one**

   On the **Devices** tab, under **Home Assistant instances**, click **Add Home Assistant**.

2. **Name it and connect**

   Give it a **Name**, such as "Shop", then its address and a long-lived access token, as above. Click **Connect**.

Each instance has **Manage**: rename it, test the connection, disconnect or reconnect, turn it off or on, or **Remove** it. Removing an instance makes Vigiora forget its shared devices, links, triggers and rule actions; the action log is kept.

- With one instance, nothing changes on screen.
- With several, devices, triggers, room signals, rule actions and the action log show which Home Assistant each one belongs to, and Guardian names it too, such as "Shop / Front light". Ask for a device by that full name when two have the same name.
- Only one instance can be the Home Assistant Vigiora installed. The others are connected by address and token.
- Your first Home Assistant stays the default for older integrations and for API calls that don't name an instance.

## Choose what Vigiora may use

Under **Choose what Vigiora may use** (also the **Home Assistant sharing** tab of the IoT devices page from 1.6.19), devices are grouped by Home Assistant area, then by type: **Lights**, **Switches**, **Helpers**, **Sensors (on/off)**, **Sensors (values)**, **Locks**, **Alarm panels**, **Sirens** and **Notifications**. Use **Search devices** to find one.

For each device, choose its access:

| Access | What Vigiora can do |
| --- | --- |
| **Not shared** | Nothing. This is the default for every device. |
| **Read** | See its state, use it as context for the AI and as a trigger. |
| **Read + control** | Also run its commands: from alert rules, and from the people and AI agents you allow. |

Devices hidden or disabled in Home Assistant are not offered.

### What each kind of device can do

| Home Assistant device | In Vigiora | Commands |
| --- | --- | --- |
| Door, window, garage door and opening sensors | Contact (open or closed) | None |
| Motion sensors | Motion | None |
| Occupancy and presence sensors | Presence | None |
| Other sensors | A value, with its unit | None |
| Lights, switches, helpers (`input_boolean`) | On/off | **Turn on**, **Turn off** |
| Dimmable lights | On/off and brightness | **Set brightness** (0–100 %) |
| Locks | Lock (sensitive) | **Lock**, **Unlock** |
| Alarm panels | Alarm mode (sensitive) | **Set alarm mode**: **Armed away**, **Armed home**, **Armed night**, **Armed vacation**, **Disarmed** |
| Sirens | Siren (sensitive) | **Sound the siren** (optionally for a number of seconds), **Silence the siren** |
| Notification services, such as the mobile app | Notify | **Send a notification** |

Each command calls exactly one Home Assistant service. Vigiora can't call any other service.

### Sensitive devices

Locks, alarm panels and sirens are marked **Sensitive**. To allow control of one, you confirm it in a dialog: *Allow Vigiora to control …?* Even then:

- an alert rule may only use it after you tick **I confirm this rule may run it on this lock, alarm panel or siren**;
- every action an AI agent or Guardian chat asks for on it needs a person's approval, even when [human in the loop](https://vigiora.com/docs/developers/human-in-the-loop) is off.

## Link devices to cameras and rooms

The **Shared with Vigiora** list shows each shared device's live state, with **Links** to cameras and rooms. Guardian sees a linked device as context for that camera; a room uses its devices as signals. From version 1.6.19 a device pinned inside a room's outline on a [floor plan](https://vigiora.com/docs/using/floor-plans#devices-on-the-plan) is in that room without a link, and the device's drawer on the [IoT devices](https://vigiora.com/docs/using/iot-devices#a-device-in-detail) page sets the same links.

### Guardian context

When Guardian describes a clip from a camera, it also gets the state of the devices linked to that camera or to its rooms, now and over the 2 minutes before the clip. So a rule like *"a door opened while the alarm is armed away"* can be judged. The device data is passed to the AI as quoted data, never as instructions.

### Room signals

In a room's edit form, **Signals (Home Assistant)** lists the room's devices. AI Live and Guardian use their state as context, and a change wakes the room's [event-driven AI Live](https://vigiora.com/docs/using/rooms).

## Triggers: look at a camera when a device changes

Open the camera, click its **AI Guardian** tab, then **Alerts**. There, **Triggers (Home Assistant)** starts a Guardian description of that camera as soon as a device changes, with the change as context.

1. **Add a trigger**

   Click **Add trigger** and choose the **Device**.

2. **Choose when**

   Under **When**, choose **Any change**, or a specific change such as **Opens**, **Closes**, **Detects something** or **Clears**.

3. **Set the cooldown**

   Set **at most every** between 10 seconds and 24 hours. The default is 120 seconds.

A triggered description is an automatic description like one started by motion: it counts against your AI allowance and follows the same limits.

## Alert rule actions

An [alert rule](https://vigiora.com/docs/ai/alert-rules), on a camera or a room, can also act through Home Assistant when it fires. Under the rule, open **Actions (Home Assistant)** and click **Add action** (up to 10 per rule):

| Field | What it does |
| --- | --- |
| **Device** | A device shared with **Read + control**. |
| **Command** | What to do, such as **Turn on** or **Send a notification**. |
| **undo after** | For lights, switches, sirens and locks: reverse the action after 1–3600 seconds. For example, turn the lights back off after 5 minutes. |
| Message and **Title (optional)** | For notifications. You can use `{rule}`, `{reason}`, `{camera}`, `{room}` and `{severity}`. |

Click **Save actions**. Each run, and each refusal (for example a device that is no longer shared for control), is logged on the alert and in **Recent actions**.

## Control from Guardian chat and AI Live

Admins and operators can ask [Guardian chat](https://vigiora.com/docs/ai/guardian-chat) to list or control shared devices (*"turn on the porch light"*), and a room's AI Live can act on them as an operator.

While human in the loop is on, and always for sensitive devices, the action waits for approval:

- in Guardian chat, **Approve** and **Deny** appear under the answer;
- for AI Live, the request appears on the **Devices** tab under **Waiting for your approval**, marked *asked by AI Live*.

A pending action expires after 10 minutes. Only the person who asked can approve it; admins see all of them.

AI agents using the [MCP server](https://vigiora.com/docs/developers/mcp) control devices through the `command_home_assistant_device` tool, which follows human in the loop; for a sensitive device it always asks.

## Recent actions

**Recent actions** on the **Devices** tab lists every control action: when, which device, what was asked, by what (**alert rule**, **undo after rule**, **Guardian chat**, **AI Live**, **AI agent** or **API**) and the outcome: **done**, **failed**, **refused**, **too many**, **waiting for approval** or **denied**.

To protect your devices, Vigiora runs at most 10 actions a minute per device, 30 a minute per person or key, and 60 a minute in all.

## Who can do what

| Role | Can |
| --- | --- |
| Admin | Connect Home Assistant, choose what is shared, and everything below. |
| Operator | See shared devices, set links, room signals, triggers and rule actions, control shared devices, approve their own pending actions. |
| Viewer | Nothing: viewers never see Home Assistant devices. |

## Related pages

- [Vigiora and Home Assistant](https://vigiora.com/docs/home-assistant/overview)
- [Zigbee devices](https://vigiora.com/docs/home-assistant/zigbee)
- [IoT devices](https://vigiora.com/docs/using/iot-devices)
- [The Things model and MQTT](https://vigiora.com/docs/home-assistant/things-and-mqtt)
- [Alert rules](https://vigiora.com/docs/ai/alert-rules)
- [Human in the loop](https://vigiora.com/docs/developers/human-in-the-loop)

---

Source: https://vigiora.com/docs/home-assistant/bridge · Last updated 25 Nov 2026, 11:37 UTC
