Vigiora

本文暂无简体中文版本,以下为英文原文。

One Vigiora server, several Home Assistants: home and shop together

Vigiora works with Home Assistant in both directions. Since Vigiora Server 1.6.16, one Vigiora server can also connect several Home Assistant instances, for example one at home and one in the shop. How it works, what each direction needs, and how to keep it tidy.

· 阅读约需 4 分钟 · 以 Markdown 查看

分享
The Integrations tab of the System page with the Home Assistant card, its Set up and Devices tabs, and the checks to install Home Assistant on the server

Many people who run a small business also run Home Assistant twice: once at home, for the lights, the heating and the alarm, and once at the shop, for the shutter, the sign and the door contacts. Their cameras, meanwhile, often sit on one Vigiora server. Until now, that server could talk to one Home Assistant. Since Vigiora Server 1.6.16, it can connect several.

Two directions, two connections#

Vigiora works with Home Assistant both ways, and it helps to keep them apart:

  • Vigiora → Home Assistant. The Vigiora integration, installed in Home Assistant, brings your cameras, motion, people in view, Guardian alerts and scene descriptions into Home Assistant for dashboards and automations. Home Assistant connects to Vigiora, with a Vigiora API key.
  • Home Assistant → Vigiora. The bridge lets Vigiora use devices Home Assistant knows: door contacts and motion sensors as AI context and triggers, lights, sirens and notifications as alert actions. Vigiora connects to Home Assistant, with a token from Home Assistant.

Several instances are about the second direction: the bridge.

What changes with several instances#

Under System → Integrations → Home Assistant, the Devices tab lists your Home Assistant instances by name, each with its status. For each one you can:

  • add it with its address and a long-lived access token, and test the connection;
  • rename it, for example Home and Shop;
  • choose what Vigiora may use, device by device, separately per instance;
  • disconnect, disable or remove it without touching the others.

Each instance has its own connection and reconnects on its own if that Home Assistant restarts. A power cut at the shop doesn't affect the devices at home.

Wherever you pick a device, in camera triggers, room signals, alert rule actions, the Recent actions log and pending approvals, the instance name comes with it. Shop: front door contact can't be confused with Home: front door contact.

With a single Home Assistant, nothing looks different.

A home and a shop, in practice#

Here is how the pieces fit together for someone with cameras at home and in a shop on one server:

  • At the shop, the door contact is shared with Read. A camera trigger starts a Guardian description of the shop door camera as soon as the door opens after closing time, with the change as context.
  • At home, the porch light is shared with Read + control. An alert rule on the gate camera turns it on when a person is at the gate after dark, and turns it back off after 5 minutes with undo after.
  • In both places, a notification service sends a message to your phone through Home Assistant, in addition to Vigiora's own push notifications.

Locks, alarm panels and sirens stay marked Sensitive in every instance: an AI agent or Guardian chat always needs a person's approval to use them.

The network question#

Home Assistant runs on your own network, and Vigiora's site address and remote access don't reach it. For the bridge, the Vigiora server must reach each Home Assistant's address directly, the way a computer on the same network would.

  • A shop with a flat above it, or a house with an outbuilding, on one network: nothing extra to do.
  • A shop and a home on separate internet connections: the server needs a network link to the other site that you manage yourself, such as a site-to-site VPN between the two routers. Without it, connect the bridge only to the Home Assistant on the server's own network.

The other direction is easier. The Vigiora integration in a Home Assistant can connect to the server's local address, or to your site address, https://yourname.vigiora.com, from anywhere. Create an API key for each Home Assistant under API keys, so you can revoke one without the other.

Keep it tidy#

  • Name instances by place, not by machine: Home, Shop, Workshop.
  • Share only what a rule needs. Every device starts as Not shared.
  • Leave human in the loop on until your rules have run for a while. Risky actions then wait for an approval instead of running.
  • Check Recent actions after the first week. It lists every action, what asked for it and the outcome.

Frequently asked questions#

Can I use several Home Assistants today?#

Vigiora Server 1.6.13 and later connect one Home Assistant. Several instances are supported since 1.6.16.

Does each Home Assistant need its own Vigiora server?#

No. One Vigiora server can carry cameras from several places and, since 1.6.16, connect a Home Assistant in each of them.

Do I have to install Home Assistant myself?#

No. On Linux, Vigiora can install Home Assistant for you on the server with one click, or connect one you already run. See Install Home Assistant for me.

  1. Overview

    What the integration and the bridge do: Vigiora and Home Assistant.

  2. The bridge

    Devices, triggers and actions: Use Home Assistant devices in Vigiora.

  3. Connect your own

    Add the Vigiora integration to Home Assistant: Connect your own Home Assistant.

分享

用你自己的摄像头试试

Vigiora Server 免费,摄像头数量不限。推广期间 2 个摄像头的 AI 免费。一条命令即可装到 Linux 机器上。