<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.recessim.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=WallK</id>
	<title>RECESSIM - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.recessim.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=WallK"/>
	<link rel="alternate" type="text/html" href="https://wiki.recessim.com/view/Special:Contributions/WallK"/>
	<updated>2026-05-01T19:10:37Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.recessim.com/w/index.php?title=Home&amp;diff=2170</id>
		<title>Home</title>
		<link rel="alternate" type="text/html" href="https://wiki.recessim.com/w/index.php?title=Home&amp;diff=2170"/>
		<updated>2023-12-18T17:32:37Z</updated>

		<summary type="html">&lt;p&gt;WallK: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Neato XV-11 Disassembled.jpg|thumb|alt=|Neato XV-11 disassembled on the workbench, preparing to reverse engineer LIDAR communication protocol.]]&lt;br /&gt;
Cameras, Power/Light Controllers, HVAC Controllers, Electronic Door Locks, Appliances, Robotic Vacuums and other items found in your home.&lt;br /&gt;
==Device Index==&lt;br /&gt;
[[Neato XV-11]] - Robotic vacuum which included the first low cost [[LIDAR]].&lt;br /&gt;
&lt;br /&gt;
[[Kobalt KRC 40-06]] - 40 volt Lithium Ion Battery Charger&lt;br /&gt;
&lt;br /&gt;
[[Blink SyncModule 2]] - Home appliance to control other Amazon Blink devices.&lt;br /&gt;
&lt;br /&gt;
[[RL 50]] - Decentralized home ventilation system.&lt;br /&gt;
&lt;br /&gt;
[[OZWI Smart Plug]] - ESP8266 smart plug&lt;/div&gt;</summary>
		<author><name>WallK</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.recessim.com/w/index.php?title=OZWI_Smart_Plug&amp;diff=2169</id>
		<title>OZWI Smart Plug</title>
		<link rel="alternate" type="text/html" href="https://wiki.recessim.com/w/index.php?title=OZWI_Smart_Plug&amp;diff=2169"/>
		<updated>2023-12-18T17:31:50Z</updated>

		<summary type="html">&lt;p&gt;WallK: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:OZWIPlug1.jpg|thumb]]&lt;br /&gt;
