Agent Skills
› SharpAI/DeepCamera
› ha-automation-trigger
ha-automation-trigger
GitHub该技能用于在 Aegis 检测到活动时向 Home Assistant 触发事件,支持通过 HA 自动化实现开灯、发送通知等动作。
触发场景
需要集成 Aegis 检测事件到 Home Assistant
配置基于事件的智能家居自动化流程
安装
npx skills add SharpAI/DeepCamera --skill ha-automation-trigger -g -y
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


