-
Notifications
You must be signed in to change notification settings - Fork 191
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
Cannot connect to Gateway #530
Comments
Are you sure it's a device22? Those generally are v3.3 devices which kinda-sorta act like v3.1 devices. Also, did you re-run the wizard after re-pairing? Re-pairing generates a new local key. |
The problem is, when i switch to device22 it clearing error no. 903 (?) Even if the device is "default". And i also re-runned wizard, like 3-4 times. Changed that key, if its necessary i can try to find the name of the device. |
What does a scan show? |
Scanned withoud -d Parameter
Scan Complete! Found 1 devices. And there is a few lines at the end with -d parameter DEBUG:final payload_dict for 'bff08a9acbf0efbf76a0rl' ('v3.4'/'default'): {1: {'command': {'gwId': '', 'devId': '', 'uid': '', 't': ''}}, 7: {'command': {'protocol': 5, 't': 'int', 'data': {}}, 'command_override': 13}, 8: {'command': {'gwId': '', 'devId': ''}}, 9: {'command': {'gwId': '', 'devId': ''}}, 10: {'command': {}, 'command_override': 16}, 13: {'command': {'protocol': 5, 't': 'int', 'data': {}}}, 16: {'command': {}}, 18: {'command': {'dpId': [18, 19, 20]}}, 64: {'command': {'reqType': '', 'data': {}}}} (Also the data like Address, Device ID, etc. are this same as in the beginning) |
Everything looks fine, |
I'm sorry for wasting your time, but i have problem with basic connection to the "Smart" Gateway.
So the problem is, when i try to connect using
tinytuya.Device()
(with parameters) i always get this type of error.I've tried to Remove Device, and paired again several times, but on the mobile app this working perfectly.
Here is my code that i used.
Thanks for all the help!
The text was updated successfully, but these errors were encountered: