-
Notifications
You must be signed in to change notification settings - Fork 55
Tuya 3.3 version support #54
Comments
I got 3.3 working in my fork and it's now been integrated back. Give it a try and let me know if it doesn't work. I based it on the tuyaapi node.js code and tried to get it to fit into the existing framework. |
I confirm, it works now. |
Same here, works like a charm. |
I can't seem to get 3.3 to work with the most recent version. After entering data = d.status() as per the example, I get the following. Any idea how to fix? Thanks. |
Can you pastbin the code? |
Sorry, what code? |
Whatever code you're using that calls pytuya. For version 3.3 you need to call d.set_version(3.3) before calling .status() for example. |
Ah - I was just using the sample code on the front page of this git, which I guess hasn't been updated to note that yet. Did that and it works fine on one of my Tuya plugs thanks. On the other I'm getting this error after checking d.status(): |
I also have problems to get status on 3.3 devices. You can see it does recognise the devices as 3.3, because the code fails in the 3.3 section, so the set_version must be ok. (I believe my devices are using 3.3. When I set the version to 3.2, it stops working completely. Here, the switches successfully turn on and off. ) The code traceback as follows |
Hello, first of all thank you for your work.
I am having problems into getting the payload and decrypting it in the new 3.3 protocol version.
This problem was reported and discussed in this topic of tuyapi:
codetheweb/tuyapi#175
Have you got plans for update your python library in order to be compatible with the new 3.3 version?
Regards.
The text was updated successfully, but these errors were encountered: