AWP04L Will not flash
ebuford opened this issue · 2 comments
I am having an issue with my Tuya-convert not flashing a AWP04L Smart plug.
I am using a Raspberry Pi 3 B+ And a Wemos D1 Mini Donor device.
I have successfully Flashed other devices with this configuration.
These are the MAC addresses of the devices involved:
b8:27:eb:dd:1d:b5 = Pi
98:f4:ab:da:c3:ac = D1 Mini
dc:4f:22:13:61:94 = AWP04L
When attempting to run the convert I set the AWP04L Device in Fast Blinking mode and shortly afterwards it seems to connect and then the light turns red. After a while the light goes out but the screen says it is in Auto Retry and then it will eventually time out.
It will confirm that an ESP82xx device had connected to the wifi log but doesn't offer much help beyond that.
While hunting for an answer, I came across the idea of needing to upgrade the sslpsk to ensure it could handle any issues with ssl connections so I ran this command on the Pi: sudo -H python3 -m pip install --upgrade sslpsk to update the sslpsk.
smarthack-mqtt.log
smarthack-psk.log
smarthack-udp.log
smarthack-web.log
smarthack-wifi.log
This batch of AWP04L plugs came from a group I bought 2-3 years ago and I had no issues (that I remember) then flashing them.
I have since rebuilt my Pi and have a recent (possibly newest) version of Tuya Convert on it.
Any help would be appreciated!
I noticed in the logs above that network-manager was not stopping or starting. So I did a raspi-config and set it to NetworkManager.
Then in the Setup_ap.sh I changed the network-manager to NetworkManager and ran the script again. It still does not connect as expected. These are the logs AFTER the change:
smarthack-udp.log
smarthack-web.log
smarthack-wifi.log
smarthack-mqtt.log
smarthack-psk.log
After much trying, and at the behest of @wantmoore on the digiblurDIY discord server, I installed the Legacy Buster Raspbian and then installed TC and it flashed first time.
I'm not certain if this is a known issue, but the instructions are to install the latest version of Raspbian.