Comments (3)
This appears to be possible if you use a side loaded hack that utilizes the factory_t31_ZMC6tiIDQN
boot method such as wz_mini_hacks.
The hurdles with a completely offline approach are:
- Firmware updates / downgrades - You will have to do this manually using the SD card method.
- Setting up the initial WiFi connection - The initial WiFi configuration still has to be done with a previously generated QR code from the App or this awesome tool: https://codepen.io/ril3y/full/gXyzmO/. Once you are connected, you'll have to modify the .user_config file and set
bindOk=1
so it connects with the saved wifi password and ssid. - Camera configuration and settings - Some settings that can be changed in the Wyze App can be changed manually once you can SSH/telnet in. Settings like these include the green box on objects or enabling the Wyze logo, etc. These options can be set by editing
/configs/.user_config
manually. Some of these options / settings are documented on my personal notes here. Reboot the camera or restart iCamera for these to take effect.
I was poking away at making the Wyze Cam v3 run without internet and came up with a binary based patch for iCamera. As part of my testing, I was able to set up a new Wyze Cam v3 (straight out of a box, never connected to the cloud) without using the Wyze App or having the Wyze Cam connect to the internet at all.
Here is what I did to setup a Wyze Cam as a RTSP/IP camera without touching the cloud or internet (copied from my Wiki):
- Unbox the Wyze Cam v3
- Place the latest firmware file on a SD card (I used 4.36.9.139) and insert it to the Wyze Cam
- Hold the SETUP button and power on the device. Hold the button down until you see both blue and red lights on
- After the upgrade is done, the camera will reboot and begin flashing the red LED. This red LED probably means the device isn't set up and is awaiting you to do something. Power off the camera.
- Insert the SD card containing wz_mini_hacks into the camera. When you set up the SD card, ensure that your SSH keys are set in wz_mini/etc/ssh/authorized_keys. We will need to SSH in once the camera comes up to finish up the setup.
- Power on the camera. You should hear the wz mini hacks initializing message.
- Press the SETUP button once. You should hear it stating it is ready for a QR code.
- Present it with a previously generated QR code with your WiFi settings.
- The camera should join your wireless network and you should be able to SSH into it at this point.
- SSH in and ensure that:
- Your WiFi settings are saved in /configs/.wifissid and /configs/.wifipasswd
- Edit the /configs/.user_config file and ensure the bindOK=0 line is set to bindOK=1. This will allow the camera to use these config files on boot. Without this, the camera will reboot back into the blinking red state.
- If you want RTSP, edit /opt/wz_mini/wz_mini.conf and ensure RTSP is enabled.
- Reboot the camera and verify it can come up and connect to your network.
from wyzehacks.
the wyze device sets up through the wyze app. The device reads a QR code produced by the app. I've not checked the contents of the QR code, but at a minimum it contains the SSID / password. I'd suspect it also contains the username and some sort of key.
from wyzehacks.
Yeah the QR code generates a string in the following format:
b=[RANDOM ALPHANUMERIC]&s=[BASE 64 ENCODED SSID]=&p=[BASE 64 ENCODED AND RANDOM ENCODED SSID PASSWORD]&t=-6&r=USA&ty=1
The b parameter is random and the password is encrypted as well (possibly using the value of b as a salt??). The funny thing is, I noticed a lot of other cheap cameras with their own app use the same format (Yi Home App, 360 Camera APP).
After the scanning and when the camera connects to the wifi, the camera still needs to communicate with the App and do some further initializations like liking with the wyze account to the cloud.
I was also able to use the same QR code 2x to connect the camera to the wifi which means the qr code is probably time based. If I had more than one camera, would like to see if the QR code could be scanned for multiple devices
EDIT: I just did some further testing and did a full factory reset on camera and use the same QR code to connect the Wyze cam to the same wifi. This was originally scanned over a month ago. This leads me to believe that the QR code is used just to encode the wifi ssid and password and not necessarily connected to the initialization session. This means the same QR code is likely not device dependent nor time based.
from wyzehacks.
Related Issues (20)
- Today I received the official push notification of the v2 update, and of course they have changed their root password. Here are the ones I'm seeing: HOT 1
- UART/Serial on Wyze cam v3 HOT 20
- WyzeUpdater not work for some of my cameras HOT 4
- Question: Does wyzehacks keep deleting oldest recordings on low NFS space? HOT 3
- install issue HOT 8
- Official Wyze Cam V3 RTSP firmware support? HOT 21
- WyzeCam Pan V2 Support
- TypeError: 'str' object is not callable HOT 2
- How to delet the WyzeHack and go back to Original Firmware? HOT 1
- How to change SSID via telnet? HOT 1
- Wyze enforced firmware update HOT 44
- Support for V3 RTSP Fimrware HOT 1
- RokuHacks?!
- Telnet available, NFS share not working. (camv2 @ 4.9.5.115)
- Remote install : Error 3005:UnauthorizedOperation HOT 3
- Wireguard / Tailscale possibility?
- Wyze
- I'm not able to login HOT 2
- Doorbell camera (white with bell icon over led ver 1?) HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wyzehacks.