tuya-convert: Unable to flash Tekin SP22

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!

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 34

Most upvoted comments

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.