Mqtt Automation

Publish Aegis events to MQTT broker

sharpai 41bf1ff 3 files · 3.3 KB Updated

File contents

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

sharpai/deepcamera/tree/main/skills/automation/mqtt commit 41bf1ffb1e

Frequently asked questions

npx skillmds@latest add sharpai/mqtt-automation