The ESP8266 downloads the OTA for the Arduino Pro Mini from a URL on an http server, then powercycles the Pro Mini pulsing PC6/RESET, during which it also drives the Mini's DTR low. After RESET goes ...
This program written with Arduino Code running on ESP8266 (Wemos D1) is just a test to access, read status and control Tuya compatible WiFi Smart Devices (Plugs, Switches, Lights, Window Covers, etc.) ...