ct-Open-Source / tuya-convert

A collection of scripts to flash Tuya IoT devices to alternative firmwares
MIT License
4.58k stars 497 forks source link

Flash issue LSC Smart Led RGB GU10 380 lumen: Device did not appear with the intermediate firmware #738

Open mvaneijken opened 4 years ago

mvaneijken commented 4 years ago

I'm experiencing a issue to flash a "LSC Smart Led RGB GU10 380 lumen" (Sold in the Netherlands as "LSC Smart Connect slimme multicolor spot" [(https://www.action.com/nl-nl/p/lsc-smart-connect-slimme-multicolor-spot/)]).

The message that is displayed is: "Device did not appear with the intermediate firmware". I bought 3 of these devices, but none of them I was able to flash. They where all having the same issue.

In this specific example, the device was shown on the network named as ESP_4D192A with MAC C8:2B:96:4D:19:2A.

Ps. The "Temporary failure in name resolution" issue should not have influence on this I think, because I flashed multiple other LSC devices with this error shown.

The logs are attached below.

tuya-convert v2.4.4
Checking for network interface wlan0... Found.
Checking UDP port 53... sudo: unable to resolve host ubuntu: Temporary failure in name resolution
Available.
Checking UDP port 67... sudo: unable to resolve host ubuntu: Temporary failure in name resolution
Available.
Checking TCP port 80... sudo: unable to resolve host ubuntu: Temporary failure in name resolution
Available.
Checking TCP port 443... sudo: unable to resolve host ubuntu: Temporary failure in name resolution
Available.
Checking UDP port 6666... sudo: unable to resolve host ubuntu: Temporary failure in name resolution
Available.
Checking UDP port 6667... sudo: unable to resolve host ubuntu: Temporary failure in name resolution
Available.
Checking TCP port 1883... sudo: unable to resolve host ubuntu: Temporary failure in name resolution
Available.
Checking TCP port 8886... sudo: unable to resolve host ubuntu: Temporary failure in name resolution
Available.
======================
  Starting AP in a screensudo: unable to resolve host ubuntu: Temporary failure in name resolution

  Starting web server in a screen
sudo: unable to resolve host ubuntu: Temporary failure in name resolution
  Starting Mosquitto in a screen
sudo: unable to resolve host ubuntu: Temporary failure in name resolution
  Starting PSK frontend in a screen
sudo: unable to resolve host ubuntu: Temporary failure in name resolution
  Starting Tuya Discovery in a screen
sudo: unable to resolve host ubuntu: Temporary failure in name resolution

======================================================

IMPORTANT
1. Connect any other device (a smartphone or something) to the WIFI vtrust-flash
   This step is IMPORTANT otherwise the smartconfig may not work!
2. Put your IoT device in autoconfig/smartconfig/pairing mode (LED will blink fast). This is usually done by pressing and holding the primary button of the device
   Make sure nothing else is plugged into your IoT device while attempting to flash.
3. Press ENTER to continue

======================================================
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
................................................................................................................
Device did not appear with the intermediate firmware
Check the *.log files in the scripts folder
Do you want to try flashing another device? [y/N] y
======================================================

IMPORTANT
1. Connect any other device (a smartphone or something) to the WIFI vtrust-flash
   This step is IMPORTANT otherwise the smartconfig may not work!
2. Put your IoT device in autoconfig/smartconfig/pairing mode (LED will blink fast). This is usually done by pressing and holding the primary button of the device
   Make sure nothing else is plugged into your IoT device while attempting to flash.
3. Press ENTER to continue

======================================================
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
.................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
..................
SmartConfig complete.
Resending SmartConfig Packets
................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
............
Device did not appear with the intermediate firmware
Check the *.log files in the scripts folder
Do you want to try flashing another device? [y/N] n
======================================================
Cleaning up...
sudo: unable to resolve host ubuntu: Temporary failure in name resolution
sudo: unable to resolve host ubuntu: Temporary failure in name resolution
sudo: unable to resolve host ubuntu: Temporary failure in name resolution
sudo: unable to resolve host ubuntu: Temporary failure in name resolution
Closing AP
sudo: unable to resolve host ubuntu: Temporary failure in name resolution
Exiting...

smarthack-psk.log smarthack-udp.log smarthack-web.log smarthack-wifi.log smarthack-mqtt.log

kueblc commented 4 years ago

Looks like #722