-
Notifications
You must be signed in to change notification settings - Fork 116
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.
- Get the Software: Download the software by cloning the repository or downloading the zip file.
- 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.
- Copy Files to SD Card: Transfer all files from the 'SD_ROOT' folder in the software to your microSD card.
-
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.
- Turn Off the Camera: Make sure your camera is powered off.
- Insert the SD Card: Place the prepared microSD card into the camera.
- 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).
- Alternative Access: You can also log in using the serial console (password: WYom2020).
- Download Software: Clone the repository or download and unzip the repo file.
-
Navigate to Installation Directory: Use a terminal to go to the
v2_install
directory. -
Install Necessary Tools: Make sure you have u-boot build tools (for Debian:
sudo apt install u-boot-tools
). - Prepare Your SD Card: Format your microSD card to FAT32. Other formats won't work with the bootloader. Use a DOS partition map.
-
Run Installation Script: Execute
compile_image.sh
in Linux. If you have a Pan V1, runcompile_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 thev2_install
folder. -
Transfer Files to SD Card: Move all files from SD_ROOT and the generated
demo.bin
to your microSD card. -
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.
- Insert SD Card: Place the microSD card into the camera.
- Reset and Power On: Hold the reset button while turning on the camera. This starts the manual firmware restoration process.
- Wait for Installation: Let the camera flash the new firmware and reboot. Keep the SD card inserted.
- 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.
- 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.
- Serial Console Access: You can also log in using the serial console (password: WYom2020).
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.