question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

More Teckin SP27 (UK) woes

See original GitHub issue

Having sucessfully flashed some Teckin SP23s I bought a 4-pack of Teckin SP27s from Amazon.co.uk only to find that I can’t flash them with tuya-convert 😦

I then found issue #364 (wish I’d spotted that before purchasing them) which seems to imply that these are just not usable.

Before I return them, I thought it might be worthwhile getting some more logs and info just in case it’s a tweak to tuya-convert rather than a total fail.

Running tuya-convert, connecting a phone to the vtrust-flash AP and putting the Teckin into fast flash mode, I see the Teckin device get an IP allocated of 10.42.42.25 and it then broadcasts the following (captured with tcpdump -Xi wlan0 host 10.42.42.25):

09:02:33.776804 IP 10.42.42.25.49153 > 255.255.255.255.6667: UDP, length 172
        0x0000:  4500 00c8 0085 0000 ff11 865d 0a2a 2a19  E..........].**.
        0x0010:  ffff ffff c001 1a0b 00b4 a492 0000 55aa  ..............U.
        0x0020:  0000 0000 0000 0013 0000 009c 0000 0000  ................
        0x0030:  10ed e970 7e01 3aeb 94bb de01 6e18 38f8  ...p~.:.....n.8.
        0x0040:  d467 ca3a 334f 9dca aac2 75e2 a79d 451b  .g.:3O....u...E.
        0x0050:  4fdf f322 cc82 6461 a758 a161 8fce cd44  O.."..da.X.a...D
        0x0060:  09e2 035b 9c3e 1f16 19a8 8a35 3807 ed7f  ...[.>.....58...
        0x0070:  78da 9734 8091 5c56 bcd9 9fad 5a2f 88fa  x..4..\V....Z/..
        0x0080:  379e 7d68 a024 5626 9f46 1638 8e2a a04e  7.}h.$V&.F.8.*.N
        0x0090:  e667 ea0b 8f32 428e 7df4 72c4 054e ebe7  .g...2B.}.r..N..
        0x00a0:  fb79 4453 4fe5 989a 0c5b b393 4c9a c717  .yDSO....[..L...
        0x00b0:  3843 63dc d0f0 705a e4ca c595 bbf4 9625  8Cc...pZ.......%
        0x00c0:  6b1d d410 0000 aa55                      k......U

I’m guessing that tuya-convert doesn’t like this as smarthack-web.log says:

POST /d.json?a=tuya.device.config.get&et=1&other={"token":"00000000","region":"US"}&t=33&uuid=f0e10c184d9bd602&v=4.1&sign=e6257aa1e77f698e88d55f6907aedd4d
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Content-Length: 37
Host: a2.tuyaus.com
User-Agent: TUYA_IOT_SDK

payload 828653B6FFCAF268236DA6F62A762388
WARNING: it appears this device does not use an ESP82xx and therefore cannot install ESP based firmware
Answer tuya.device.dynamic.config.get
reply {"t":1573722052,"result":"DE5Knn9Cb3cqQPnnXE9wpt7q16ainqYPbWmWbMDljc/I8vUuAf86Ii7sZGk/V+R5cQF6B49KpXabHHGS1cxvxKqlAzvTue0k7+0uTuyd/yk+imXSpMR9ocIGrNaUeSSf","sign":"f96e9ba7d689a2d3"}
ESC[32m[I 191114 09:00:52 web:2246]ESC[m^O 200 POST /d.json?a=tuya.device.config.get&et=1&other={"token":"00000000","region":"US"}&t=33&uuid=f0e10c184d9bd602&v=4.1&sign=e6257aa1e77f698e88d55f6907aedd4d (10.42.42.1) 60.21ms

Are these really not ESP82XX based or are they some variant that’s not recognised? Taking one apart to look at the chip means breaking the glued-on casing which, as I have a 4-pack, I’m kind of reluctant to do as I won’t be able to return them.

Here are the log files.

smarthack-web.log smarthack-mqtt.log smarthack-udp.log smarthack-psk.log smarthack-wifi.log

Happy to grab more logs and try stuff if it helps.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:16

github_iconTop GitHub Comments

1reaction
jmchargcommented, Dec 24, 2019

Sorry to say I have just taken delivery of a pair of B07PH28N1D and they wont flash. So guessing they have the new chip in them as well now., They will be going back to Amazon this morning!

1reaction
Rustymagecommented, Dec 18, 2019

As of today, the order I recieved of B07QN5XY89 from Amazon do not flash.

WARNING: it appears this device does not use an ESP82xx and therefore cannot install ESP based firmware

Read more comments on GitHub >

github_iconTop Results From Across the Web

Teckin SP27 Smart Plug
Quality Guaranteed——The Mini Smart Plug features a sleek new design that is FCC approved product. If you encounter any problems or need support, ......
Read more >
Teckin SP27 Smart Plug 2 Pack - Unboxing and Set-Up
You can buy the Teckin SP27 from Amazon at the link below;https://locally.link/Dt7OThis is the Teckin SP27 Smart Plug, it's available in a 2 ......
Read more >
TECKIN Smart Plug SP27 - Let's check it out - YouTube
This is the TECKIN Smart Plug SP27All you need to do is download the app and you can remotely control plugged devices and...
Read more >
Teckin Smart Plugs Review 2022 | All The Good & Bad Points!
Teckin Smart Plugs can be bought in packs of one, two or four. These devices are actually smart plug sockets. You plug them...
Read more >
Teckin SP23 and SP27 Smart Plugs - Scargill's Tech Blog
The SP23 devices I received convert to Tasmota no problem but newer models do not. I also have SP27 sockets in the same...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found