Vigiora

Den här sidan finns ännu inte på Svenska. Den visas på engelska.

IntegrationsSedan 1.6.15

Connect Vigiora to Home Assistant, an MQTT broker, Telegram, LINE, webhooks and AI assistants from one page.

I appen: /system/integrations

Settings → System → Integrations gathers everything Vigiora connects to. Each card shows its status (Connected, Not set up, Needs attention or Coming soon) with a short detail, such as a version, a count or the last error, and a button to Set up, Manage or Open it.

The Integrations page.

Admins set integrations up. From version 1.6.15, operators see the page too, read-only.

CardWhat it doesWhere it leads
Home AssistantInstall Home Assistant next to the server or connect yours, and use its devices with your cameras.Home Assistant
MQTTPublishes camera state and events to an MQTT broker; Home Assistant finds them by itself.MQTT below
TelegramSends alerts with the picture to a Telegram chat or group through your bot.Telegram below
LINESends alerts to a LINE user, group or room through your Messaging API channel.LINE below
WebhooksPOSTs events to your own systems, signed, with retries.Webhooks
API keys & MCPKeys for scripts and connected apps, and the MCP server for AI assistants.API keys
Cloudflare tunnelFaster remote access through Cloudflare. Shown only where the server offers it.Cloudflare
Roger RACS 5Doors and alarm zones of a Roger access control system next to your cameras; unlock a door from the camera view. Early access, from 1.17.0.Roger RACS 5
Object detectorThe object recognition add-on that watches your cameras. Connected when one reported in the last 40 seconds.Add-ons

Under Coming later are integrations not available yet: Google Home / Alexa, Slack, Discord and Email reports.

Each card has its own address, such as /system/integrations/telegram, so you can bookmark it or send a link.

MQTT#

Vigiora keeps each camera, room and Analytics area up to date on your MQTT broker, with retained state and every event. With MQTT discovery, Home Assistant creates the matching entities by itself: motion, person and online sensors per camera, occupancy and visitors per area, and the number of unacknowledged alerts. It runs inside the server: there is nothing else to install.

  1. Open MQTT

    Open Settings → System → Integrations and click Set up on MQTT.

  2. Enter the broker

    Enter the Broker address, such as mqtt://192.0.2.30:1883 (mqtts:// for TLS, or ws:// and wss://). Home Assistant's Mosquitto add-on listens on port 1883. Put the Username and Password in their own fields, not in the address.

  3. Turn it on

    Switch on Publish to MQTT, then Save. Announce cameras to Home Assistant (MQTT discovery) is on by default; turn it off if you don't use Home Assistant.

  4. Check it

    The status turns Connected and counts the things published. Send test message publishes a test on the broker.

AlternativBeskrivningStandard
Topic prefixThe first part of every topic.vigiora
Server id in topicsIdentifies this server in the topics.this server’s name
Client idThe MQTT client id.Automatic
Quality of serviceat most once, at least once or exactly once.at most once
Check the broker’s TLS certificateFor mqtts:// and wss://. Turn off only for a broker with a self-signed certificate you trust.On
Discovery prefixWhere Home Assistant looks for discovery messages.homeassistant
Allow control from MQTTLets commands on the broker switch recording and AI and set room AI modes, as you. Home Assistant then also gets switches.Off

Topics are under <prefix>/<server id>:

TopicWhat it carries
…/statusonline or offline (retained).
…/things/<id>/stateThe state of a camera, room or area as JSON (retained).
…/eventsEvery event, such as alerts and Guardian descriptions.
…/things/<id>/cmdCommands, only with Allow control from MQTT. The result comes back on …/cmd/result.

The password is stored encrypted and never shown again. If the status says This server has no key to store the password, run the installer again on the server.

Telegram#

Alert rules can send their alerts to Telegram: the camera, what happened, the time and the severity, with the picture.

  1. Create a bot

    In Telegram, talk to @BotFather and send /newbot. It gives you a token like 123456789:AA….

  2. Find the chat ids

    Send your bot a message, then open https://api.telegram.org/bot<token>/getUpdates in a browser to read your chat id. A group id is negative; a channel can be @yourchannel. Add the bot to the group or channel.

  3. Set it up in Vigiora

    Open Settings → System → Integrations → Telegram. Paste the Bot token, enter the Chat ids, one per line (up to 10), switch on Send alerts to Telegram and Save.

  4. Test it

    Click Send test message. Every chat should get it.

  5. Choose the alert rules

    In each alert rule that should go to Telegram, tick Send to Telegram. See Alert rules and Analytics alerts.

LINE#

  1. Get a channel access token

    In the LINE Developers console, open your Messaging API channel → Messaging API → Channel access token (long-lived).

  2. Find the recipients

    Recipient ids start with U (a user who added the bot), C (a group) or R (a room) and are 33 characters long. Your own user id is in the console under Basic settings.

  3. Set it up in Vigiora

    Open Settings → System → Integrations → LINE. Paste the Channel access token, enter the User, group or room ids, one per line (up to 10), switch on Send alerts to LINE and Save. Send test message checks it.

  4. Choose the alert rules

    Tick Send to LINE in the alert rules that should go there.

Pictures in chat alerts#

From version 1.6.16, Send the picture with each alert decides whether Telegram and LINE alerts include the picture of the moment.

  • Telegram gets the picture itself.
  • LINE can only show pictures from a public address. Vigiora makes a picture link for each alert, valid 7 days, on your site address. While remote access is off, LINE gets the text only.

Picture links are listed with your share links, where you can revoke them.

Limits and privacy#

  • Each service sends at most 20 messages a minute. Alerts beyond that are counted, and one summary such as "and 3 more alerts in the last minute" follows when the minute is over.
  • Bot tokens and channel tokens are stored encrypted, never shown again, and never written to logs. Leave the field empty to keep the stored one, or click Remove the stored one.
  • Vigiora talks only to api.telegram.org and api.line.me.
  • Messages leave your server for Telegram's or LINE's servers. Choose carefully which rules send there.

With the API: /api/v1/integrations/mqtt, /telegram and /line (settings:read, settings:write). Their tokens and passwords can be set but never read back.

Redigera sidan på GitHub