Agentdvr Api File

curl "http://localhost:8090/video/2/record?0" Run this command in your browser or terminal:

curl "http://localhost:8090/video/1/alert" The Agent DVR API transforms a standard NVR into a programmable, event-driven security system. While it lacks polished documentation, the endpoints are logical and reliable. Start with simple snapshot or record commands, then build up to complex automations. agentdvr api

http://localhost:8090/file/CAMERA_NUM/path/to/recording.mp4 ✅ 1. Home Assistant Integration Add this to your configuration.yaml : curl "http://localhost:8090/video/2/record

http://localhost:8090/list/CAMERA_NUM?year=2024&month=3&day=15 This returns JSON with file paths and timestamps. You can then download a file using: http://localhost:8090/file/CAMERA_NUM/path/to/recording

import requests snapshot = requests.get("http://localhost:8090/video/1/snapshot") bot_token = "YOUR_BOT_TOKEN" chat_id = "YOUR_CHAT_ID" files = "photo": ("alert.jpg", snapshot.content) requests.post(f"https://api.telegram.org/botbot_token/sendPhoto?chat_id=chat_id", files=files) Using Node-RED or ESPHome: when a magnetic door sensor opens, send:

Always test new commands on a non-critical camera first, and never expose the API raw to the internet. Have a specific integration in mind? Visit the iSpyConnect user forum—the community has already solved most API puzzles.

Agent DVR (from iSpyConnect) is a powerful, cross-platform video surveillance solution. While its web interface is intuitive for manual control, its true potential lies in the Agent DVR API . This interface allows you to control every aspect of your system—cameras, recording, motion detection, and alerts—using simple HTTP requests.