[[File:OZWIplug3.jpg|thumb]]&lt;br /&gt;
==Description==&lt;br /&gt;
This is a dirt cheap &amp;quot;smart&amp;quot; plug with ESP8266 inside. It's designed for 230V and 10A max current, but other regional versions exist.&lt;br /&gt;
&lt;br /&gt;
It didn't have any identification or a sticker on it.&lt;br /&gt;
==What's inside==&lt;br /&gt;
There's an unknown ESP8266 module, YUANZE Y32F-SS-105HM Relay&amp;lt;ref&amp;gt;[https://www.lcsc.com/product-detail/Power-Relays_YUANZE-RELAY-Y3F-SS-105D_C674561.html LCSC page for the relay]&amp;lt;/ref&amp;gt; and power supply components.&lt;br /&gt;
&lt;br /&gt;
[[File:OZWIplug inside1.jpg|frameless]][[File:OZWIplug inside2.jpg|frameless]]&lt;br /&gt;
==ESP8266 Board Pinout==&lt;br /&gt;
[[File:OZWIplug pins.png|frameless]]&lt;br /&gt;
==Flashing custom firmware==&lt;br /&gt;
You'll need to connect some kind of UART interface device to your PC or other capable device. '''RX''' pin of this device goes to board pin marked &amp;quot;'''U0 TX'''&amp;quot;, '''TX''' pin -- to &amp;quot;'''U0 RX'''&amp;quot;. '''GND''' to '''GND'''.&lt;br /&gt;
&lt;br /&gt;
Connect '''GND''' and '''3.3V''' pins from diagram above to 3.3V PSU (up to 0.2A was needed during my test).&lt;br /&gt;
&lt;br /&gt;
Connect '''GPIO0''' to '''GND''' and power on the device with PSU.&lt;br /&gt;
&lt;br /&gt;
Flash the chip using [https://github.com/espressif/esptool ESPTool] or other preferred method.&lt;br /&gt;
&lt;br /&gt;
Remove the power and disconnect GPI0 tie to the ground.&lt;br /&gt;
&lt;br /&gt;
Done!&lt;br /&gt;
&lt;br /&gt;
==Example ESPHome config==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;yaml&amp;quot;&amp;gt;&lt;br /&gt;
substitutions:&lt;br /&gt;
  display_name: &amp;quot;ozwi-plug&amp;quot;&lt;br /&gt;
  friendly_name: &amp;quot;ozwi Smart Plug&amp;quot;&lt;br /&gt;
&lt;br /&gt;
esphome:&lt;br /&gt;
  name: &amp;quot;ozwi-plug&amp;quot;&lt;br /&gt;
&lt;br /&gt;
esp8266:&lt;br /&gt;
  board: esp01_1m&lt;br /&gt;
&lt;br /&gt;
# Enable logging&lt;br /&gt;
logger:&lt;br /&gt;
&lt;br /&gt;
# Enable Home Assistant API&lt;br /&gt;
api:&lt;br /&gt;
&lt;br /&gt;
ota:&lt;br /&gt;
&lt;br /&gt;
wifi:&lt;br /&gt;
  ssid: !secret wifi_ssid&lt;br /&gt;
  password: !secret wifi_password&lt;br /&gt;
  on_connect:&lt;br /&gt;
      - light.turn_on: blue_led&lt;br /&gt;
  on_disconnect:&lt;br /&gt;
      - light.turn_off: blue_led&lt;br /&gt;
  ap: &lt;br /&gt;
    ssid: &amp;quot;${display_name} Fallback Hotspot&amp;quot;&lt;br /&gt;
    password: !secret wifi_AP_password&lt;br /&gt;
    ap_timeout: 3min&lt;br /&gt;
&lt;br /&gt;
captive_portal:&lt;br /&gt;
&lt;br /&gt;
output:&lt;br /&gt;
  - platform: gpio&lt;br /&gt;
    pin: GPIO4&lt;br /&gt;
    inverted: False&lt;br /&gt;
    id: red_led_gpio&lt;br /&gt;
  - platform: gpio&lt;br /&gt;
    pin: GPIO14&lt;br /&gt;
    inverted: False&lt;br /&gt;
    id: blue_led_gpio&lt;br /&gt;
  - platform: gpio&lt;br /&gt;
    pin:&lt;br /&gt;
      number: GPIO12&lt;br /&gt;
      inverted: false&lt;br /&gt;
    id: relay1&lt;br /&gt;
&lt;br /&gt;
binary_sensor:&lt;br /&gt;
  - platform: gpio&lt;br /&gt;
    internal: true&lt;br /&gt;
    pin:&lt;br /&gt;
      number: GPIO13&lt;br /&gt;
      mode: INPUT_PULLUP&lt;br /&gt;
      inverted: true&lt;br /&gt;
    name: ${display_name} Switch&lt;br /&gt;
    on_press:&lt;br /&gt;
      - switch.toggle: load&lt;br /&gt;
&lt;br /&gt;
light:&lt;br /&gt;
  - platform: binary&lt;br /&gt;
    name: &amp;quot;Red LED&amp;quot;&lt;br /&gt;
    id: red_led&lt;br /&gt;
    internal: true    &lt;br /&gt;
    output: red_led_gpio&lt;br /&gt;
  - platform: binary&lt;br /&gt;
    name: &amp;quot;Blue LED&amp;quot;&lt;br /&gt;
    id: blue_led&lt;br /&gt;
    internal: true    &lt;br /&gt;
    output: blue_led_gpio&lt;br /&gt;
&lt;br /&gt;
switch:&lt;br /&gt;
  - platform: output&lt;br /&gt;
    name: ${friendly_name} Load&lt;br /&gt;
    id: load&lt;br /&gt;
    # internal: true&lt;br /&gt;
    output: relay1&lt;br /&gt;
    on_turn_on:&lt;br /&gt;
      - light.turn_on: red_led&lt;br /&gt;
    on_turn_off:&lt;br /&gt;
      - light.turn_off: red_led&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>WallK</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.recessim.com/w/index.php?title=OZWI_Smart_Plug&amp;diff=2168</id>
		<title>OZWI Smart Plug</title>
		<link rel="alternate" type="text/html" href="https://wiki.recessim.com/w/index.php?title=OZWI_Smart_Plug&amp;diff=2168"/>
		<updated>2023-12-18T17:30:53Z</updated>

		<summary type="html">&lt;p&gt;WallK: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:OZWIPlug1.jpg|thumb]]&lt;br /&gt;
==Description==&lt;br /&gt;
This is a dirt cheap &amp;quot;smart&amp;quot; plug with ESP8266 inside. It's designed for 230V and 10A max current, but other regional versions exist.&lt;br /&gt;
==What's inside==&lt;br /&gt;
There's an unknown ESP8266 module, YUANZE Y32F-SS-105HM Relay&amp;lt;ref&amp;gt;[https://www.lcsc.com/product-detail/Power-Relays_YUANZE-RELAY-Y3F-SS-105D_C674561.html LCSC page for the relay]&amp;lt;/ref&amp;gt; and power supply components.&lt;br /&gt;
&lt;br /&gt;
[[File:OZWIplug inside1.jpg|frameless]][[File:OZWIplug inside2.jpg|frameless]]&lt;br /&gt;
==ESP8266 Board Pinout==&lt;br /&gt;
[[File:OZWIplug pins.png|frameless]]&lt;br /&gt;
==Flashing custom firmware==&lt;br /&gt;
You'll need to connect some kind of UART interface device to your PC or other capable device. '''RX''' pin of this device goes to board pin marked &amp;quot;'''U0 TX'''&amp;quot;, '''TX''' pin -- to &amp;quot;'''U0 RX'''&amp;quot;. '''GND''' to '''GND'''.&lt;br /&gt;
&lt;br /&gt;
Connect '''GND''' and '''3.3V''' pins from diagram above to 3.3V PSU (up to 0.2A was needed during my test).&lt;br /&gt;
&lt;br /&gt;
Connect '''GPIO0''' to '''GND''' and power on the device with PSU.&lt;br /&gt;
&lt;br /&gt;
Flash the chip using [https://github.com/espressif/esptool ESPTool] or other preferred method.&lt;br /&gt;
&lt;br /&gt;
Remove the power and disconnect GPI0 tie to the ground.&lt;br /&gt;
&lt;br /&gt;
Done!&lt;br /&gt;
&lt;br /&gt;
==Example ESPHome config==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;yaml&amp;quot;&amp;gt;&lt;br /&gt;
substitutions:&lt;br /&gt;
  display_name: &amp;quot;ozwi-plug&amp;quot;&lt;br /&gt;
  friendly_name: &amp;quot;ozwi Smart Plug&amp;quot;&lt;br /&gt;
&lt;br /&gt;
esphome:&lt;br /&gt;
  name: &amp;quot;ozwi-plug&amp;quot;&lt;br /&gt;
&lt;br /&gt;
esp8266:&lt;br /&gt;
  board: esp01_1m&lt;br /&gt;
&lt;br /&gt;
# Enable logging&lt;br /&gt;
logger:&lt;br /&gt;
&lt;br /&gt;
# Enable Home Assistant API&lt;br /&gt;
api:&lt;br /&gt;
&lt;br /&gt;
ota:&lt;br /&gt;
&lt;br /&gt;
wifi:&lt;br /&gt;
  ssid: !secret wifi_ssid&lt;br /&gt;
  password: !secret wifi_password&lt;br /&gt;
  on_connect:&lt;br /&gt;
      - light.turn_on: blue_led&lt;br /&gt;
  on_disconnect:&lt;br /&gt;
      - light.turn_off: blue_led&lt;br /&gt;
  ap: &lt;br /&gt;
    ssid: &amp;quot;${display_name} Fallback Hotspot&amp;quot;&lt;br /&gt;
    password: !secret wifi_AP_password&lt;br /&gt;
    ap_timeout: 3min&lt;br /&gt;
&lt;br /&gt;
captive_portal:&lt;br /&gt;
&lt;br /&gt;
output:&lt;br /&gt;
  - platform: gpio&lt;br /&gt;
    pin: GPIO4&lt;br /&gt;
    inverted: False&lt;br /&gt;
    id: red_led_gpio&lt;br /&gt;
  - platform: gpio&lt;br /&gt;
    pin: GPIO14&lt;br /&gt;
    inverted: False&lt;br /&gt;
    id: blue_led_gpio&lt;br /&gt;
  - platform: gpio&lt;br /&gt;
    pin:&lt;br /&gt;
      number: GPIO12&lt;br /&gt;
      inverted: false&lt;br /&gt;
    id: relay1&lt;br /&gt;
&lt;br /&gt;
binary_sensor:&lt;br /&gt;
  - platform: gpio&lt;br /&gt;
    internal: true&lt;br /&gt;
    pin:&lt;br /&gt;
      number: GPIO13&lt;br /&gt;
      mode: INPUT_PULLUP&lt;br /&gt;
      inverted: true&lt;br /&gt;
    name: ${display_name} Switch&lt;br /&gt;
    on_press:&lt;br /&gt;
      - switch.toggle: load&lt;br /&gt;
&lt;br /&gt;
light:&lt;br /&gt;
  - platform: binary&lt;br /&gt;
    name: &amp;quot;Red LED&amp;quot;&lt;br /&gt;
    id: red_led&lt;br /&gt;
    internal: true    &lt;br /&gt;
    output: red_led_gpio&lt;br /&gt;
  - platform: binary&lt;br /&gt;
    name: &amp;quot;Blue LED&amp;quot;&lt;br /&gt;
    id: blue_led&lt;br /&gt;
    internal: true    &lt;br /&gt;
    output: blue_led_gpio&lt;br /&gt;
&lt;br /&gt;
switch:&lt;br /&gt;
  - platform: output&lt;br /&gt;
    name: ${friendly_name} Load&lt;br /&gt;
    id: load&lt;br /&gt;
    # internal: true&lt;br /&gt;
    output: relay1&lt;br /&gt;
    on_turn_on:&lt;br /&gt;
      - light.turn_on: red_led&lt;br /&gt;
    on_turn_off:&lt;br /&gt;
      - light.turn_off: red_led&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>WallK</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.recessim.com/w/index.php?title=OZWI_Smart_Plug&amp;diff=2167</id>
		<title>OZWI Smart Plug</title>
		<link rel="alternate" type="text/html" href="https://wiki.recessim.com/w/index.php?title=OZWI_Smart_Plug&amp;diff=2167"/>
		<updated>2023-12-18T17:30:24Z</updated>

		<summary type="html">&lt;p&gt;WallK: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:OZWIPlug1.jpg|thumb]]&lt;br /&gt;
[[File:OZWIplug3.jpg|thumb]]&lt;br /&gt;
==Description==&lt;br /&gt;
This is a dirt cheap &amp;quot;smart&amp;quot; plug with ESP8266 inside. It's designed for 230V and 10A max current, but other regional versions exist.&lt;br /&gt;
&lt;br /&gt;
It didn't have any identification or a sticker on it.&lt;br /&gt;
==What's inside==&lt;br /&gt;
There's an unknown ESP8266 module, YUANZE Y32F-SS-105HM Relay&amp;lt;ref&amp;gt;[https://www.lcsc.com/product-detail/Power-Relays_YUANZE-RELAY-Y3F-SS-105D_C674561.html LCSC page for the relay]&amp;lt;/ref&amp;gt; and power supply components.&lt;br /&gt;
&lt;br /&gt;
[[File:OZWIplug inside1.jpg|frameless]][[File:OZWIplug inside2.jpg|frameless]]&lt;br /&gt;
==ESP8266 Board Pinout==&lt;br /&gt;
[[File:OZWIplug pins.png|frameless]]&lt;br /&gt;
==Flashing custom firmware==&lt;br /&gt;
You'll need to connect some kind of UART interface device to your PC or other capable device. '''RX''' pin of this device goes to board pin marked &amp;quot;'''U0 TX'''&amp;quot;, '''TX''' pin -- to &amp;quot;'''U0 RX'''&amp;quot;. '''GND''' to '''GND'''.&lt;br /&gt;
&lt;br /&gt;
Connect '''GND''' and '''3.3V''' pins from diagram above to 3.3V PSU (up to 0.2A was needed during my test).&lt;br /&gt;
&lt;br /&gt;
Connect '''GPIO0''' to '''GND''' and power on the device with PSU.&lt;br /&gt;
&lt;br /&gt;
Flash the chip using [https://github.com/espressif/esptool ESPTool] or other preferred method.&lt;br /&gt;
&lt;br /&gt;
Remove the power and disconnect GPI0 tie to the ground.&lt;br /&gt;
&lt;br /&gt;
Done!&lt;br /&gt;
&lt;br /&gt;
==Example ESPHome config==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;yaml&amp;quot;&amp;gt;&lt;br /&gt;
substitutions:&lt;br /&gt;
  display_name: &amp;quot;ozwi-plug&amp;quot;&lt;br /&gt;
  friendly_name: &amp;quot;ozwi Smart Plug&amp;quot;&lt;br /&gt;
&lt;br /&gt;
esphome:&lt;br /&gt;
  name: &amp;quot;ozwi-plug&amp;quot;&lt;br /&gt;
&lt;br /&gt;
esp8266:&lt;br /&gt;
  board: esp01_1m&lt;br /&gt;
&lt;br /&gt;
# Enable logging&lt;br /&gt;
logger:&lt;br /&gt;
&lt;br /&gt;
# Enable Home Assistant API&lt;br /&gt;
api:&lt;br /&gt;
&lt;br /&gt;
ota:&lt;br /&gt;
&lt;br /&gt;
wifi:&lt;br /&gt;
  ssid: !secret wifi_ssid&lt;br /&gt;
  password: !secret wifi_password&lt;br /&gt;
  on_connect:&lt;br /&gt;
      - light.turn_on: blue_led&lt;br /&gt;
  on_disconnect:&lt;br /&gt;
      - light.turn_off: blue_led&lt;br /&gt;
  ap: &lt;br /&gt;
    ssid: &amp;quot;${display_name} Fallback Hotspot&amp;quot;&lt;br /&gt;
    password: !secret wifi_AP_password&lt;br /&gt;
    ap_timeout: 3min&lt;br /&gt;
&lt;br /&gt;
captive_portal:&lt;br /&gt;
&lt;br /&gt;
output:&lt;br /&gt;
  - platform: gpio&lt;br /&gt;
    pin: GPIO4&lt;br /&gt;
    inverted: False&lt;br /&gt;
    id: red_led_gpio&lt;br /&gt;
  - platform: gpio&lt;br /&gt;
    pin: GPIO14&lt;br /&gt;
    inverted: False&lt;br /&gt;
    id: blue_led_gpio&lt;br /&gt;
  - platform: gpio&lt;br /&gt;
    pin:&lt;br /&gt;
      number: GPIO12&lt;br /&gt;
      inverted: false&lt;br /&gt;
    id: relay1&lt;br /&gt;
&lt;br /&gt;
binary_sensor:&lt;br /&gt;
  - platform: gpio&lt;br /&gt;
    internal: true&lt;br /&gt;
    pin:&lt;br /&gt;
      number: GPIO13&lt;br /&gt;
      mode: INPUT_PULLUP&lt;br /&gt;
      inverted: true&lt;br /&gt;
    name: ${display_name} Switch&lt;br /&gt;
    on_press:&lt;br /&gt;
      - switch.toggle: load&lt;br /&gt;
&lt;br /&gt;
light:&lt;br /&gt;
  - platform: binary&lt;br /&gt;
    name: &amp;quot;Red LED&amp;quot;&lt;br /&gt;
    id: red_led&lt;br /&gt;
    internal: true    &lt;br /&gt;
    output: red_led_gpio&lt;br /&gt;
  - platform: binary&lt;br /&gt;
    name: &amp;quot;Blue LED&amp;quot;&lt;br /&gt;
    id: blue_led&lt;br /&gt;
    internal: true    &lt;br /&gt;
    output: blue_led_gpio&lt;br /&gt;
&lt;br /&gt;
switch:&lt;br /&gt;
  - platform: output&lt;br /&gt;
    name: ${friendly_name} Load&lt;br /&gt;
    id: load&lt;br /&gt;
    # internal: true&lt;br /&gt;
    output: relay1&lt;br /&gt;
    on_turn_on:&lt;br /&gt;
      - light.turn_on: red_led&lt;br /&gt;
    on_turn_off:&lt;br /&gt;
      - light.turn_off: red_led&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>WallK</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.recessim.com/w/index.php?title=File:OZWIplug3.jpg&amp;diff=2166</id>
		<title>File:OZWIplug3.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.recessim.com/w/index.php?title=File:OZWIplug3.jpg&amp;diff=2166"/>
		<updated>2023-12-18T17:30:14Z</updated>

		<summary type="html">&lt;p&gt;WallK: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;OZWI Plug back&lt;/div&gt;</summary>
		<author><name>WallK</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.recessim.com/w/index.php?title=OZWI_Smart_Plug&amp;diff=2165</id>
		<title>OZWI Smart Plug</title>
		<link rel="alternate" type="text/html" href="https://wiki.recessim.com/w/index.php?title=OZWI_Smart_Plug&amp;diff=2165"/>
		<updated>2023-12-18T15:25:00Z</updated>

		<summary type="html">&lt;p&gt;WallK: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:OZWIPlug1.jpg|thumb]]&lt;br /&gt;
==Description==&lt;br /&gt;
This is a dirt cheap &amp;quot;smart&amp;quot; plug with ESP8266 inside. It's designed for 230V and 10A max current, but other regional versions exist.&lt;br /&gt;
==What's inside==&lt;br /&gt;
There's an unknown ESP8266 module, YUANZE Y32F-SS-105HM Relay&amp;lt;ref&amp;gt;[https://www.lcsc.com/product-detail/Power-Relays_YUANZE-RELAY-Y3F-SS-105D_C674561.html LCSC page for the relay]&amp;lt;/ref&amp;gt; and power supply components.&lt;br /&gt;
&lt;br /&gt;
[[File:OZWIplug inside1.jpg|frameless]][[File:OZWIplug inside2.jpg|frameless]]&lt;br /&gt;
==ESP8266 Board Pinout==&lt;br /&gt;
[[File:OZWIplug pins.png|frameless]]&lt;br /&gt;
==Flashing custom firmware==&lt;br /&gt;
You'll need to connect some kind of UART interface device to your PC or other capable device. '''RX''' pin of this device goes to board pin marked &amp;quot;'''U0 TX'''&amp;quot;, '''TX''' pin -- to &amp;quot;'''U0 RX'''&amp;quot;. '''GND''' to '''GND'''.&lt;br /&gt;
&lt;br /&gt;
Connect '''GND''' and '''3.3V''' pins from diagram above to 3.3V PSU (up to 0.2A was needed during my test).&lt;br /&gt;
&lt;br /&gt;
Connect '''GPIO0''' to '''GND''' and power on the device with PSU.&lt;br /&gt;
&lt;br /&gt;
Flash the chip using [https://github.com/espressif/esptool ESPTool] or other preferred method.&lt;br /&gt;
&lt;br /&gt;
Remove the power and disconnect GPI0 tie to the ground.&lt;br /&gt;
&lt;br /&gt;
Done!&lt;br /&gt;
&lt;br /&gt;
==Example ESPHome config==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;yaml&amp;quot;&amp;gt;&lt;br /&gt;
substitutions:&lt;br /&gt;
  display_name: &amp;quot;ozwi-plug&amp;quot;&lt;br /&gt;
  friendly_name: &amp;quot;ozwi Smart Plug&amp;quot;&lt;br /&gt;
&lt;br /&gt;
esphome:&lt;br /&gt;
  name: &amp;quot;ozwi-plug&amp;quot;&lt;br /&gt;
&lt;br /&gt;
esp8266:&lt;br /&gt;
  board: esp01_1m&lt;br /&gt;
&lt;br /&gt;
# Enable logging&lt;br /&gt;
logger:&lt;br /&gt;
&lt;br /&gt;
# Enable Home Assistant API&lt;br /&gt;
api:&lt;br /&gt;
&lt;br /&gt;
ota:&lt;br /&gt;
&lt;br /&gt;
wifi:&lt;br /&gt;
  ssid: !secret wifi_ssid&lt;br /&gt;
  password: !secret wifi_password&lt;br /&gt;
  on_connect:&lt;br /&gt;
      - light.turn_on: blue_led&lt;br /&gt;
  on_disconnect:&lt;br /&gt;
      - light.turn_off: blue_led&lt;br /&gt;
  ap: &lt;br /&gt;
    ssid: &amp;quot;${display_name} Fallback Hotspot&amp;quot;&lt;br /&gt;
    password: !secret wifi_AP_password&lt;br /&gt;
    ap_timeout: 3min&lt;br /&gt;
&lt;br /&gt;
captive_portal:&lt;br /&gt;
&lt;br /&gt;
output:&lt;br /&gt;
  - platform: gpio&lt;br /&gt;
    pin: GPIO4&lt;br /&gt;
    inverted: False&lt;br /&gt;
    id: red_led_gpio&lt;br /&gt;
  - platform: gpio&lt;br /&gt;
    pin: GPIO14&lt;br /&gt;
    inverted: False&lt;br /&gt;
    id: blue_led_gpio&lt;br /&gt;
  - platform: gpio&lt;br /&gt;
    pin:&lt;br /&gt;
      number: GPIO12&lt;br /&gt;
      inverted: false&lt;br /&gt;
    id: relay1&lt;br /&gt;
&lt;br /&gt;
binary_sensor:&lt;br /&gt;
  - platform: gpio&lt;br /&gt;
    internal: true&lt;br /&gt;
    pin:&lt;br /&gt;
      number: GPIO13&lt;br /&gt;
      mode: INPUT_PULLUP&lt;br /&gt;
      inverted: true&lt;br /&gt;
    name: ${display_name} Switch&lt;br /&gt;
    on_press:&lt;br /&gt;
      - switch.toggle: load&lt;br /&gt;
&lt;br /&gt;
light:&lt;br /&gt;
  - platform: binary&lt;br /&gt;
    name: &amp;quot;Red LED&amp;quot;&lt;br /&gt;
    id: red_led&lt;br /&gt;
    internal: true    &lt;br /&gt;
    output: red_led_gpio&lt;br /&gt;
  - platform: binary&lt;br /&gt;
    name: &amp;quot;Blue LED&amp;quot;&lt;br /&gt;
    id: blue_led&lt;br /&gt;
    internal: true    &lt;br /&gt;
    output: blue_led_gpio&lt;br /&gt;
&lt;br /&gt;
switch:&lt;br /&gt;
  - platform: output&lt;br /&gt;
    name: ${friendly_name} Load&lt;br /&gt;
    id: load&lt;br /&gt;
    # internal: true&lt;br /&gt;
    output: relay1&lt;br /&gt;
    on_turn_on:&lt;br /&gt;
      - light.turn_on: red_led&lt;br /&gt;
    on_turn_off:&lt;br /&gt;
      - light.turn_off: red_led&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>WallK</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.recessim.com/w/index.php?title=File:OZWIplug_pins.png&amp;diff=2164</id>
		<title>File:OZWIplug pins.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.recessim.com/w/index.php?title=File:OZWIplug_pins.png&amp;diff=2164"/>
		<updated>2023-12-18T15:14:28Z</updated>

		<summary type="html">&lt;p&gt;WallK: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Pinout of the OZWI Plug ESP8266 board&lt;/div&gt;</summary>
		<author><name>WallK</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.recessim.com/w/index.php?title=File:OZWIplug_inside2.jpg&amp;diff=2163</id>
		<title>File:OZWIplug inside2.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.recessim.com/w/index.php?title=File:OZWIplug_inside2.jpg&amp;diff=2163"/>
		<updated>2023-12-18T15:12:58Z</updated>

		<summary type="html">&lt;p&gt;WallK: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Top of the OZWI Plug PCB&lt;/div&gt;</summary>
		<author><name>WallK</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.recessim.com/w/index.php?title=File:OZWIplug_inside1.jpg&amp;diff=2162</id>
		<title>File:OZWIplug inside1.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.recessim.com/w/index.php?title=File:OZWIplug_inside1.jpg&amp;diff=2162"/>
		<updated>2023-12-18T15:09:11Z</updated>

		<summary type="html">&lt;p&gt;WallK: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Top of the OZWI Plug PCB&lt;/div&gt;</summary>
		<author><name>WallK</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.recessim.com/w/index.php?title=OZWI_Smart_Plug&amp;diff=2161</id>
		<title>OZWI Smart Plug</title>
		<link rel="alternate" type="text/html" href="https://wiki.recessim.com/w/index.php?title=OZWI_Smart_Plug&amp;diff=2161"/>
		<updated>2023-12-18T15:03:34Z</updated>

		<summary type="html">&lt;p&gt;WallK: Created page with &amp;quot;thumb ==Description== This is a dirt cheap &amp;quot;smart&amp;quot; plug with ESP8266 inside. It's designed for 230V and 10A max current, but other regional versions exist.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:OZWIPlug1.jpg|thumb]]&lt;br /&gt;
==Description==&lt;br /&gt;
This is a dirt cheap &amp;quot;smart&amp;quot; plug with ESP8266 inside. It's designed for 230V and 10A max current, but other regional versions exist.&lt;/div&gt;</summary>
		<author><name>WallK</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.recessim.com/w/index.php?title=File:OZWIPlug1.jpg&amp;diff=2159</id>
		<title>File:OZWIPlug1.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.recessim.com/w/index.php?title=File:OZWIPlug1.jpg&amp;diff=2159"/>
		<updated>2023-12-18T15:02:39Z</updated>

		<summary type="html">&lt;p&gt;WallK: WallK moved page File:Plug1.jpg to File:OZWIPlug1.jpg: More descriptive name&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;OZWI Smart plug front&lt;/div&gt;</summary>
		<author><name>WallK</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.recessim.com/w/index.php?title=File:Plug1.jpg&amp;diff=2160</id>
		<title>File:Plug1.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.recessim.com/w/index.php?title=File:Plug1.jpg&amp;diff=2160"/>
		<updated>2023-12-18T15:02:39Z</updated>

		<summary type="html">&lt;p&gt;WallK: WallK moved page File:Plug1.jpg to File:OZWIPlug1.jpg: More descriptive name&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File:OZWIPlug1.jpg]]&lt;/div&gt;</summary>
		<author><name>WallK</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.recessim.com/w/index.php?title=File:OZWIPlug1.jpg&amp;diff=2158</id>
		<title>File:OZWIPlug1.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.recessim.com/w/index.php?title=File:OZWIPlug1.jpg&amp;diff=2158"/>
		<updated>2023-12-18T14:59:18Z</updated>

		<summary type="html">&lt;p&gt;WallK: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;OZWI Smart plug front&lt;/div&gt;</summary>
		<author><name>WallK</name></author>
		
	</entry>
</feed>