Skip to content

Setup & Installation

gtxaspec edited this page Dec 29, 2023 · 11 revisions

Getting Started on Supported Firmware:

Before you begin, make sure your device is running a supported firmware version, check the firmware compatibility on our Firmware Support Wiki.

Setting Up Your Cam V3/Pan V2

  1. Get the Software: Download the software by cloning the repository or downloading the zip file.
  2. Prepare Your MicroSD Card: Use a microSD card and format it to FAT32. This step is essential because the camera's bootloader can't read other formats like exFAT or ext. Make sure to use a DOS partition map; GPT won't work.
  3. Copy Files to SD Card: Transfer all files from the 'SD_ROOT' folder in the software to your microSD card.
  4. Configure SSH for Security: SSH is turned on, but it requires a public key for secure access. Add your public key to the wz_mini/etc/ssh/authorized_keys file. Need help? Here’s a guide on using public key authentication.

Installing the Software on Cam V3/Pan V2

  1. Turn Off the Camera: Make sure your camera is powered off.
  2. Insert the SD Card: Place the prepared microSD card into the camera.
  3. Power On and Wait: Turn on the camera. It will take a few minutes to boot up and connect to Wi-Fi. Once ready, you can access the device using SSH (port 22, username: root).
  4. Alternative Access: You can also log in using the serial console (password: WYom2020).

Setting Up Cam V2 / Pan V1

  1. Download Software: Clone the repository or download and unzip the repo file.
  2. Navigate to Installation Directory: Use a terminal to go to the v2_install directory.
  3. Install Necessary Tools: Make sure you have u-boot build tools (for Debian: sudo apt install u-boot-tools).
  4. Prepare Your SD Card: Format your microSD card to FAT32. Other formats won't work with the bootloader. Use a DOS partition map.
  5. Run Installation Script: Execute compile_image.sh in Linux. If you have a Pan V1, run compile_image.sh pan. If you get an error about a missing firmware file, download the required firmware from Wyze's website and name it "demo.zip" in the v2_install folder.
  6. Transfer Files to SD Card: Move all files from SD_ROOT and the generated demo.bin to your microSD card.
  7. Set Up SSH Security: SSH is enabled but requires a public key for access. Edit wz_mini/etc/ssh/authorized_keys to include your public key. For assistance, check this public key authentication guide.

Installing on V2 / Pan V1

  1. Insert SD Card: Place the microSD card into the camera.
  2. Reset and Power On: Hold the reset button while turning on the camera. This starts the manual firmware restoration process.
  3. Wait for Installation: Let the camera flash the new firmware and reboot. Keep the SD card inserted.
  4. Connect to the Camera: Once booted, access your camera using SSH (port 22, username: root). The device might take a few minutes to boot and connect to Wi-Fi.
  5. For Car Firmware: If you're using car firmware, use the car app to convert the camera after installation. wz_mini remains active post-conversion.
  6. Serial Console Access: You can also log in using the serial console (password: WYom2020).

Removing the Software

To revert to the stock firmware, delete the files from the memory card or remove the card. The camera will return to its original state on the next boot.