Difference between revisions of "WyzeCam V2"
Jump to navigation
Jump to search
(Created page with " [https://www.wyze.com/wyze-cam/ Wyze Cam V2 (WYZEC2)] '''Default Login:''' root:ismart12 ===Some Links=== *[https://community.hubitat.com/t/wyze-camera-local-firmware-hack...") |
|||
| Line 187: | Line 187: | ||
**(Web UI borks it...) | **(Web UI borks it...) | ||
*'''<big>Whole Bunches of More Stuff Needs Researching...</big>''' | *'''<big>Whole Bunches of More Stuff Needs Researching...</big>''' | ||
| + | |||
| + | === openfang === | ||
| + | |||
| + | * [https://github.com/anmaped/openfang On GitHub] | ||
Latest revision as of 16:25, 2 July 2020
Default Login: root:ismart12
Contents
Some Links
- Wyze camera local firmware hack
- The WyzeCam / Xiaomi Fang
- Apparently, it's an arm-based system running linux...
- Hacking a $30 IoT camera to do more than it’s worth.
- How to connect to serial port of Xiaomi Xiaofang IP Camera
- Collection of modifications for the XiaoFang WiFi Camera
Dafang-Hacks
Steps to actually get the silly thing flashed
- Wipe the SD card clean! (gparted - Device - Create Partition Table)
- Create a 512MB FAT32 partition.
- Put demo.bin on the root of the card.
- Insert the card in the camera.
- Power up the camera with the setup button held. (hold until the light goes back to yellow...)
Setting up the OS
- Wipe the SD card clean! (gparted - Device - Create Partition Table)
- Create a FAT32 partition. (Size no longer matters... OS takes ~36MB)
- Copy all of the "WyzeCam OS" to this new partition.
- Insert the card in the camera.
- Power up the camera.
MQTT Monitoring & Control
So far, pretty much all of the MQTT documentation I've managed to find for using the MQTT capabilities I have found by accident... :(
(also: mqtt-control.sh)
In the following examples, the location (TOPIC) is "CamTest" & the device_name (PREFIX) is "WyzeCam" and my local MQTT server is "SkyNet". So, the MQTT topic will start with "CamTest/WyzeCam"
Monitoring
If you really want to watch ALL of the messages sent by the camera...
mosquitto_sub -h SkyNet -t "CamTest/WyzeCam/#" -v
| Returns | ||||
|---|---|---|---|---|
| TOPIC/PREFIX | JSON payload with connection info | |||
| /init | ||||
| /leds | /blue | ON / OFF | ||
| /leds | /yellow | ON / OFF | ||
| /leds | /ir | ON / OFF | ||
| /ir_cut | ON / OFF | |||
| /rtsp_h264_server | ON / OFF | |||
| /rtsp_mjpeg_server | ON / OFF | |||
| /night_mode | ON / OFF | |||
| /night_mode | /auto | ON / OFF | ||
| /brightness | ####### | Apparently, higher numbers mean darker... | ||
| /motion | ON / OFF | ON = Camera has detected motion | ||
| /motion | /detection | ON / OFF | ||
| /motion | /tracking | ON / OFF | ||
| /motion | /send_mail | ON / OFF | ||
| /motion | /send_telegram | ON / OFF | ||
| /recording | ON / OFF | |||
| /motors | /vertical | #### | ||
| /motors | /horizontal | #### |
Control
Notes
- WiFi Credentials are stored in config/wpa_supplicant.conf
- Ethernet over USB adapter
- SD card is mounted at /system/sdcard
- Resetting password
- Setting a static IP
- Just include something like
killall udhcpcifconfig wlan0 192.168.180.102 netmask 255.255.255.0route add default gw 192.168.180.1echo "nameserver 192.168.180.1" > /tmp/resolv.conf- in run.sh
- FIX INCLUDED: SW Nightmode not working #1301
- (Web UI borks it...)
- Whole Bunches of More Stuff Needs Researching...