Skip to content
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

Tuya 3.3 version support #10

Open
deennoo opened this issue Sep 19, 2019 · 7 comments
Open

Tuya 3.3 version support #10

deennoo opened this issue Sep 19, 2019 · 7 comments

Comments

@deennoo
Copy link

deennoo commented Sep 19, 2019

As Many know Action Sells some Tuya Device

I have a Smart Plug (FW 1.1.5) and a led strip (1.1.6)

They doesn't work with the plugin because they need Tuya 3.3 version support.

Python Lib used on this plugin allow Tuya 3.3 version support since 3 mounth know :

https://github.com/clach04/python-tuya/blob/master/pytuya/__init__.py

I Try Tuya-Cli using v3.3 spec and i can connect and read DSP of my device.

This can be great if this plugin can be update and allow use to choose version to use.

Thanx

@FearNaBoinne
Copy link

I support this request!

@deennoo
Copy link
Author

deennoo commented Sep 24, 2019

@FearNaBoinne you made a great job on this topic :
https://www.domoticz.com/forum/viewtopic.php?f=65&t=22528&start=260#p224446

Please @tixi help use to made the plugin support new Tuya Device FW

@tixi
Copy link
Owner

tixi commented Oct 3, 2019

The library used by the plugin is not really maintained as mention by clash04 "NOTE I'm no longer using these devices so this is not actively maintained."

@deennoo
Copy link
Author

deennoo commented Oct 3, 2019

@tixi that true but actually 7.0.4 works with 3.3.

Please explain us how to implante this variante on def __extract_status

Does it had to be done OnMessage?

@tixi
Copy link
Owner

tixi commented Oct 3, 2019

Have a look at: https://github.com/clach04/python-tuya/blob/master/pytuya/__init__.py
in the def status(self) function line 305 to 311 you have the piece of code to extract the state.
It should be very similar.

and yes the __extract_status call has to be done on the OnMessage function.

@deennoo
Copy link
Author

deennoo commented Oct 3, 2019

Have a look at: https://github.com/clach04/python-tuya/blob/master/pytuya/__init__.py
in the def status(self) function line 305 to 311 you have the piece of code to extract the state.
It should be very similar.

and yes the __extract_status call has to be done on the OnMessage function.

thanks for your help

as i'm not a crack, even not a beginner but a newbee, i need more help

change about version have to be done on "OnMessage" or in __extract_status ?

@seansco
Copy link

seansco commented Dec 29, 2019

support v3.3. I've bought 2 rebranded tuya devices and they are both v3.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants