<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.tinkernet.ca/index.php?action=history&amp;feed=atom&amp;title=WyzeCam_V2</id>
	<title>WyzeCam V2 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tinkernet.ca/index.php?action=history&amp;feed=atom&amp;title=WyzeCam_V2"/>
	<link rel="alternate" type="text/html" href="https://wiki.tinkernet.ca/index.php?title=WyzeCam_V2&amp;action=history"/>
	<updated>2026-05-09T03:56:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.tinkernet.ca/index.php?title=WyzeCam_V2&amp;diff=512&amp;oldid=prev</id>
		<title>Tinker at 20:25, 2 July 2020</title>
		<link rel="alternate" type="text/html" href="https://wiki.tinkernet.ca/index.php?title=WyzeCam_V2&amp;diff=512&amp;oldid=prev"/>
		<updated>2020-07-02T20:25:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 20:25, 2 July 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l187&quot; &gt;Line 187:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 187:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;**(Web UI borks it...)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;**(Web UI borks it...)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*'''&amp;lt;big&amp;gt;Whole Bunches of More Stuff Needs Researching...&amp;lt;/big&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*'''&amp;lt;big&amp;gt;Whole Bunches of More Stuff Needs Researching...&amp;lt;/big&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=== openfang ===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [https://github.com/anmaped/openfang On GitHub]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key tinker_wiki-tinker_wiki:diff::1.12:old-214:rev-512 --&gt;
&lt;/table&gt;</summary>
		<author><name>Tinker</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tinkernet.ca/index.php?title=WyzeCam_V2&amp;diff=214&amp;oldid=prev</id>
		<title>Tinker: Created page with &quot; [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...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.tinkernet.ca/index.php?title=WyzeCam_V2&amp;diff=214&amp;oldid=prev"/>
		<updated>2020-06-12T22:50:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; [https://www.wyze.com/wyze-cam/ Wyze Cam V2 (WYZEC2)]  &amp;#039;&amp;#039;&amp;#039;Default Login:&amp;#039;&amp;#039;&amp;#039; root:ismart12  ===Some Links===  *[https://community.hubitat.com/t/wyze-camera-local-firmware-hack...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
[https://www.wyze.com/wyze-cam/ Wyze Cam V2 (WYZEC2)]&lt;br /&gt;
&lt;br /&gt;
'''Default Login:''' root:ismart12&lt;br /&gt;
&lt;br /&gt;
===Some Links===&lt;br /&gt;
&lt;br /&gt;
*[https://community.hubitat.com/t/wyze-camera-local-firmware-hack/8981https://community.hubitat.com/t/wyze-camera-local-firmware-hack/8981 Wyze camera local firmware hack]&lt;br /&gt;
*[https://blog.donbowman.ca/2018/01/23/the-wyzecam-xiaomi-fang/ The WyzeCam / Xiaomi Fang]&lt;br /&gt;
**Apparently, it's an arm-based system running linux...&lt;br /&gt;
*[https://hackernoon.com/hacking-a-25-iot-camera-to-do-more-than-its-worth-41a8d4dc805c Hacking a $30 IoT camera to do more than it’s worth.]&lt;br /&gt;
*[https://blog.express-it.nl/2018/12/how-to-connect-to-serial-port-of-xiaomi-xiaofang-ip-camera/ How to connect to serial port of Xiaomi Xiaofang IP Camera]&lt;br /&gt;
*[https://github.com/samtap/fang-hacks Collection of modifications for the XiaoFang WiFi Camera]&lt;br /&gt;
&lt;br /&gt;
===Dafang-Hacks===&lt;br /&gt;
&lt;br /&gt;
*[https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/ EliasKotlyar/Xiaomi-Dafang-Hacks]&lt;br /&gt;
**[https://www.reddit.com/r/homeautomation/comments/a60y00/my_effort_to_convert_a_20_xiaomi_wyzecam_v2_into/ My effort to convert a $20 Xiaomi / WyzeCam v2 into a Synology IP Cam that connects to Home Assistant.]&lt;br /&gt;
**[https://www.reddit.com/r/wyzecam/comments/9fel0h/help_with_flashing_firmware_to_xiaomidafanghacks/ Help With Flashing Firmware to -&amp;quot;Xiaomi-Dafang-Hacks&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
====Steps to actually get the silly thing flashed====&lt;br /&gt;
&lt;br /&gt;
#Wipe the SD card clean!  (gparted - Device - Create Partition Table)&lt;br /&gt;
#Create a 512MB FAT32 partition.&lt;br /&gt;
#Put demo.bin on the root of the card.&lt;br /&gt;
#Insert the card in the camera.&lt;br /&gt;
#Power up the camera with the setup button held.  (hold until the light goes back to yellow...)&lt;br /&gt;
&lt;br /&gt;
====Setting up the OS====&lt;br /&gt;
&lt;br /&gt;
#Wipe the SD card clean!  (gparted - Device - Create Partition Table)&lt;br /&gt;
#Create a FAT32 partition. (Size no longer matters... OS takes ~36MB)&lt;br /&gt;
#Copy all of the &amp;quot;WyzeCam OS&amp;quot; to this new partition.&lt;br /&gt;
#Insert the card in the camera.&lt;br /&gt;
#Power up the camera.&lt;br /&gt;
&lt;br /&gt;
====MQTT Monitoring &amp;amp; Control====&lt;br /&gt;
So far, pretty much all of the MQTT documentation I've managed to find for using the MQTT capabilities [https://community.openhab.org/t/how-to-configure-a-hacked-xiaomi-dafang-to-work-with-openhab/51121/13 I have found by accident]... :(&lt;br /&gt;
&lt;br /&gt;
(also: [https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/blob/master/firmware_mod/scripts/mqtt-control.sh mqtt-control.sh])&lt;br /&gt;
&lt;br /&gt;
In the following examples, the location (TOPIC) is &amp;quot;CamTest&amp;quot; &amp;amp; the device_name (PREFIX) is &amp;quot;WyzeCam&amp;quot; and my local MQTT server is &amp;quot;SkyNet&amp;quot;. So, the MQTT topic will start with &amp;quot;CamTest/WyzeCam&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=====Monitoring=====&lt;br /&gt;
If you really want to watch ALL of the messages sent by the camera...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mosquitto_sub -h SkyNet -t &amp;quot;CamTest/WyzeCam/#&amp;quot; -v&amp;lt;/code&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Available Topics:&lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
!Returns&lt;br /&gt;
!&lt;br /&gt;
|-&lt;br /&gt;
|TOPIC/PREFIX&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|''JSON payload with connection info''&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|/init&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|/leds&lt;br /&gt;
|/blue&lt;br /&gt;
|ON / OFF&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|/leds&lt;br /&gt;
|/yellow&lt;br /&gt;
|ON / OFF&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|/leds&lt;br /&gt;
|/ir&lt;br /&gt;
|ON / OFF&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|/ir_cut&lt;br /&gt;
|&lt;br /&gt;
|ON / OFF&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|/rtsp_h264_server&lt;br /&gt;
|&lt;br /&gt;
|ON / OFF&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|/rtsp_mjpeg_server&lt;br /&gt;
|&lt;br /&gt;
|ON / OFF&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|/night_mode&lt;br /&gt;
|&lt;br /&gt;
|ON / OFF&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|/night_mode&lt;br /&gt;
|/auto&lt;br /&gt;
|ON / OFF&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|/brightness&lt;br /&gt;
|&lt;br /&gt;
|#######&lt;br /&gt;
|Apparently, higher numbers mean darker...&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|/motion&lt;br /&gt;
|&lt;br /&gt;
|ON / OFF&lt;br /&gt;
|ON = Camera has detected motion&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|/motion&lt;br /&gt;
|/detection&lt;br /&gt;
|ON / OFF&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|/motion&lt;br /&gt;
|/tracking&lt;br /&gt;
|ON / OFF&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|/motion&lt;br /&gt;
|/send_mail&lt;br /&gt;
|ON / OFF&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|/motion&lt;br /&gt;
|/send_telegram&lt;br /&gt;
|ON / OFF&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|/recording&lt;br /&gt;
|&lt;br /&gt;
|ON / OFF&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|/motors&lt;br /&gt;
|/vertical&lt;br /&gt;
|####&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|/motors&lt;br /&gt;
|/horizontal&lt;br /&gt;
|####&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=====Control=====&lt;br /&gt;
&amp;lt;big&amp;gt;'''[[WyzeCam MQTT Control &amp;amp; Monitoring|Look Here]]'''&amp;lt;/big&amp;gt;&lt;br /&gt;
====Notes====&lt;br /&gt;
&lt;br /&gt;
*WiFi Credentials are stored in config/wpa_supplicant.conf&lt;br /&gt;
*[https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/236 Ethernet over USB adapter]&lt;br /&gt;
*SD card is mounted at /system/sdcard&lt;br /&gt;
*[https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/1022 Resetting password]&lt;br /&gt;
*[https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/wiki/static-IP Setting a static IP]&lt;br /&gt;
**Just include something like&lt;br /&gt;
**&amp;lt;code&amp;gt;killall udhcpc&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;ifconfig wlan0 192.168.180.102 netmask 255.255.255.0&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;route add default gw 192.168.180.1&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;echo &amp;quot;nameserver 192.168.180.1&amp;quot; &amp;gt; /tmp/resolv.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
**in run.sh&lt;br /&gt;
*[https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/1301 FIX INCLUDED: SW Nightmode not working #1301]&lt;br /&gt;
**(Web UI borks it...)&lt;br /&gt;
*'''&amp;lt;big&amp;gt;Whole Bunches of More Stuff Needs Researching...&amp;lt;/big&amp;gt;'''&lt;/div&gt;</summary>
		<author><name>Tinker</name></author>
		
	</entry>
</feed>