Giter VIP home page Giter VIP logo

Comments (8)

codetheweb avatar codetheweb commented on May 23, 2024

It's possible, and I'd like to make a virtual stub device for automated tests in the future; but I'm not sure how useful a full-blown emulation would be.

What would you want to use it for?

from tuyapi.

gunnicom avatar gunnicom commented on May 23, 2024

It was just an idea. No use for now, as i started with tuya device just two days ago. Maybe it will be not useful at all, but if it is easy to implement, maybe someone will find a use for it :D

from tuyapi.

codetheweb avatar codetheweb commented on May 23, 2024

Ok.

It's an interesting idea, but I'm going to close this issue for now. If I eventually get around to adding a stub simulated Tuya device for testing I might consider adding something like this as well.

from tuyapi.

gunnicom avatar gunnicom commented on May 23, 2024

Yes that is ok, as said was just an idea. But got another one already. I try to learn about node red and build a node red node from tuyapi. But i still have no clue how to do it :D

from tuyapi.

WisdomSky avatar WisdomSky commented on May 23, 2024

can someone guide me how to do this? I have a use-case in mind.

from tuyapi.

codetheweb avatar codetheweb commented on May 23, 2024

@WisdomSky information in this issue is very outdated. 😛

There's a stub implementation here that you can use.
Also, see this test file for TuyAPI that uses the stub module for some example code.

Please open a new issue if you need further help.

from tuyapi.

briggitteorellana avatar briggitteorellana commented on May 23, 2024

Hello ¿how do i install tuyasub???

from tuyapi.

codetheweb avatar codetheweb commented on May 23, 2024

Responded to https://github.com/TuyaAPI/cli/issues/89.

from tuyapi.

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.