---
title: "Door sensors, motion sensors and buttons next to your cameras: Zigbee through the Home Assistant Vigiora installs for you"
description: "A Zigbee USB dongle in your Vigiora server gives the Home Assistant it installed for you door contacts, motion sensors and buttons. How to plug it in, set up ZHA, and make sensors and cameras work together in both directions."
url: https://vigiora.com/articles/zigbee-sensors-home-assistant-vigiora
language: en
date: 2026-11-04
updated: 2026-11-04
tags: [how-to]
scenario: false
---

# Door sensors, motion sensors and buttons next to your cameras: Zigbee through the Home Assistant Vigiora installs for you

> A Zigbee USB dongle in your Vigiora server gives the Home Assistant it installed for you door contacts, motion sensors and buttons. How to plug it in, set up ZHA, and make sensors and cameras work together in both directions.

A camera tells you what happened. A door contact tells you the moment it happened, for a few euros, without a picture. Put the two together and the camera can look exactly when the door opens, and a light can come on exactly when the camera sees someone. If Vigiora [installed Home Assistant for you](https://vigiora.com/docs/home-assistant/install), that combination is one USB dongle away. Since Vigiora Server 1.6.19, the managed Home Assistant gets the dongle automatically.

> **What you need**
>
> - A Vigiora Server on Linux with Home Assistant installed by Vigiora (**System → Integrations → Home Assistant → Install Home Assistant**). Vigiora Server 1.6.13 or later installs it; passing the dongle through and setting up Zigbee for you came with 1.6.19.
> - A USB Zigbee coordinator. The examples use the SONOFF Zigbee 3.0 USB Dongle Plus, a common Silicon Labs EFR32 radio that Home Assistant drives with the EZSP radio type.
> - A short USB 2.0 extension cable (see below).
> - The Zigbee devices themselves: door and window sensors, motion sensors, buttons, a bulb or a plug.
> - The **admin** role in Vigiora and the Home Assistant owner sign-in you saved during the install.
>

## Why the dongle goes into the Vigiora server

Vigiora runs Home Assistant as a Docker container on the same computer and manages it from the Home Assistant card. A USB radio only works inside that container if the container is started with the device, and before 1.6.19 it wasn't, so a dongle plugged into the server stayed invisible to Home Assistant.

From version 1.6.19, Vigiora looks for USB serial devices on the server and passes them to the container:

- The Home Assistant card gets a **USB devices** row listing the serial devices the container has, such as `/dev/ttyACM0`.
- A dongle Vigiora recognises as a Zigbee coordinator is passed in on its own, with one restart of Home Assistant. For another serial device the card shows an amber **New USB device** line: *"/dev/ttyACM0 — choose Restart to pass it to Home Assistant"*. **Restart** then recreates the container with the device; a plain restart from inside Home Assistant isn't enough.

Servers that installed Home Assistant before 1.6.19 need the small helper that manages the container refreshed once. Run `sudo vigiora-install homeassistant` on the server, the same command the card showed you at install time, then click **Restart** on the card.

## Set it up

1. **Plug the dongle in through an extension cable**

   Put the dongle on a short USB 2.0 extension cable rather than straight into the computer. USB 3.0 ports, SSDs and the computer's case are known sources of 2.4 GHz interference, and a metre of cable keeps the radio clear of them. Linux names the dongle `/dev/ttyACM0`, with a longer stable name under `/dev/serial/by-id/`.

2. **Watch the Vigiora card**

   Open **System → Integrations → Home Assistant**. Within a minute the **USB devices** row lists the dongle and the **Zigbee** row goes from **Setting up…** to **Ready**: Vigiora sets up Zigbee (ZHA) through Home Assistant's own API, keeping a network already on the stick or forming a new one. If the card shows **New USB device** instead, click **Restart**; if the Zigbee row says **Not set up**, read the reason and click **Set up Zigbee**.

3. **Pair your devices from Vigiora**

   Click **Pair a new device** on the Zigbee row (or on **IoT devices → Zigbee network**). The window stays open for two minutes with a countdown; put each sensor into pairing mode (usually by holding its button for a few seconds). The device appears marked **New**; click **Rename** and name it by place: *Front door contact*, *Hallway motion*, *Bedside button*. You can still pair in Home Assistant's own ZHA page; those devices show up in Vigiora too.

4. **Check what Vigiora reads**

   A device paired through Vigiora shares its useful readings with Vigiora on its own: a door contact as **Door / window**, a motion sensor as **Motion**, plus battery. Open it on the **IoT devices** page to see every reading and change what Vigiora reads it as. A lock, alarm panel or siren is never shared without your say-so.

## Sensors that make a camera look

The quickest way to connect a sensor to a camera is the [bridge](https://vigiora.com/docs/home-assistant/bridge), the direction in which Vigiora uses what Home Assistant knows.

1. In Vigiora, open **System → Integrations → Home Assistant → Devices** and share the door contact with **Read**. Nothing is shared until you do.
2. Open the entrance camera, go to its **AI Guardian** tab, then **Alerts**, and under **Triggers (Home Assistant)** click **Add trigger**: device *Front door contact*, when **Opens**, at most every 120 seconds.

From then on, a Guardian description of the entrance camera starts the moment the door opens, with the door as context, instead of waiting for motion. It counts against your AI allowance like any other description, so keep the cooldown sensible and the triggers to the doors that matter. The same works for a motion sensor where the camera can't see the door, or a button by the bed that makes the gate camera describe what it sees before you get up.

## Alerts that switch a light on

The other way round, a Vigiora alert can act on a Zigbee device through Home Assistant. Share the bulb or plug with **Read + control**, then under an [alert rule](https://vigiora.com/docs/ai/alert-rules) open **Actions (Home Assistant)**, **Add action**, command **Turn on**, and **undo after** 300 seconds. A person at the back door after dark now switches the yard light on for five minutes. Every action is listed under **Recent actions**, with what asked for it and the outcome.

Locks, alarm panels and sirens are **Sensitive**: an AI agent or Guardian chat always needs a person's approval to use them, whatever else is switched off.

## And in Home Assistant itself

The Vigiora integration, which the install set up for you, brings each camera into Home Assistant with a **Camera** entity (snapshot and live video), **Online**, **Motion**, **Person in view**, a **Guardian** event for alerts and scene descriptions, and **Recording** and **AI Guardian** switches. So a Home Assistant automation can work in that direction too: *when the Guardian event reports an alert on the entrance camera, flash the hallway bulb*.

Among its actions, `vigiora.describe_camera` asks Guardian to describe what a camera sees now and returns the text. The key Vigiora created for Home Assistant doesn't include the `guardian:write` scope that this action needs; create a key with it under [API keys](https://vigiora.com/docs/developers/api-keys) if you want to call it from an automation. The full list of entities and actions is in [Vigiora and Home Assistant](https://vigiora.com/docs/home-assistant/overview#what-appears-in-home-assistant).

## A few things to know

- **One coordinator per network.** A Zigbee network has exactly one coordinator, the dongle. Mains-powered devices such as bulbs and plugs act as routers and extend the reach; battery sensors don't.
- **An unplugged dongle.** If you pull the dongle out later, the container may refuse to start because its device is missing. **Start** or **Restart** on the Vigiora card recreates it without the device; plug it back in and restart again to get it back.
- **Updates.** Your Zigbee network, its pairings and names live in Home Assistant's configuration, which Vigiora keeps across updates and moves to a backup folder if you ever uninstall.

## Frequently asked questions

### Does this work with a Home Assistant I run myself?

If you run Home Assistant on another machine or in your own container, the dongle goes into that machine, and ZHA is set up the same way. Vigiora's part, the bridge and the integration, works the same with a [connected Home Assistant](https://vigiora.com/docs/home-assistant/connect-existing).

### Does Vigiora see my Zigbee sensors?

A sensor paired through Vigiora is shared on its own: its readings get **Read**, a plain plug or bulb **Read + control**, a sensitive device nothing until you confirm it. Devices paired elsewhere start as **Not shared** until you share them under **Devices** (the **Home Assistant sharing** tab of the IoT devices page).

### Is the dongle passed through today?

Yes, since Vigiora Server 1.6.19 (4 November 2026): the server passes USB serial dongles into the container and sets up Zigbee for you; see [Zigbee devices](https://vigiora.com/docs/home-assistant/zigbee). Servers update themselves; check **System → Updates** for the version you run.

## Related docs

1. **Install Home Assistant for me**

   Checks, the one-time helper command and the card's buttons: [Install Home Assistant for me](https://vigiora.com/docs/home-assistant/install).

2. **The bridge**

   Sharing devices, triggers and alert actions: [Use Home Assistant devices in Vigiora](https://vigiora.com/docs/home-assistant/bridge).

3. **What Home Assistant gets**

   Entities and actions of the Vigiora integration: [Vigiora and Home Assistant](https://vigiora.com/docs/home-assistant/overview).

All of this is part of Vigiora Server, with no add-on: Home Assistant is free software, and the bridge and the integration come with every plan. If you haven't installed a server yet, [download Vigiora](https://vigiora.com/download) and let it install Home Assistant for you.

---

Source: https://vigiora.com/articles/zigbee-sensors-home-assistant-vigiora · Published 2026-11-04
