Created LSC Smart Connect Smart Power Plug (markdown)

Bernardus Jansen 2019-08-31 16:58:46 +02:00
parent 3bc4986fce
commit 794642f3da
1 changed files with 23 additions and 0 deletions

@ -0,0 +1,23 @@
Simple somewhat compact WiFi controllable EU plug socket. Sold in the Netherlands by Action.
## Product
![Box](https://www.action.com/globalassets/cmsarticleimages/79/98/2578685_8712879142782-111.png?preset=mediaSliderImageLarge)
![Plug](https://www.action.com/globalassets/cmsarticleimages/79/99/2578685_8712879142782-110_02.png?preset=mediaSliderImageLarge)
## Internals
Inside the device is a Tuya TYWE2S. Unfortunately it is running one of the newer firmwares as the device attempts to connect a server over HTTPS which means OTA flashing using Tuya-convert is not possible.
## Flashing
Simply connect the (clearly labeled) 3v3, GND, TX, RX pins of the TYWE2S to the appropriate pins on your serial adapter and connect IO0 to GND to enter flashing mode.
With the device connected and in flashing mode, create a backup of the factory firmware, erase the flash, and flash a tasmota firmware approximately as follows:
esptool.py read_flash 0x000000 0x100000 image1M.bin
esptool.py erase_flash
esptool.py write_flash -fs 1MB -fm dout 0x0 sonoff-basic.bin`
## Configuration
⚠️ Warning! While the below configuration is correct and working, configuring a button on GPIO14 will make the device reset itself to the default Tasmota configuration after a number of seconds.
![Config](https://user-images.githubusercontent.com/6934851/64065636-298a8e00-cc10-11e9-9909-1077e665513d.png)