![]() ![]() | 8 Mar 2026 |
|
|
Agentdvr Api Info# 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: curl "http://localhost:8090/video/2/record?0" Run this command in your browser or terminal: 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. Agent DVR runs a local web server (typically on port 8090) curl "http://localhost:8090/video/2/record?1" And when it closes 30 seconds later: curl "http://localhost:8090/video/2/record http://localhost:8090/file/CAMERA_NUM/path/to/recording.mp4 ✅ 1. Home Assistant Integration Add this to your configuration.yaml : http://localhost:8090/status For commands with parameters, use your browser’s address bar or curl : 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. Click here to go back to Copam Electronic Co. Ltd. list.
|
Copyright and Terms of Use, © 2000- Printer-Drivers.com. All rights reserved.
Do not copy or redistribute in any form