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.

Unable to flash Tekin SP22

See original GitHub issue

Hello,

I try to flash a Tekin SP22 WiFi switch / power meter. I use the master branch after #279 has been merged to it, executing on a Raspberry Pi.

Commit is d9211e0f17641b4af46336c69fd067d0742684ec. Raspbian Buster

I run ./start_flash.sh after a fresh reboot, however, the vtrust-flash wifi network does not appear. After stopping and restarting start_flash.sh it appears and I can connect to it.

I put the switch into flashing mode by a long press on the button, it starts to blink red-blue.

About two seconds after I press Enter to continue flashing, the switch goes back to normal mode (stops blinking):

Starting pairing procedure in screen
RTNETLINK answers: File exists
~/tuya-convert
Waiting for the upgraded device to appear
If this does not work have a look at the '*.log'-files in the 'scripts' subfolder!
.... dots keep appearing

and that’s it until I cancel the flashing after a couple of minutes.

The log files:

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

Thanks your any advice!

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
henfricommented, Nov 30, 2019

I know. We are trying to help others by building some statistics. Tuya-convert is working Well. Just the Message about the wrong hardware could bei written in the Main Screen instead of being somewhat hidden in the logs.

0reactions
henfricommented, Nov 30, 2019

Yes, thank you. I think your clarification is useful

Read more comments on GitHub >

github_iconTop Results From Across the Web

Teckin SP22 not flashable anymore with update 1.0.7 #197
Every owner of a tuya device describes the current failure during flashing. (Plug is now connected with the Tuya App, because I want...
Read more >
Trouble with flashing teckin sp22's / tuya converter
Hi all, I bought a pack of four teckin sp22's because I wanted to monitor my power usage. I added the plugs to...
Read more >
I bought last week a Teckin SP22 which is a Tuya OEM ...
I bought last week a Teckin SP22 which is a Tuya OEM smart plug. I found out that the chip Tuya is ......
Read more >
Teckin Smart Plug Not Connecting? (Solved!)
Plug in your Smart Plug and ensure the LED light (on the Power button) is flashing. If not, press and hold the Power...
Read more >
How To Connect Smart Plug Teckin SP22 with Smart Life App
Your browser can't play this video. ... How To Connect Smart Plug Teckin SP22 with Smart Life App - Smart Living App.
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