Agent SkillsSharpAI/DeepCamera › ha-automation-trigger

ha-automation-trigger

GitHub

该技能用于在 Aegis 检测到活动时向 Home Assistant 触发事件,支持通过 HA 自动化实现开灯、发送通知等动作。

skills/automation/ha-trigger/SKILL.md SharpAI/DeepCamera

触发场景

需要集成 Aegis 检测事件到 Home Assistant 配置基于事件的智能家居自动化流程

安装

npx skills add SharpAI/DeepCamera --skill ha-automation-trigger -g -y
更多选项

非标准路径

npx skills add https://github.com/SharpAI/DeepCamera/tree/master/skills/automation/ha-trigger -g -y

不安装直接使用

npx skills use SharpAI/DeepCamera@ha-automation-trigger

指定 Agent (Claude Code)

npx skills add SharpAI/DeepCamera --skill ha-automation-trigger -a claude-code -g -y

安装 repo 全部 skill

npx skills add SharpAI/DeepCamera --all -g -y

预览 repo 内 skill

npx skills add SharpAI/DeepCamera --list

SKILL.md

Frontmatter
{
    "name": "ha-automation-trigger",
    "version": "1.0.0",
    "parameters": [
        {
            "name": "ha_url",
            "type": "url",
            "group": "Connection",
            "label": "Home Assistant URL",
            "default": "http:\/\/homeassistant.local:8123",
            "required": true
        },
        {
            "name": "ha_token",
            "type": "password",
            "group": "Connection",
            "label": "Long-Lived Access Token",
            "required": true
        }
    ],
    "description": "Fire Aegis detection events in Home Assistant",
    "capabilities": {
        "automation": {
            "script": "scripts\/ha_trigger.py",
            "description": "Fires aegis_detection events in Home Assistant"
        }
    }
}

Home Assistant Automation Trigger

Fires events in Home Assistant when Aegis detects activity. Use HA automations to turn on lights, send notifications, or trigger any HA action.

Example HA Automation

automation:
  trigger:
    - platform: event
      event_type: aegis_detection
  condition:
    - condition: template
      value_template: "{{ trigger.event.data.camera == 'front_door' }}"
  action:
    - service: light.turn_on
      target:
        entity_id: light.porch

Setup

python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt

版本历史

  • 2264fcb 当前 2026-08-20 16:02

同 Skill 集合

skills/analysis/cloud-provider-regression/SKILL.md
skills/analysis/home-security-benchmark/SKILL.md
skills/analysis/homesafe-bench/SKILL.md
skills/analysis/smarthome-bench/SKILL.md
skills/annotation/dataset-annotation/SKILL.md
skills/annotation/dataset-management/SKILL.md
skills/camera-providers/eufy/SKILL.md
skills/camera-providers/tapo/SKILL.md
skills/channels/matrix/SKILL.md
skills/detection/yolo-detection-2026-coral-tpu-macos/SKILL.md
skills/detection/yolo-detection-2026-coral-tpu-win-wsl/SKILL.md
skills/detection/yolo-detection-2026-openvino/SKILL.md
skills/detection/yolo-detection-2026/SKILL.md
skills/integrations/homeassistant-bridge/SKILL.md
skills/segmentation/sam2-segmentation/SKILL.md
skills/training/model-training/SKILL.md
skills/transformation/depth-estimation/SKILL.md
skills/automation/mqtt/SKILL.md
skills/automation/webhook/SKILL.md
skills/camera-providers/reolink/SKILL.md
skills/channels/line/SKILL.md
skills/channels/signal/SKILL.md
skills/streaming/go2rtc-cameras/SKILL.md

元信息

文件数
0
版本
2264fcb
Hash
7a1a4263
收录时间
2026-08-20 16:02

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-16 22:03
浙ICP备14020137号-1