automation-and-integrations
Guides Viseron MQTT/Home Assistant automation, webhooks, notifications, Telegram/PTZ control, events, templates, and integration troubleshooting.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- automation-and-integrations
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Guides Viseron MQTT/Home Assistant automation, webhooks, notifications, Telegram/PTZ control, events, templates, and integration troubleshooting.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/events-and-templates.md7.1 KB
- 参考文档references/mqtt-and-home-assistant.md7.0 KB
- 参考文档references/troubleshooting.md9.4 KB
- 参考文档references/webhooks-notifications-and-ptz.md9.8 KB
03 SKILL.md 正文
Automation and Integrations
Use this sub-skill when the user needs Viseron to publish automation state, trigger external actions, send notifications, control cameras from Telegram, or reason about system events and Jinja template conditions.
Route by task
- MQTT, Home Assistant discovery, MQTT state topics, manual recording switches, or external MQTT motion input: read MQTT and Home Assistant.
- Webhook delivery, HTTP headers/auth/TLS, Discord/Gotify/Telegram notifications, Telegram commands, or ONVIF PTZ control: read webhooks, notifications, and PTZ.
- Event names, data-stream topics, webhook template context, or Jinja condition behavior: read events and templates. Use scripts/render_template_condition.py to test a condition or payload locally before applying it to a live config.
- Entities missing, webhooks overfiring, notifications not sent, Telegram commands denied, PTZ not moving, or template errors: read troubleshooting.
Boundaries
This sub-skill owns automation outputs and control surfaces: MQTT/Home Assistant discovery, webhooks, Discord/Gotify/Telegram notifications, Telegram/PTZ commands, Viseron event names, data-stream topics, and Jinja template conditions.
Route detailed detector label semantics, masks, zones, and model choices to detection-and-ai-components. Route camera stream setup, recorder internals, storage tiers, and clip lifecycle to camera-recording-pipeline. Route global deployment, webserver authentication/API basics, secrets, and startup validation to configuration-and-deployment. Route writing or extending integration components to developer-extension.
Safe operating defaults
- Redact tokens, webhook URLs, chat IDs, basic-auth credentials, ONVIF passwords, and broker credentials in user-visible output.
- Treat MQTT brokers, webhook targets, Discord/Gotify/Telegram services, Telegram bots, ONVIF cameras, and public image URLs as external requirements unless the user explicitly asks for live verification.
- Validate event names and Jinja conditions locally before enabling an action that could send messages or move a camera.
- Prefer exact camera identifiers and explicit label lists in automation filters; do not infer detector label behavior beyond the event payload and notifier filter rules documented here.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.