Comments (8)
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.
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.
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.
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.
can someone guide me how to do this? I have a use-case in mind.
from tuyapi.
@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.
Hello ¿how do i install tuyasub???
from tuyapi.
Responded to https://github.com/TuyaAPI/cli/issues/89.
from tuyapi.
Related Issues (20)
- Connect to Smart Filament Led LSC Smart Connect. HOT 3
- No datapoint found HOT 1
- devid not found on v3.4 Gateway HOT 11
- get() timeout error after the result was successfully retrieved HOT 3
- Install instructions not working HOT 4
- Tuya cloud IoT platform not registering Tuya App HOT 2
- Error: GET_TOKEN_FAILED 1114, your ip(xxx.xxx.xxx.xxx) don't have access to this API HOT 1
- Some of my localtuya devices periodically become unavailable HOT 2
- App show "no access". I turn on all permissions when creating new Cloud Project. And I cheched my region. All right. HOT 1
- Implement 3.5 protocol
- Setting brightness overrides color / set multiple properties only applies last HOT 2
- Weird encrypted response from tuya bulb ? HOT 6
- Philips Avent Baby Monitor uses Tuya HOT 3
- Virtual device timed out HOT 1
- Tuya IOT Platform error 1106: permission deny HOT 1
- Cannot install with "npm install codetheweb/tuyapi" HOT 1
- device.get() never returns HOT 9
- Not being able to connect using device.connect() HOT 7
- tuya-cli get does not work, ECONNRESET error. HOT 1
- 302 status on my TuyaPlatform plugin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuyapi.