ct-Open-Source / tuya-convert

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

Neo Coolcam NAS-WR01W-16A stuck on intermediate firmware #705

Open lerra opened 4 years ago

lerra commented 4 years ago

Hi,

I while ago I used tuya-convert successfully on 2/3 neo coolcam's, the one left out I thought got bricked. Now six months later when I looked more into the problem, I see now it is stuck on the intermediate firmware as the device button unresponsive.

I have been trying to check the wiki and earlier issues without understanding what my next step is. I tried the npm package (from https://github.com/ct-Open-Source/tuya-convert/issues/472) but got the following error: { Error: connect ECONNREFUSED 192.168.4.1:6668 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1113:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '192.168.4.1', port: 6668 }

Logs attached. any help? logs.zip

kueblc commented 4 years ago

From your web log, it looks like the device did grab Tasmota. Are you sure it is not running Tasmota now?

You can try to continue the process by resuming start_flash, but you do not need to connect another phone if the device is already running the intermediate firmware. It will also not respond to tuyapi with the intermediate firmware, as tuyapi only works with Tuya firmware.

lerra commented 4 years ago

Sorry for slow response,

No success :(

I have tried with having the plug running while I do the start_flash.sh (with no mobile) and pressing enter and the same process by restarting the plug.

I also tried now with the latest checkout from git

attaching logs and output, logs.zip

kueblc commented 4 years ago

Nothing connected in these most recent logs, so I don't have any advice for you at the moment

lerra commented 4 years ago

To bad,

I noticed one thing, it does announce a wifi network named ESP-XXX,

Anything that could help?

KoalaBear84 commented 4 years ago

If it announces a wifi network you can connect to it and fill in the right wifi settings?

See part "3.": https://github.com/ct-Open-Source/tuya-convert#flash-third-party-firmware

lerra commented 4 years ago

Sorry for slow response, there is zero services/ports open on it so its not possible

dgrostoto commented 4 years ago

Hello, I got the exactly same problem on the same plug. The only difference is that the wifi AP ESP-xxxx does not show up each time i power the plug. And when it shows up it disappear most of the time few seconds later. I suspect there is an hardware problem with the plug. For precision i bought 6 same plugs, and only one got this problem as far as now.

pizzabakker commented 4 years ago

Hello, I got the exactly same problem with neo Coolcam Plugs. Last 4 i ordered all had new firmware blocking Tuya convert. :-( Do not want my devices to be in the Tuya 'prison'.

Gunner251192 commented 3 years ago

Hi, when running Tuya convert it seems to regocnize the plug, because it stops blinking fast or you hear the relay clicking. I got 10! of them ( NAS-WR01W 16A plugs bought 3 weeks ago) and really want them to flash so i can use them local in my automations. It would be really great to get this fixed, to help i uploaded my logs when running Tuya Convert, if there is someone who can point me in the right direction it would be really great. They are pretty useless now.

Thanks in advance.

kueblc commented 3 years ago

Hey @Gunner251192, your log file upload is password protected. I'll take a look for you when you reupload the logs. In the future, please refrain from cross posting your issue, I'll get notified when you post on any issue so once is sufficient.

Gunner251192 commented 3 years ago

Hey @Gunner251192, your log file upload is password protected. I'll take a look for you when you reupload the logs. In the future, please refrain from cross posting your issue, I'll get notified when you post on any issue so once is sufficient.

Hi @kueblc, Wow that's a fast response :) Yeah, i was not sure if #666 was the right issue log since this one suits better, so i copied this in. NAS-WR01W.zip I'm quite curious

Have a nice weekend.

kueblc commented 3 years ago

The bad news is this device is running the new patched firmware from Tuya, incompatible with tuya-convert. See #483

The good news is this device is still using an ESP82xx chip compatible with alternative firmware such as Tasmota. You can flash these "the old fashion way" by connecting to the serial port inside the device.

Gunner251192 commented 3 years ago

Yeah i know this is al solution don this in the past. But it is always a hassle and easy to break stuff. I see this is a problem with more and more devices, are there any expectations to get this working again for new devices any time soon or is that dificult to say ?

Then i can start thinking to do this manually over the serial interface or wait for the (hopefully) new Tuya Convert.