Agentdvr Api -
# Start recording on camera 2 curl "http://localhost:8090/video/2/record?1" curl "http://localhost:8090/video/1/snapshot" --output snapshot.jpg Trigger a manual alert on camera 3 curl "http://localhost:8090/video/3/alert" 2. System Commands | Action | API Endpoint | |--------|---------------| | Get system status | /status | | List all cameras | /get cameras | | List recent events | /events?limit=10 | | Reboot Agent DVR | /shutdown (use with caution) | 3. Retrieving Recordings To get a list of recordings for a specific camera:
Whether you want to build a custom dashboard, integrate with Home Assistant, or trigger recordings from a separate sensor, the API is your key. Agent DVR runs a local web server (typically on port 8090). The API is a set of URLs that accept GET and POST commands. You don't need special libraries; any tool that can make an HTTP request (cURL, Python, Node-RED, IFTTT webhooks) will work. agentdvr api
http://localhost:8090/file/CAMERA_NUM/path/to/recording.mp4 ✅ 1. Home Assistant Integration Add this to your configuration.yaml : Agent DVR runs a local web server (typically on port 8090)