Giter VIP home page Giter VIP logo

Comments (7)

FearNaBoinne avatar FearNaBoinne commented on August 17, 2024

I support this request!

from domoticz-tuya-smartplug-plugin.

deennoo avatar deennoo commented on August 17, 2024

@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

from domoticz-tuya-smartplug-plugin.

tixi avatar tixi commented on August 17, 2024

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."

from domoticz-tuya-smartplug-plugin.

deennoo avatar deennoo commented on August 17, 2024

@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?

from domoticz-tuya-smartplug-plugin.

tixi avatar tixi commented on August 17, 2024

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.

from domoticz-tuya-smartplug-plugin.

deennoo avatar deennoo commented on August 17, 2024

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 ?

from domoticz-tuya-smartplug-plugin.

seansco avatar seansco commented on August 17, 2024

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

from domoticz-tuya-smartplug-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.