New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Temporarily Solved] Timed out while waiting for the device to (re)connect #1022
Comments
Sorry, I don´t have any suggestions for a solution - but the same issue I think.
The devices go from blinking fast to a state where they either do nothing (no blinking) or they switch the relay about avery 2 minutes ... For troubleshooting I tried to connect one of them to the official Tuya cloud - which worked right away with no problem (and rendered the device unflashable due to immedeate firmware update - now that one errors out with "firmware is to new...", which is expected). Attached my logs from one try - but I can´t find out from them why the flash does not proceed ... Any help would be highly appreciated ... thanks. |
@MacSass I looked at your WIFI and WEB logs, they are pretty similar to mine. Somehow, device starts getting "upgrade.bin" ( What is that binary by the way? ) and then just starts over and over again. In your case, I see some other weird files, such as "connecttest.txt" and "wpad.dat" ( What are they ? ) I wish there has been a clear sequence diagram in this repository ( I am volunteer to write & document it ) to explain how it works, how it mocks tuya's server to intercept upgrade process, what are the contents of this repository, what to do when it fails ( an extensive troubleshooting section ) I hope authors might have a look at our logs, and give us some advices. |
Hi @stulluk, thanks for looking at those ... Let´s see if one of the authers finds the time to throw in some breadcrumbs for us to help us understand better ... PS: I will check my logs for "upgrade.bin", the "doing it over and over" might explain why I´m hearing the device flipping the relay periodically about every 1-2 minutes ... |
Hi, just fyi: I tried the pycryptodomex downgrade mentioned here: #1013 (comment) |
I tried the change mentioned here: #1023 but that did not make a difference, still can´t get my devices flashed. Also I do not understand the full flow but the rough steps for me seem to be something like:
I might have a lot wrong and incomplete - would be great if someone who has more knowledge could look into the issue or provide some more hints what to do ... |
Looks like exactly the same issue current Raspberry images have. Which isn't too surprising that you see the same issue on Ubuntu. |
I had exactly the same problem on Ubuntu 21.10 on an Asus chromebook SN60. After finding this ticket, I tried again on an RPi4 running Debian 10.10 and it worked on first try! |
Thank you so much for your feedback. I currently don't have a ready NEO device at hand, but I will try when I get with my RPi4b. |
@kintel I get new NEO Wifi PowerPlugs. I have a Rpi4b-4Gbyte model at hand. But I can't find Debian 10.10 image for it. And with newer images ( Debian 11 ), this issue still persists. Could you please provide the link, where do you download this Debian 10.10 image ? Or, if you can't find, can you dump your SDcard image with Debian 10.10, and upload to gdrive, so I can download & try ? |
There are some older packages here: https://downloads.raspberrypi.org/raspios_arm64/images/ |
My bad. I installed this: https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2020-05-28/2020-05-27-raspios-buster-arm64.zip on my Rpi4b -4Gbyte model, and it just worked out of the box ! I will write a blog post accordingly and provide ready made SDcard image for it. Thank you @kintel ! |
Here is the blog post for the ones interested: https://www.drejo.com/blog/neo-tuya-tasmota/ I hope this dependency issue with newer debian & ubuntu issues will be fixed in this repository. |
Awesome! |
This worked for me as well with a SWB1: [https://www.amazon.com/dp/B07MFTRMM3?psc=1&ref=ppx_yo2ov_dt_b_product_details] |
I had similar issues trying to install from Bullseye and Ubuntu 22.10. I flashed a minimal Buster environment, installed tuya-convert, and my XS-SSA06 flashed within seconds. Thank you! |
Same here, I used |
Raspberry Pi 4b with Raspberry Pi OS (Bullseye): I had an issue with flashing a device because mosquito did not work. Bevor that, it did not bind to the wifi interface and did not allow anonymous login. |
Solution: I managed to install tasmota to all my Neo Wifi PowerPlug by using Rpi4b-4Gbyte model and with very old Debian 10.10 image. Newer ( bullseye ) images don't work. See last comments below.
Device: NEO COOLCAM WIFI PLUG EU : http://www.szneo.com/en/products/show.php?id=215
PC: Intel NUC with Ubuntu 21.04 focal (With built-in WIFI adapter)
Here is the failure:
Logs:
smarthack-mqtt.log
smarthack-psk.log
smarthack-udp.log
smarthack-web.log
smarthack-wifi.log
About 1 year ago, I succesfully converted 3 units ( exactly same model ) with tuya-convert. But now, I can not (tried on brand new two units, both failed)
I allways get this same error message:
Timed out while waiting for the device to (re)connect
What I tried:
Ready to provide more logs if necessary.
What are your suggestions ?
The text was updated successfully, but these errors were encountered: