Destroyed Tuya Smart Plug (markdown)

Adrian Scillato 2018-10-09 00:44:56 -03:00
parent d8e6e75010
commit 2e6af1cfd1
1 changed files with 0 additions and 31 deletions

@ -1,31 +0,0 @@
These are simple, No-Name smart plugs (I bought these at AliExpress). One of them has ESP8266MOD chip (by AI-THINKER), other one has ESP-12F chip (by TUYA L/N 0026). Both are actually same chips and are flashed the same way.
Photo
You need to solder 5 wires all together:
1. VCC (3.3V)
2. GND (GROUND)
3. Rx
4. Tx
5. GPIO0
Photos
To put this chips into flash mode, we need to jump wire GPIO0 and GROUND, before you plug your USB adapter into computer. Release jump wire after couple of seconds. Red LED (bottom one) should slightly lit up. Now you can start flashing process.
Photo
When flashing process is complete, you can unplug USB adapter. Your TUYA smart plug is TASMOTIZED.
Now you can use Termite app, to load your router WiFi SSID and password using below commands:
(just copy and paste all of it, but put your details in)
> Backlog SSID1 YOUR_SSID_NAME; Password1 YOUR_WIFI_PASSWORD; MqttHost MQTT_INTERNAL_IP_ADDRESS; MqttUser MQTT_USER_NAME; MqttPassword MQTT_PASSWORD; Hostname tuya_sp1; MqttClient Tuya_SP1; GroupTopic tuya; Topic tuya_SP1; FriendlyName1 Tuya_SP1; Emulation 1
After that, Termite should tell you, what IP address was assigned to your smart plug. Put that IP address in your browser and you should see Tasmota GUI.
Go into Configuration > Configure Module > Change to Generic (and click Save).
After restart, go into Configuration > Configure Module and change GPIO's as on screen below.
That's it, now your smart plug will flash both red and blue leds and smart plug button should respond to press.
Special thanks to Travis Griggs for his help with flashing process (I based this tutorial on his own: [LINK](https://github.com/arendst/Sonoff-Tasmota/wiki/SM-SO301)