New docker-compose.yml for idisposable's Wyze-bridge version 3.12.3

Created video demonstrating the use of Wyze video CAM v3 in Agent DVR using https://github.com/IDisposable/docker-wyze-bridge

Video description includes detailed --how to use docker-compose.yml from https://github.com/IDisposable/docker-wyze-bridge/issues/88

Video: https://youtu.be/N93vWAGRemU

New: Working Wyze-Bridge, docker-compose.yml for idisposable’s docker-wyze-bridge 3.12.3.
No firmware requirements or firmware flashing; still keep current Wyze firmware.

Getting Started with Docker on Raspberry Pi (for Wyze Bridge)

If you’re new to Docker, don’t worry—it’s easier than it looks! Docker lets you run applications in containers, which are like lightweight, self-contained packages that include everything needed to run the software.

Connecting to Your Raspberry Pi with PuTTY (Windows)

Before we install Docker, you’ll need to connect to your Raspberry Pi remotely using SSH.

First, enable SSH on your Raspberry Pi. If you have a monitor connected, go to Raspberry Pi Configuration and enable SSH. If you’re doing a headless setup, create an empty file named ssh (no extension) in the boot partition of your SD card before first boot.

Download and install PuTTY from putty.org if you don’t have it already.

Open PuTTY and enter your Raspberry Pi’s IP address in the “Host Name” field. You can find the IP address by checking your router’s connected devices or using a network scanner app.

Click “Open” to connect. You’ll get a security alert the first time—click “Yes” to accept.

Log in with your Raspberry Pi credentials (default is usually username: pi, password: raspberry, though you should change this for security).

Installation Steps

Now that you’re connected via SSH, start by updating your Raspberry Pi:

sudo apt update && sudo apt upgrade

Install Docker using the official script:

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh

Add your user to the docker group so you don’t need sudo every time:

sudo usermod -aG docker $USER

Then log out and back in (close PuTTY and reconnect) for this to take effect.

Verify Docker is working:

docker --version

Installing Docker Compose

Docker-Wyze-Bridge uses Docker Compose, which makes managing containers much simpler. Install it with:

sudo apt install docker-compose

Running Wyze Bridge

Once Docker is set up, watch my video tutorial and follow the documentation linked in the video description. The docker-compose.yml file doesn’t need editing, but you will need to create secrets files with your Wyze credentials.

Video: https://youtu.be/N93vWAGRemU

Creating Secrets Files

Create a .secrets folder in the same directory as your docker-compose.yml file:

mkdir .secrets

Use sudo nano wyze_email.txt to open a new file; then right mouse click and paste Wyze credential. Press Ctrl O to write file; then Ctrl X to exit. Repeat for all Wyze credentials; use separate filenames for each! Have to use filenames in documentation.

Then create the following text files in the .secrets folder with your Wyze account information:

  • .secrets/wyze_email.txt - Your Wyze account email

  • .secrets/wyze_password.txt - Your Wyze account password

  • .secrets/wyze_api_id.txt - Your Wyze API ID

  • .secrets/wyze_api_key.txt - Your Wyze API Key

Each file should contain only the credential (no extra spaces or lines).

After creating your secrets files and downloading the docker-compose.yml file, simply run docker-compose up -d in the directory with your compose file.

