Agentdvr Api Today
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.
curl "http://localhost:8090/video/2/record?0" Run this command in your browser or terminal: agentdvr api
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: curl "http://localhost:8090/video/2/record
http://YOUR_AGENT_IP:8090/
http://localhost:8090/status For commands with parameters, use your browser’s address bar or curl : and alerts—using simple HTTP requests.
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.