Vigiora

此页面暂无简体中文版本,以英文显示。

Connect your own Home Assistant自 1.6.13 起

Add the Vigiora integration to a Home Assistant you already run, with an API key Vigiora creates for it.

在应用中: /system/integrations

If Home Assistant already runs on your network, connect it rather than installing a second one. Vigiora finds it, creates an API key for it, and shows the steps to add the Vigiora integration.

Find your Home Assistant#

Open Settings → System → Integrations → Home Assistant (admins only). On the Set up tab, Vigiora shows Looking for Home Assistant on your network… and searches in two ways:

  • it asks the network for Home Assistant's announcement (mDNS);
  • it tries port 8123 on this server and on every device the camera search saw on the network, and checks that each answer really is Home Assistant.

Each one found is listed under Home Assistant found on your network:. Click Search again if you just started it.

Connect it#

  1. Connect

    Next to your Home Assistant, click Connect to this Home Assistant.

  2. Copy the API key

    Vigiora creates an API key named Home Assistant (local) and shows it under API key for Home Assistant (shown only once), with the Vigiora address to use. Copy both now; the key isn't shown again.

  3. Add the Vigiora integration to Home Assistant

    The card lists the steps for your setup: add the integration to Home Assistant through HACS as a custom repository (type Integration, the address is shown in the steps), download Vigiora, then restart Home Assistant (Settings → System → Restart).

  4. Add the integration

    In Home Assistant, go to Settings → Devices & services → Add integration and choose Vigiora.

  5. Enter the address and key

    Enter the Vigiora address and the API key (below), then submit. Your cameras appear as devices.

The integration asks for:

FieldWhat to enter
Server URLThe Vigiora address the card showed, for example http://192.0.2.10:8080 on your network, or your site address https://yourname.vigiora.com.
API keyThe key the card showed, starting with vgk_.
Verify the TLS certificateOn by default. Turn it off for an http address, or for a server with a self-signed certificate on your network.

The key has the scopes listed in The API key and its scopes. Read Human in the loop before you use the switches, speak or PTZ from Home Assistant.

After connecting#

The card then says Connected to your Home Assistant at …. From there:

  • Create a new API key makes a new key and revokes the old one. Use it if the key was lost or leaked; Home Assistant then asks you to sign in to the integration again with the new key.
  • Disconnect revokes the key, so the Vigiora integration in Home Assistant stops working.

When the key stops working (revoked or expired), Home Assistant marks the Vigiora integration as needing attention and asks for a new API key. Enter one there; your entities and automations stay as they were.

To choose which cameras and events appear, open Settings → Devices & services → Vigiora → Configure in Home Assistant. See Options.

在 GitHub 上编辑此页