tuya-convert icon indicating copy to clipboard operation
tuya-convert copied to clipboard

Trying to flash Plugs and they're not being picked up?

Open Springs87 opened this issue 7 years ago • 9 comments

Hi all, i'm trying to flash a AISIRER plug.

I've flashed another plug some time ago and since then i can't get the tuya-convert to pick up any devices. All the plugs i've tried have already been configured in the tuya app. I've reflashed the SD card and gone through the pre-req's again.

I've pressed the button and the led has flashed rapidly and i've got an android tabled connected to the SSID. I've ran the ./start-flash.sh as both the standard user as well as under sudo.

I've looked at the logs but they don't seem to show anything particular that i can understand.

Any ideas on what i can look at? I've attached the logs as well

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

Springs87 avatar Feb 26 '19 22:02 Springs87

The fastest way I got them to connect was to set everything up and remove them from the tuya app. Mine immediately went in pairing mode/ fast flashing blue light. Then I ran start flash.

erwill2 avatar Feb 27 '19 01:02 erwill2

Also you can try resetting the device to defaults in the app which forces it into pairing mode. Then flash.

bigdavediode avatar Feb 27 '19 18:02 bigdavediode

erwill is right, above -- that worked for me with Merkury bulbs. Also leave your network cable plugged in even though you're going through wireless. For me it wouldn't work when the network cable was unplugged.

bigdavediode avatar Feb 28 '19 17:02 bigdavediode

Based on the logs, it does not look like a pairing issue.

Can you confirm that

  1. the device was in pairing mode (quickly blinking)
  2. the device exited pairing mode during the script

From the web log, I can see the device verifying the token, and later taking the upgrade response. I can also see several Ctrl-C. You may have exited the script while it was still working.

kueblc avatar Feb 28 '19 17:02 kueblc

I managed to get one to connect and the convert ran and read the original firmware but then it decided to stop without touching the software and now that plug is bricked.

Springs87 avatar Mar 05 '19 14:03 Springs87

What do you mean when you say the plug is "bricked"? Did the firmware backup complete successfully? Does the plug light or do anything when plugged in or button pressed? Can you see any new APs or devices on your network?

kueblc avatar Mar 05 '19 17:03 kueblc

The firmware backed up fine, went to flash the new one and it said it couldn't find the device on the network. No lights showing on the plug either and no response to trying to turn it on or off manually

Springs87 avatar Mar 05 '19 19:03 Springs87

It's probably not bricked, but just waiting to be configured. A fresh install of Sonoff-Tasmota might not react to any button presses. Look for a sonoff-* access point.

kueblc avatar Mar 23 '19 16:03 kueblc

Closing due to inactivity. If you're still experiencing issues, try again with the latest version and open a new issue if you encounter problems.

kueblc avatar Apr 04 '19 22:04 kueblc