-
-
Notifications
You must be signed in to change notification settings - Fork 508
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
Logs seem to indicate device doesn't use ESP82XX when I have confirmed that it does #380
Comments
Is this from the one you tore apart? The same model can use different Tuya modules, the WR3 is designed to be pin out compatible. |
same issue here :( I bought the LSC Smart Connect devices (LED Bulb, Motion Sensor and Door Sensor), all with live seen ESP82XX on board. I set them into pairing mode, they are blinking fast, after starting flash they stop blinking (Bulb for example has stativ light). Tuy tries resending smartconfig packets for a while then tells me " Device did not appear with the intermediate firmware", log indicates them as "non ESP82XX". I just tried 2 different raspberrys, with different SD Cards with and without external wifi. Is it normal, that there is no internet connection at the vtrust wifi? smarthack-mqtt.log |
Are you able to retrieve a backup of the firmware over serial? I can use this to help debug the issue.
Yes |
Also helpful would be a network capture of the device registering with the cloud through the app |
I can try that next week! The network capture is difficult for me as long as I do not want to use the app 😅 maybe I also give it a try. |
same problem here. also saying that there is no ESP82XX |
@oscar-rr have you opened the device to confirm? |
Can any of you confirm this message is wrong with a picture of the ESP chip on the device that is giving this message? This message was added to inform users why a flash might not be completing successful, but it does not alter the behavior of |
I can check again tomorrow and send a pic of proof, i will also try to do a backup via ftdi. |
I threw away the device I destroyed to get to the chip, but it was absolutely an ESP chip. Are you saying that Tuya-convert doesn’t perform a check before flashing, but rather that his message is occurring for other reasons?
… On Nov 10, 2019, at 10:26 AM, Colin Kuebler ***@***.***> wrote:
Can any of you confirm this message is wrong with a picture of the ESP chip on the device that is giving this message?
This message was added to inform users why a flash might not be completing successful, but it does not alter the behavior of tuya-convert in any way. So if a flash is not completing with this message, removing the message will not make it more likely to complete.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
|
Surely Tuya aren't labeling Wi-Fi modules that contain an ESP (e.g., TYWE3S) with the same model number as a module that contains a RTL chip? It seems that they'd have to differentiate the modules in FCC filings due to what is likely different Wi-Fi radio specs between the two chips. |
Hmmmm I think you are right. I was fooled by the wifi Chip. There is a STML8 processor on the board. Maybe this one is doing the work. https://www.mouser.com/datasheet/2/389/stm8l051f3-956454.pdf In this case Tuya Convert doesn't seem to be the right choice for me ;) What do the others think? |
Don`t wanna give up too fast: Recording to this german forum https://www.mikrocontroller.net/topic/479796 It seems that this one (STM8) works like a energy gatekeeper. Maybe this one should be bridged in order to wake up the ESP for flashing... maybe something like this https://github.com/arendst/Tasmota/wiki/DM_WF_MDV4 |
Good work @fatfox511. This does add some depth to the mystery :) The next step would be getting a copy of the firmware so we can begin reverse engineering the differences. @meingraham you would think, but the Teckin SP22 (#269) uses the same model number for both ESP and RTL based versions. Maybe this is an FCC violation, but IANAL. |
thank you @kueblc ! I stay tuned on the mikrocontroller forum asking the member how he's got an ftdi connection. There are some connecting plates (swim,rst, gnd, 3v3) on the backside of the board, maybe I can gather some information before soldering. I don't know if I can use the swim "pin" and the rst for tx and rx. If the worst comes to the worst i need to go directly on the TYWE3S Pins. |
IIRC I think SWIM is a STM thing, "single wire interface module", not standard serial. |
I have no idea if the below is useful or not, I'm not a programmer, nor have I ever played one on TV. I have a box of Teckin SP10s that I had hoped to put Tasmota on but couldn't get tuya-convert to connect to and flash. I tore one apart hoping to be able to flash via serial, but couldn't get to the location of the chip connections to solder without significantly destroying the enclosure, so I set them aside.
|
This is interesting data @terryhonn, thank you! It does confirm that in your case, the firmware is running on a RTL8195A. |
@fatfox511 it looks like this device, with
But it does look like it's repeating the config calls, which has been indicative of schema problems, some of which may be resolved with release v2.2.0 |
The device producing the warning in your web logs was |
Sorry for my lateness. Yeah thats right. I tried the procedure multiple times with different devices (Door Sensor, Motion Sensor, Light Bulb), all of them are having the ESP in it, but maybe i mixed up the Log Files with on of the 3 devices. The pictures of the PIR sensor and the backup bin file are just for an example and for further examination :) I hope it helps anyway. |
All evidence points to the warning message being accurate, and checking the SDK confirms. The Tuya ESP8266 SDK contains no reference to Please feel free to post any new findings, but for now closing this issue as invalid since the message is presumably accurate. |
I am now attempting to flash a Teckin SP10. The log seems to indicate that this does not use the ESP82XX, but having torn one apart, I can assure you that it does. I'm not aware of the current firmware as I have not connected it to Tuya's servers and I do not know of another way to obtain that information. Any advice would be greatly appreciated:
smarthack-mqtt.log
smarthack-psk.log
smarthack-web.log
smarthack-wifi.log
The text was updated successfully, but these errors were encountered: