meta data for this page
  •  

This is an old revision of the document!


Gosund SP111 Smart Plug

How to reflash with custom firmware using OTA: TUYA-CONVERT

I was using tasmota-lite.bin v9.2.0 firmware.

pushd files
wget tasmota-lite.bin v9.2.0 
popd

tuya-covert needs small fix for calling iw binary on Debian Buster:

======================================================
Starting smart config pairing procedure
Waiting for the device to install the intermediate firmware
Put device in EZ config mode (blinking fast)
Sending SSID                  vtrust-flash
Sending wifiPassword          
Sending token                 00000000
Sending secret                0101
................
SmartConfig complete.
Resending SmartConfig Packets
..................................
IoT-device is online with ip 10.42.42.42
Fetching firmware backup
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1024k  100 1024k    0     0  69658      0  0:00:15  0:00:15 --:--:-- 32846
curl: Saved to filename 'firmware-1a94dd.bin'
======================================================
Getting Info from IoT-device
VTRUST-FLASH 1.5
(c) VTRUST GMBH https://www.vtrust.de/35c3/
READ FLASH: http://10.42.42.42/backup
ChipID: 1a94dd
MAC: 50:02:91:1A:94:DD
BootVersion: 7
BootMode: normal
FlashMode: 1M DOUT @ 40MHz
FlashChipId: 144051
FlashChipRealSize: 1024K
Active Userspace: user2 0x81000
======================================================
Ready to flash third party firmware!
 
For your convenience, the following firmware images are already included in this repository:
  Tasmota v8.1.0.2 (wifiman)
  ESPurna 1.13.5 (base)
 
You can also provide your own image by placing it in the /files directory
Please ensure the firmware fits the device and includes the bootloader
MAXIMUM SIZE IS 512KB
 
Available options:
  0) return to stock
  1) flash espurna.bin
  2) flash tasmota.bin
  3) flash tasmota-lite.bin
  q) quit; do nothing
Please select 0-3: 2
Are you sure you want to flash tasmota.bin? This is the point of no return [y/N] y
Attempting to flash tasmota.bin, this may take a few seconds...
Flashed http://10.42.42.1/files/tasmota.bin successfully in 11289ms, rebooting...
Look for a tasmota-xxxx SSID to which you can connect and configure
Be sure to configure your device for proper function!
 
HAVE FUN!
======================================================
Do you want to flash another device? [y/N] y
======================================================