Key Benefits

  • No firewall configuration needed

  • No port forwarding required (works even with CGNAT providers like T-Mobile Home Internet)

  • No editing of the docker-compose.yml file necessary (just create simple secrets files)

  • Access from anywhere: Use Tailscale’s free tier to see your home network devices from anywhere there’s Internet!

  ```

Docker-Wyze-Bridge supported cameras

Important Note

Raspberry Pi uses ARM architecture, but Docker-Wyze-Bridge supports this, so you’re good to go!

Installing Agent DVR on Windows

What is Agent DVR?

Agent DVR is free, open-source video surveillance software that provides local recording, motion detection, and a web-based interface for managing multiple cameras. It works perfectly with the RTSP streams from Docker-Wyze-Bridge.

Step 1: Download Agent DVR

  1. Go to the official Agent DVR website: https://www.ispyconnect.com/download.aspx

  2. Under the “Agent DVR” section, click “Download for Windows”

  3. Save the ZIP file to your computer

  4. Extract the ZIP file (right-click → “Extract All”)

  5. This creates an AgentDVRSetup folder containing AgentDVRSetup.exe

Step 2: Install Agent DVR

  1. Navigate to the AgentDVRSetup folder

  2. Run AgentDVRSetup.exe as Administrator (right-click → “Run as administrator”)

  3. Follow the installation wizard:

    • Accept the license agreement

    • Choose installation location (default is C:\Program Files\Agent)

    • Complete the installation

  4. After installation, navigate to C:\Program Files\Agent

  5. Run agent-install-service.bat as Administrator (right-click → “Run as administrator”)

    • This installs Agent DVR as a Windows service so it runs automatically in the background
  6. Once the service installation completes, Agent DVR should start automatically

  7. You should see the Agent DVR icon in your system tray

Note: If Agent DVR doesn’t start automatically, you can:

  • Double-click Agent.exe in the C:\Program Files\Agent folder, or

  • Start it from the Windows Services manager

Step 3: Access the Agent DVR Interface

  1. Open your web browser

  2. Navigate to: http://localhost:8090

  3. You should see the Agent DVR web interface

  4. On first launch, you may be prompted to set up a username and password (recommended for security)

Step 3.5: Network Access (Optional)

If you want to access Agent DVR from other devices on your local network (smartphones, tablets, other computers), you may need to allow Agent DVR through Windows Firewall.

Note: The installer may automatically configure firewall access, or Windows may prompt you to allow access when Agent DVR first starts.

For local RTSP viewing, you only need:

  • Port 8090 (TCP/UDP) - User Interface

If you need to manually allow Agent DVR through the firewall:

  1. Open Windows Defender Firewall (search in Start menu)

  2. Click “Allow an app or feature through Windows Defender Firewall”

  3. Click “Change settings” (may require administrator permission)

  4. Look for Agent or Agent DVR in the list

    • If it’s already listed, make sure it’s checked for Private networks

    • If it’s not listed:

      • Click “Allow another app…”

      • Browse to C:\Program Files\Agent\Agent.exe and add it

      • Check Private network

  5. Click “OK”

Once configured, you can access Agent DVR from other devices on your network using: http://[Windows-PC-IP]:8090

To find your Windows PC’s IP address:

  • Open Command Prompt and type: ipconfig

  • Look for “IPv4 Address” under your active network connection

Step 4: Configure Storage Location (DO THIS FIRST!)

IMPORTANT: Configure storage BEFORE adding cameras! If you skip this step, you’ll have to re-enter your RTSP URLs every time you restart Agent DVR.

  1. First, create the storage directory:

    • Open File Explorer

    • Navigate to C:\ProgramData (you may need to enable “Show hidden files” in View options)

    • If the iSpyConnect folder doesn’t exist, create it

    • Inside iSpyConnect, create an Agent folder

    • Inside Agent, create a Media folder

    • Final path should be: C:\ProgramData\iSpyConnect\Agent\Media

  2. Now configure Agent DVR to use this storage location:

    • Click the menu icon (three horizontal lines) in the top right corner of the interface

    • Click “Settings”

    • Click the “General” tab

    • Scroll down to the “Storage” section

    • Click the “Configure” button

    • In the Storage window, you’ll see the default storage path listed

    • Click the “+” button to add a new storage location

    • Enter or browse to: C:\ProgramData\iSpyConnect\Agent\Media

    • Click “OK” to save the storage location

    • Click “OK” again to close Settings

This ensures all your camera configurations, recordings, and settings are properly saved.

Step 5: Add Your Wyze Cameras

Now let’s connect your Wyze cameras using the RTSP streams from Docker-Wyze-Bridge:

  1. In the Agent DVR interface, click the slider/menu icon in the lower left corner

  2. Click “Edit”

  3. Click the “+” button to add a new device

  4. Select “Network Camera” as the source type

  5. Give your camera a friendly name (e.g., “Weather” or “Front Door”)

  6. Click the gear icon (:gear:) next to “Source Type” to configure the video source

  7. In the Video Source window that opens:

    • Leave Username and Password blank (unless you set authentication in Docker-Wyze-Bridge)

    • Live URL: Enter your Docker-Wyze-Bridge RTSP stream URL:

     rtsp://[Pi-IP-Address]:8554/[camera-name]
 Example: `rtsp://192.168.12.146:8554/weather`
  • Record URL: Enter the same RTSP URL (or leave it to auto-fill)

  • The “Record URL” can be the same as “Live URL” for most setups

  1. Click “OK” to save the video source settings

  2. Back on the General settings page, click “OK” to add the camera

  3. Agent DVR will connect to the camera and you should see the live feed

Step 6: Configure Motion Detection

  1. Click on your camera in Agent DVR

  2. Go to SettingsMotion Detection (or Detect tab)

  3. Enable motion detection

  4. Adjust sensitivity and detection zones as needed:

    • You can draw zones to exclude areas (like trees that move in wind)

    • Set trigger threshold to avoid false alerts

  5. Save your settings

Step 7: Set Up Recording

  1. In camera settings, go to the Recording tab

  2. Choose your recording mode:

    • Motion Detection Only (recommended to save space)

    • Continuous Recording

    • Scheduled Recording

  3. Set recording quality and frame rate

  4. Choose storage location (will use the path configured in Step 4)

  5. Set retention period (how long to keep recordings)

Step 8: Repeat for Additional Cameras

Simply repeat Steps 5-7 for each Wyze camera you have in Docker-Wyze-Bridge. Each camera will need its own RTSP URL with its specific camera name from the bridge.


Tips:

  • You can access Agent DVR from other devices on your network by using http://[Windows-PC-IP]:8090

  • For best performance, use wired Ethernet connections when possible

  • Camera names in the RTSP URL must match exactly what you configured in Docker-Wyze-Bridge