Agent Skills
› SharpAI/DeepCamera
› mqtt-automation
mqtt-automation
GitHub将SharpAI Aegis摄像头事件发布至MQTT代理,支持与Home Assistant、Node-RED等自动化平台集成。
Trigger Scenarios
需要将Aegis分析结果(如人形检测、警报)推送至智能家居或自动化系统
配置基于MQTT的事件驱动自动化流程
Install
npx skills add SharpAI/DeepCamera --skill mqtt-automation -g -y
SKILL.md
Frontmatter
{
"name": "mqtt-automation",
"version": "1.0.0",
"parameters": [
{
"name": "broker",
"type": "string",
"group": "Connection",
"label": "MQTT Broker",
"default": "localhost",
"required": true
},
{
"name": "port",
"type": "number",
"group": "Connection",
"label": "Port",
"default": 1883
},
{
"name": "username",
"type": "string",
"group": "Connection",
"label": "Username"
},
{
"name": "password",
"type": "password",
"group": "Connection",
"label": "Password"
},
{
"name": "topic_prefix",
"type": "string",
"group": "MQTT",
"label": "Topic Prefix",
"default": "aegis"
},
{
"name": "events",
"type": "string",
"group": "MQTT",
"label": "Events to Publish",
"default": "clip_completed,person_detected,alert",
"description": "Comma-separated event types"
}
],
"description": "Publish Aegis events to MQTT broker",
"capabilities": {
"automation": {
"script": "scripts\/mqtt_publish.py",
"description": "Publishes Aegis events to MQTT topics"
}
}
}
MQTT Automation
Publishes SharpAI Aegis events to an MQTT broker. Integrate with Home Assistant, Node-RED, or any MQTT-compatible automation platform.
Events Published
| Event | Topic | When |
|---|---|---|
clip_completed |
aegis/{camera_id}/clip_completed |
New clip analyzed |
person_detected |
aegis/{camera_id}/person_detected |
Person identified |
alert |
aegis/{camera_id}/alert |
Smart alert triggered |
camera_offline |
aegis/{camera_id}/camera_offline |
Camera stops responding |
Setup
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
Version History
- 2264fcb Current 2026-08-20 16:02


