- Документація
- Home Assistant
- Connect your own Home Assistant
Ця сторінка ще недоступна мовою «Українська». Її показано англійською.
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#
Connect
Next to your Home Assistant, click Connect to this Home Assistant.
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.
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).
Add the integration
In Home Assistant, go to Settings → Devices & services → Add integration and choose Vigiora.
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:
| Field | What to enter |
|---|---|
| Server URL | The 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 key | The key the card showed, starting with vgk_. |
| Verify the TLS certificate | On 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.