Agentdvr Api -

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.

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. agentdvr api

curl "http://localhost:8090/video/2/record?1" And when it closes 30 seconds later:

http://localhost:8090/status For commands with parameters, use your browser’s address bar or curl : Whether you want to build a custom dashboard,

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

http://localhost:8090/file/CAMERA_NUM/path/to/recording.mp4 ✅ 1. Home Assistant Integration Add this to your configuration.yaml : You don't need special libraries; any tool that

Example: http://192.168.1.100:8090/ By default, the API is open on your local network. For remote access, use a VPN or reverse proxy with authentication. Do not expose port 8090 directly to the public internet. Authentication (If Enabled) If you have set a username/password in Agent DVR, you must include it with every API call.