-
Notifications
You must be signed in to change notification settings - Fork 55
d.status timeout with a just bought device #68
Comments
Update: setting version to 3.3 made d.status work but now when I try to set DPS 1 I receive: IMPORTANT: Using latest tuya-cli to set values works. |
Did you resolve it ??? |
Yes, I implemented a retry logic found on the forum: Maybe this one. Not an ideal solution but worked. |
Hi I used the same but still not able to run device. One question - |
I used the usual procedure (proxy configured on my celphone + tuya-cli on my linux pc) BUT I had to:
Without these steps nothing worked. With them I have been able to extract the keys. Regards. |
Thanks. I will try it out. But here are you capturing packets ? Or do you have any link for step by step procedure to setup tuya-cli and also extract keys? This is something I found - |
https://github.com/codetheweb/tuyapi/blob/master/docs/SETUP.md |
you need the "Linking a Tuya Device with MITM (deprecated)" |
Hi,
I have an older different device working great.
I just bought this one https://www.amazon.it/gp/product/B07X2S13N8 cause they had italian plugs. Been able to retrieve keys using older smartlife and tuya-cli for both of them. Unfortunately usual test code fails at d.status line. The same code works fine with older device. Any advice?
Thanks.
Pino.
python3.7 tuyacmd2.py Traceback (most recent call last): File "tuyacmd2.py", line 6, in <module> data = d.status() # NOTE this does NOT require a valid key File "/www/cgi-bin/protected/tuya/python-tuya/new/pytuya/__init__.py", line 279, in status data = self._send_receive(payload) File "/www/cgi-bin/protected/tuya/python-tuya/new/pytuya/__init__.py", line 177, in _send_receive data = s.recv(1024) socket.timeout: timed out
The text was updated successfully, but these errors were encountered: