Vigiora

Această pagină nu este încă disponibilă în Română. Este afișată în engleză.

Add-ons, AI Tools and the Tool Log

Manage the add-ons running for your cameras, give the AI tools to call your own systems, and check every tool call it made.

În aplicație: /tools

Three pages in Settings control what the AI runs and what it can do:

PageWhat it's forWho can open it
Add-ons (Settings → AI and add-ons)The add-ons running for your cameras, and which cameras each one serves. Called HAL before version 1.7.0.Admins and operators
AI Tools (Settings → Cameras and recording → Speakers, sirens and lights)Functions the AI may call: your own REST APIs or Home Assistant.Admins
Tool Log (Settings → AI and add-ons → Tool log)Every tool call the AI or an operator made, and its result.Admins

Add-ons#

An add-on is one AI module that works on your cameras. It runs on your server, on its GPU, on an edge device such as a Jetson, or on another machine. Before version 1.7.0 the app called add-ons Runners, HAL services and Vision Engine. The old addresses /hal and /runners open the Add-ons page. The API keeps the older names (runners and the hal-… service codes) for compatibility.

Add-ons do the AI work. Vigiora has two kinds:

  • Built-in add-ons run inside your server: core-ai (Core AI), motion-detect (Motion detection), hal-video (AI scene alerts), hal-audio (Voice detection) and hal-live (AI live watch); before 1.6.19 the last three were gemini-video, gemini-audio and gemini-live.
  • Installed add-ons run as separate programs, often on a machine with a GPU, and connect to your server by themselves. The four Vigiora add-ons are Objects (hal-objects, a preview from version 1.6.10), Plates (hal-license-plate), Faces (hal-face) and Vision. Others are people counting (hal-tracker), weapons (hal-weapon) and smart motion (hal-smart-motion).

What each add-on does, how to install one and how object recognition works: Add-ons and object recognition. Every add-on card shows a Free or Paid label.

Each add-on shows whether it's running and which cameras it serves.

Assign cameras to an add-on#

  1. Open Add-ons

    Open Settings → AI and add-ons → Add-ons.

  2. Pick cameras

    On the add-on's card, click camera chips under Assigned monitors to add or remove them.

  3. Save

    Click Save.

This is the same as switching the add-on on or off in each camera's AI Guardian tab. Plan limits apply either way.

Add-on controls#

ControlDescriere
Stop / StartStop or start the add-on's workers. The process stays alive. Takes effect within about 30 seconds.
RestartRestart the add-on process.
RevokeRevoke the add-on's access token. An installed add-on enrols again on its next restart.
Tuning configAdd-on-wide settings, when the add-on has any.

Click an add-on to open its detail page: system metrics, assigned cameras with detections per hour, and recent events.

The detail page helps you check that an add-on is actually producing results.

Connect a new add-on#

The install page does this for you. An add-on you start yourself enrols itself the first time it starts, using your server's enrolment key. The installer doesn't create one: an admin sets VIGIORA_ENROLL_KEY in the server's settings file (/etc/vigiora.env on Linux) and restarts the server. Until an add-on enrols, the page shows No add-ons installed yet.

AI Tools#

AI Tools let Guardian chat and AI live watch call your own systems: look up a product, read a sensor, switch on a light. The AI decides when to call a tool from its description.

AI Tools lists every function the AI can call.

Add a REST API tool#

  1. Open AI Tools

    Open Settings → Cameras and recording → Speakers, sirens and lights, find AI Tools, then click New tool.

  2. Describe it

    Fill in the name, display name and description. Be specific in the description: the AI uses it to decide when to call the tool.

  3. Set the request

    Choose the Method and enter the URL template. Put parameters in braces, for example https://api.example.com/products?q={query}.

  4. Describe the parameters

    Fill in Parameters as a JSON schema, and Headers if the API needs a key.

  5. Test it

    Enter sample values in Test args (JSON), for example {"query":"ibuprofen"}, and click Test call. Check the result.

  6. Save

    Tick Enabled and click Save.

FieldDescriereImplicit
TypeREST API or Home Assistant.REST API
Tool nameThe function name the AI calls. Use snake_case, e.g. search_products.—
Display nameThe name people see in the app and the Tool Log.—
DescriptionTells the AI what the tool does and when to use it.—
MethodGET or POST.GET
URL templateAn http or https address. Parameters go in braces and are URL-encoded.—
ParametersJSON schema of the arguments the AI must supply.—
HeadersJSON object of request headers. May include API keys for the target service.—
AI Live scopeLeave all cameras unticked to make the tool available everywhere. Tick cameras to limit it to AI live watch on those cameras. Guardian chat can always use it.Global
EnabledUntick to hide the tool from the AI without deleting it.On

Add a Home Assistant tool#

Home Assistant tools run on the Vigiora Client next to Home Assistant.

  1. Start from the preset

    On AI Tools, click Home Assistant.

  2. Choose a capability

    Pick Read entity state (ha_get_state) or Call a service (ha_call_service).

  3. Connect Home Assistant

    Enter the Base URL, for example http://homeassistant.local:8123, and a Long-Lived Access Token. Create the token in Home Assistant under your profile → Security → Long-Lived Access Tokens.

  4. Save

    Click Save, then try it from Guardian chat or AI live watch. Home Assistant tools can't be test-called from the form.

Tool Log#

The Tool Log lists every tool execution — Home Assistant, external APIs, camera movement (PTZ) and speakers — with its outcome.

Filter by result or by tool to find failed calls.
ColumnMeaning
WhenTime of the call.
ToolThe tool that was called.
Sourceai when the AI called it, operator when a person did.
Resultok, warning or error, with details.

The counters at the top show errors and warnings in the last 24 hours. Filter by result (all, error, warning, ok) or by tool name, and click Refresh to load new calls.

Editează această pagină pe GitHub