- Agent DVR
- Configuration
- Alarm Control Panel
- Services
- Service enable_alerts/disable_alerts
- Service start_recording/stop_recording
- Service turn_on/turn_off/toggle
- IFrame
- Help us to improve our documentation
- Categories
- On this page
- Saved searches
- Use saved searches to filter your results more quickly
- License
- ispysoftware/agent-install-scripts
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- About
- Running Agent DVR Video Surveillance Platform in Docker
- Installing Docker
- Running the Agent DVR Container
- Share this:
Agent DVR
Agent DVR is a free* software DVR solution for windows 10, Mac and Linux. Agent DVR runs as a service or console application and can access and control a huge range of third party cameras with advanced motion detection, including DeepStack integration for object recognition. The iSpyConnect website provides secured (SSL) remote access without port forwarding needed.
You can add Agent DVR via integrations using the IP address and port of the server, e.g. http://192.168.1.3:8090/ .
Configuration
Adding Agent DVR to your Home Assistant instance can be done via the user interface, by using this My button:
If the above My button doesn’t work, you can also perform the following steps manually:
- Browse to your Home Assistant instance.
- Go to Settings > Devices & Services.
- In the bottom right corner, select the Add Integration button.
- From the list, select Agent DVR.
- Follow the instructions on screen to complete the setup.
Alarm Control Panel
Reports on the current alarm status and can be used to arm and disarm the system.
Services
Once loaded, the agent_dvr integration will expose services that can be called to perform various actions. The entity_id service attribute can specify one or more specific cameras.
Available services: enable_alerts , disable_alerts , start_recording , stop_recording , turn_on , turn_off , toggle , enable_motion_detection , disable_motion_detection
Service enable_alerts/disable_alerts
These services enable or disable the device’s alert events within Agent DVR.
Service data attribute | Optional | Description |
---|---|---|
entity_id | no | Name(s) of entities, e.g., camera.living_room_camera . |
Service start_recording/stop_recording
These services start or stop the device recording.
Service data attribute | Optional | Description |
---|---|---|
entity_id | no | Name(s) of entities, e.g., camera.living_room_camera . |
Service turn_on/turn_off/toggle
These services turn on, off or toggle the device enabled state within Agent DVR
Service data attribute | Optional | Description |
---|---|---|
entity_id | no | Name(s) of entities, e.g., camera.living_room_camera . |
IFrame
- Using the Webpage Card you can embed the Agent DVR viewer directly in Home Assistant. Just point it to https://www.ispyconnect.com/app/
*Agent offers additional services like secured remote access (without port forwarding) and cloud uploads via a subscription service.
Help us to improve our documentation
The Agent DVR integration was introduced in Home Assistant 0.110, and it’s used by 607 active installations. Its IoT class is Local Polling.
Categories
On this page
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Setup scripts for Agent DVR
License
ispysoftware/agent-install-scripts
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
Scripted installs for Agent DVR on OSX, Linux and Raspberry Pi
Setup scripts for Agent DVR on macOS/ Linux For Windows download the installer from the website For Docker see the download page below
You may need to install curl first:
To install on OSX (Requires: OSX >= 10.14) or Linux (x64, arm and raspberry pi) open a terminal and call:
If you have a license or a subscription you can update Agent to the latest version by clicking on the server menu and «Update Agent» (will only appear if an update is available).
To update Agent manually follow the following steps:
Backup your configuration (just in case!) — copy the xml files in Agent/Media/XML somewhere
sudo systemctl stop AgentDVR.service
sudo launchctl unload -w /Library/LaunchDaemons/com.ispy.agent.dvr.plist
Download the latest version (will detect your platform)
Unzip that over the existing install location to update (it won’t erase your config). When it is unzipped, change to the Agent directory and run
sudo systemctl start AgentDVR.service
sudo launchctl load -w /Library/LaunchDaemons/com.ispy.agent.dvr.plist
When Agent is installed you can access it on the local computer at http://localhost:8090
If Agent doesn’t start or you want to run Agent manually (provides console output for debugging):
Known Issues:
On Raspberry Pi please ensure you are using a recent OS — older versions of Raspbian do not support modern SSL certificates.
About
Setup scripts for Agent DVR
Running Agent DVR Video Surveillance Platform in Docker
Agent DVR (our next gen version of iSpy) is a super advanced video surveillance platform for Windows, macOS, Linux, Raspberry Pi and Docker. Agent has a unified user interface that runs on all modern computers, mobile devices and even Virtual Reality. –https://www.ispyconnect.com/download.aspx
Installing Docker
# install prerequisites
sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y
# add docker gpg key
curl -fsSL https://download.docker.com/linux/$(awk -F’=’ ‘/^ID=/< print $NF >‘ /etc/os-release)/gpg | sudo apt-key add –
# add docker software repository
sudo add-apt-repository «deb [arch=$(dpkg –print-architecture)] https://download.docker.com/linux/$(awk -F’=’ ‘/^ID=/< print $NF >‘ /etc/os-release) $(lsb_release -cs) stable»
# install docker
sudo apt install docker-ce docker-compose containerd.io -y
# enable and start docker service
sudo systemctl enable docker && sudo systemctl start docker
# add the current user to the docker group
sudo usermod -aG docker $USER
# reauthenticate for the new group membership to take effect
su – $USER
Running the Agent DVR Container
- Now that Docker is installed, run the following commands to setup the Agent DVR Docker container and run it
# create working directory structure
mkdir ~/docker/agentdvr/ -p
# set ownership on the working directories
sudo chown «$USER»:»$USER» ~/docker -R
# run the agentdvr container
docker run -d –name=agentdvr -p 8090:8090 -p 3478:3478/udp -p 50000-50010:50000-50010/udp -v ~/docker/agentdvr/config/:/agent/Media/XML/ -v ~/docker/agentdvr/media/:/agent/Media/WebServerRoot/Media/ -v ~/docker/agentdvr/commands/:/agent/Commands/ -e TZ=America/New_York doitandbedone/ispyagentdvr
Share this:
- Click to share on Twitter (Opens in new window)
- Click to share on Facebook (Opens in new window)
- Click to print (Opens in new window)
- Click to share on LinkedIn (Opens in new window)
- Click to share on Reddit (Opens in new window)
- Click to share on Tumblr (Opens in new window)
- Click to share on Pinterest (Opens in new window)
- Click to share on Pocket (Opens in new window)
- Click to share on Telegram (Opens in new window)
- Click to share on WhatsApp (Opens in new window)
- Click to email a link to a friend (Opens in new window)