Skip to content
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

Stuck on flashing minimal build off tasmota on TECKIN SP22 #4

Closed
fastriker opened this issue Jan 23, 2019 · 20 comments
Closed

Stuck on flashing minimal build off tasmota on TECKIN SP22 #4

fastriker opened this issue Jan 23, 2019 · 20 comments
Labels
help wanted Extra attention is needed

Comments

@fastriker
Copy link

fastriker commented Jan 23, 2019

I followed the guide on heise. I already got the device info:

======================================================
Getting Info from IoT-device
VTRUST-FLASH 1.0
(c) VTRUST GMBH https://www.vtrust.de/35c3/

READ FLASH: http://10.42.42.42/get?read=HEX-ADDRESS
ChipID: xxxxxx
MAC: YY:YY:YY:XX:XX:XX
SdkVersion: 1.5.3(aec24ac9)
BootVersion: 4
BootMode: 1
FlashMode: 1M DOUT @ 40MHz
FlashChipId: 144051
FlashChipRealSize: 1048576
FlashChipSize: 1048576
FlashChipMode: 3
system_upgrade_userbin_check: user2 0x81000

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

After this I try to get tasmota:

curl http://10.42.42.42/flash3

And got the following response:

Device should flash http://10.42.42.1/files/user2.bin and restart

Tasmota never started. Instead I see a SSID named ESP_XXXXXX. Connecting to it gives me the IP 192.168.4.2 and a default gateway on 192.168.4.1. I can ping the device on that address, but it didn't reply to http requests.

Because user2.bin is linked to esp8266-ota-flash-convert.ino-0x81000.bin: What is it? Why the command don't install sonoff-minimal.bin?

Do anybody have some hints for me, what I did wrong or some advises how I can continue without opening the device? Maybe this is also connected to issue #2?!

@nanobyte84
Copy link
Collaborator

Can you telnet into 192.168.4.1?

@fastriker
Copy link
Author

Unfortunately not:

Trying 192.168.4.1...
telnet: Unable to connect to remote host: Connection refused

@nanobyte84
Copy link
Collaborator

Did you cycle the power after doing the upgrade?

@fastriker
Copy link
Author

Yes, after a longer time. I guess more than 10 minutes. The ESP_XXXXXX network was already visible at that time.

@krikk
Copy link

krikk commented Jan 23, 2019

had exact the same experience on an Gosund SP1 (Version 2.4)

@nanobyte84
Copy link
Collaborator

I just doublechecked and can ussure that after flash3 the message

Device should flash http://10.42.42.1/files/user2.bin and restart

was just wrong and thirdparty.bin was flashed.
This message is fixed now.

Now I am right now trying to reproduce your error...

@baxerus
Copy link

baxerus commented Jan 24, 2019

Device: TECKIN SP22

I got the new, right message after curl http://10.42.42.42/flash3 (git tells me it is commit 9a6970f8857018fe343ee53ad706c1534d5a9c89), but now the led is just blinking. No network appears. Also pressing the button does nothing (it changed the relay state before flashing).

After power cycling it is blinking fast first in a around half sec on, half sec off rhythm. Than after about 15 secs it changes to a slower one sec on, one sec off blinking.

I tried some tasmota button usage (see https://github.com/arendst/Sonoff-Tasmota/wiki/Button-Usage) but nothing works.

I also tried if the device would reappear in a second attempt using ./start_flash.sh, but also no luck.

@chrisrock1984
Copy link

I had the same issue - no tasmota wifi after "Device should flash http://10.42.42.1/files/user2.bin and restart" message. Needed to open the LED bulb and flash it the old way ;-). I hope this will be fixed...

@GeorgeIoak
Copy link

@chrisrock1984 I haven't looked too hard yet as I've been tearing apart different plugs but could you give me some hints on how to open the bulb without making a mess of it. I've got a collection of datasheets for the actual WiFi modules used in the plugs (3 so far) so perhaps we should add another section in the Wiki for this type of general information?

@datayeah
Copy link

datayeah commented Jan 25, 2019

@GeorgeIoak you can open the bulb by pulling hard on the semi-transparent plastic-top of the bulb. It's just "clicked" in, so you will not harm the bulb. The rest inside is just held together by a few screws.

@austinlg96
Copy link

If it's just flashing, it sounds like it's in WPS mode. The outlets that I had never broadcasted an SSID, but they hooked right up when I pressed the WPS button on my router. The button did nothing because the default GPIO was wrong. The led on my outlet just flashed about once a second.

@HeinrichLohse
Copy link

I have the same issue as @baxerus but with a Maxico W-DE004 (commit 9ff3d69).

@baxerus
Copy link

baxerus commented Jan 26, 2019

@HeinrichLohse I already tried using WPS with my Fritzbox, but it also didn't work.

But lucky me, after having the outlet connected to power for a longer time the network sonoff-XYZ appeared. Yeah! 👍

Do not know exactly, something between 5 to 15mins. At least I discovered it after this time. But I was looking for it some days before for long enough for sure! So perhaps it is worth to try power cycling multiple times and waiting for some minutes inbetween (perhaps only a hickup)?

@HeinrichLohse
Copy link

@baxerus, thanks for motivating me to just plug it in again. Surprisingly the sonoff-xxxx network showed up immediately. Now everythink works as expected.

@merlinschumacher merlinschumacher added the help wanted Extra attention is needed label Jan 28, 2019
@sdwhite67
Copy link

I have just flashed 4 TECKIN SP23s (UK model) with Tasmota and it worked like a charm. Set it up as a BlitzWolf and everything is working great.

@willngton
Copy link

Pretty much same thing happened with SP20 US version.
The device just stops and no more led light just when trying to backup firmware stage.

@sfossen
Copy link

sfossen commented Feb 6, 2019

Pretty much same thing happened with SP20 US version.
The device just stops and no more led light just when trying to backup firmware stage.

mine did the same, so I tried starting the script again, without restarting the plug, and then it backed up original and flashed the new.

@modellbobby
Copy link

Hi Guys,

i have lot of TECKIN EU SP22 and i followed the procedure. I come till the SonoffXXXX AP turns on and then I only can setup my WIFI credentials on that but cannot set the model. Is this by design? All my TECKINS dissapear afterwards and seem to not connect to the net and are not reachable.

Please help!

@kueblc
Copy link
Collaborator

kueblc commented Mar 23, 2019

Closing due to inactivity. If you're still having problems, please open a new issue with your device details and full logs.

@kueblc kueblc closed this as completed Mar 23, 2019
@nitinuae
Copy link

Hello
I dont know if replying to this closed issue is correct or not.
I installed the tuyaconvert on kali linux live CD and used it to flash a no name power strip (opened to see it was Tuya).

I am now stuck at ESP-xyz as wifi. It hands out 192.168.4.2 (also 4.3 if another device tries) but says refused to open page 192.168.4.1.

Am I stuck? Or this issue has opened again in latest build?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests