Comments (3)
from node-red-contrib-tuya-smart-device.
Perfect, thanks... This is very good news, a way to freeze some devices is really mandatory.
This will make also it possible to mitigate performance problems: the tuya-cloud limits are 20 homes per user and 120 devices per home!
I found a new error message in tuya_smart_device node ver.2.0.0
"Timeout waiting for status response from device id: bfa355aa196ae5975cy6ii"
Anyway, the rules are always the same:
- error is that the user of tuya_smart_device node MUST correct in own code, think about it as a blocking situation, a programming error (e.g. missing Device key).
- info happens in runtime and it is an unusual but not blocking behavior. The user CAN do actions to prevent this situation, but it is not mandatory (ignore strategy).
Do "Timeout waiting for status response" is a blocking situation in tuya_smart_device node use? if not, catch it, and do only info.
Idea:
-
Maybe it is better to send some ERROR/info messages in the output message, e.g. in msg.statusCode ? Like statusCode in HTTP request node, the block user can easily do actions based on it.
-
As an alternative, make all tuya_smart_device node errors/info catchable errors so they can be caught by a catch node standard, i.e. use only the status and don't write any message to the log.
As a workaround, for now, I modified the code of tuyapi 6.1.1, but this is not a good way to do.
Best regards
m.s.
from node-red-contrib-tuya-smart-device.
I am also having problems with it connecting and I see these errors:
"Can't Find Device"
"Error: find() timed out. Is the device powered on and the ID or IP correct?"
I only have one device on my Tuya account a Galaxy Star Projector Light.
Sometimes it connects OK but a lot of the time it doesn't and I see that error.
Thanks
from node-red-contrib-tuya-smart-device.
Related Issues (20)
- An unusual response - 2 HOT 1
- Node does not work in conjunction with Http in node HOT 1
- how to connect to sub-devices that are managed by a tuya gateway? HOT 2
- Bi-Meter disconnects from node red HOT 5
- GET response the same for schema and DPS ID HOT 3
- unreadable 'data' output from node HOT 2
- Device not connected. Can't send the SET commmand HOT 1
- where do i set the api credentials HOT 1
- [announce] nr_Tuya_OpenAPI_2.0, a node_red flow to access Tuya Cloud HOT 1
- Manage all Tuya devices with node-red HOT 1
- Cluttered log file HOT 7
- Problem with Error code "Payload must be a number in range 0-100" HOT 1
- Error in tuyapi
- More finner log info control
- Data refresh very Slow HOT 1
- Node not works if some characters in the key HOT 8
- unreadable 'data' output from node HOT 1
- tuya ir remote control with virtual device id
- Port change HOT 1
- Connecting to device through Gateway not working
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 node-red-contrib-tuya-smart-device.