ct-Open-Source / tuya-convert

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

Nedis WIFIPO110FBK fails to flash #1009

Open bphermansson opened 2 years ago

bphermansson commented 2 years ago

I'm trying to flash a Nedis WIFIPO110FBK but it fails. It just keeps "Resending SmartConfig Packets" until it times out. smarthack-mqtt.log smarthack-wifi.log smarthack-udp.log smarthack-psk.log smarthack-web.log IMG_20211206_155436658

watkef commented 2 years ago

I've got the same isue, only with the Nedis WIFIP130FWT. Resending SmartConfig Packets until it times out. It says "Attempting to diagnose the issue..." until it says my device does not use an ESP82xx. According to a website with an overview for Tasmota compatible devices, the WIFIP130FWT does indeed have a ESP8266.

nedis

watkef commented 2 years ago

Not sure how I can see PSK ID in smarthack-psk.log to check if it has patched firmware, but this suggests the newer tuya products from Nedis have a WB3S module instead of ESP8266.

kueblc commented 2 years ago

@bphermansson I found this in your web log:

ModuleNotFoundError: No module named 'tornado'

The python based web server can't find a dependency. Did you run ./install_prereq.sh?

kueblc commented 2 years ago

@watkef I'm afraid you do, in all likelihood, have a non-ESP device. The integrated check is pretty robust, at least in terms of false positives.

bphermansson commented 2 years ago

I think I fixed the lack of tornado, but I'm not sure. I was using a Fedora system and couldn't run the install script. But now I am on an Ubuntusystem and will give it another try.

bphermansson commented 2 years ago

Now I got another answer, so now I now the problem:

Attempting to diagnose the issue... Your device's firmware is too new. Tuya patched the PSK vulnerability that we use to establish a connection. You might still be able to flash this device over serial.