# Mqtt Automation

Publish Aegis events to MQTT broker

- Repository: https://github.com/SharpAI/DeepCamera (3124 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-09-17
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add SharpAI/DeepCamera --skill mqtt-automation -g -a claude-code -y`
Codex: `npx skills add SharpAI/DeepCamera --skill mqtt-automation -g -a codex -y`
Cursor: `npx skills add SharpAI/DeepCamera --skill mqtt-automation -g -a cursor -y`
Gemini CLI: `npx skills add SharpAI/DeepCamera --skill mqtt-automation -g -a gemini-cli -y`

## Description

Publish Aegis events to MQTT broker

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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

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

