-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parse Data Errors #81
Comments
Does this happen every single time, or only sometimes? |
Yep, so far haven’t been successful with these devices (other than to get the ID/Key values) |
Did you try omitting the protocol version parameter / setting it to 3.1 (the default)? Are you able to capture the network traffic between your device and app to see if the packets look similar to what TuyAPI sends? |
Yep, tried using no protocol version, and then iterating from 3.1-3.3. I’ll try and capture some traffic over the next couple of days |
Alrighty, I've had a look at the wireshark data. The responses received seem pretty accurate. TuyAPI seems to be sending a SYN message to Port 6668 on the device, receive an ACK, then send an ACK. It then seems to send (with protocol set to 3.3): For protocol set to 3.1: Not sure how much help this is... |
Those are the packets that TuyAPI sends, correct? Could you also try recording the packets the official app sends to see how similar they are? |
Hi guys, I got same error with tuya plug socket. |
@nug321 have you retried getting the local key / relinking your device to confirm it's not an issue with that? The key changes every time you relink it / add it to the app. |
Yep, checked the keys twice. |
@nug321 can you post / email me the local key for that dump you posted earlier so I can try to decode it? |
@nug321 I emailed back with a possible solution. Feel free to post here with the results. |
Any news regards to this I'm having the same error? |
@chrisca26 @nug321 hasn't responded to my last email yet. It looks like their |
@nug321 thank you for the additional information. I'm not really sure what's going on at this point; but more data would be helpful. @chrisca26 are you able to provide a packet capture? |
How would I go about to do a packet capture? Wireshark and filter on the IP? |
Yep. 👍 |
I seem to getting an error too. Not sure if the error is related: ` TuyAPI Error [ERR_UNHANDLED_ERROR]: Unhandled error. ('json obj data unvalid') Error [ERR_UNHANDLED_ERROR]: Unhandled error. ('json obj data unvalid') |
Hi,
Facing an issue with some new LED Strip Controllers. Originally bought these expecting to find an ESP inside to flash with Tasmota, but they use a W600 chip that rules that out...
Version of TuyAPI is 5.3.1.
I noted some similar issues (#23, #64), however all of those seemed to be resolved with protocol changes and some time ago - so wondering if this is yet another new protocol or similar...
Example Set commands:
Example Get Command
The text was updated successfully, but these errors were encountered: