ct-Open-Source / ct-Open-Source/tuya-convert

new Tuya Plug - not flashing

Open
#934 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
5.1k
Forks
523
PR merge metrics
No merged PRs in 30d

Description

I have a new Tuya plug which is not being flashed.
It has ESP eprom on it I believe because the device name starts with ESP

When I use the tuya-convert tool, it connects to the AP and receives IP address 10.42.42.22 (not 10.42.42.42)

and the smartconfig fails.

I get this log on psk screen:

```
new client on port 443 from 10.42.42.21:52032
could not establish sslpsk socket: [SSL: NO_SHARED_CIPHER] no shared cipher (_ssl.c:1056)
don't panic this is probably just your phone!
new client on port 443 from 10.42.42.21:52034
could not establish sslpsk socket: [SSL: NO_SHARED_CIPHER] no shared cipher (_ssl.c:1056)
don't panic this is probably just your phone!
new client on port 443 from 10.42.42.21:52036
could not establish sslpsk socket: [SSL: NO_SHARED_CIPHER] no shared cipher (_ssl.c:1056)
don't panic this is probably just your phone!
new client on port 443 from 10.42.42.21:52038
could not establish sslpsk socket: [SSL: NO_SHARED_CIPHER] no shared cipher (_ssl.c:1056)
don't panic this is probably just your phone!
new client on port 443 from 10.42.42.21:52040
could not establish sslpsk socket: [SSL: NO_SHARED_CIPHER] no shared cipher (_ssl.c:1056)
don't panic this is probably just your phone!
new client on port 443 from 10.42.42.21:52042
could not establish sslpsk socket: [SSL: NO_SHARED_CIPHER] no shared cipher (_ssl.c:1056)
don't panic this is probably just your phone!
new client on port 443 from 10.42.42.21:52044
could not establish sslpsk socket: [SSL: NO_SHARED_CIPHER] no shared cipher (_ssl.c:1056)
don't panic this is probably just your phone!
new client on port 443 from 10.42.42.22:28194
ID: 0242416f68626d64366147393149465231723688c35df8f0a8c2d2c7beccede9406987f35f5c77ca7cd5469857461ed75e
PSK: d308b3383747fbcce3fd683546e096b3c12765510e643c8f08446c97706e7c28
could not establish sslpsk socket: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1056)

```

is this a new device ?
what can I do to flash it with Tasmota firmware ?

If I can contribute by supplying information from current firmware I would happily do that.
if that's not required, I will flash using USB flasher. But I don't know how to connect this to my ESP flasher.
where can I find info on it ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure with the tuya-convert tool and review the smartconfig and psk screen logs, including the device IP, ID, PSK, and SSL errors. Compare the behavior with the documented Tuya and ESP flashing process; done means establishing whether this device is supported and documenting a working tuya-convert or USB flasher path.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.