Comments (2)
Maybe it is a device problem.
I found many crazy behaviors in some devices and the device response for not handled commands and values is either 'null' or 'json obj data unvalid' without any logic.
I'm working on it, soon a 'strong' solution,
Your payload looks ok, you can try also using string for numerical values ("44" in place of 44), (see some examples here) .
Test also your device capability, using a single DPS.
I hope that can help you.
Best regards
m.s.
from node-red-contrib-tuya-smart-device.
@qwertangel can you also share the response that you are getting for this command ?
Like what @msillano said, some devices will not accept all commands at once. You have to give it one by one. Like turn on , change color etc. .. See if that works . I used to do the same thing . Once the on is passed ie dps 20 then pass this command
{
multiple: true,
data: {
'21': "white",
'23': 1000
}
}
Multiple option doesn't mean it will process multiple operations .. rather multiple arguments for an operation. Hope it is clear.
from node-red-contrib-tuya-smart-device.
Related Issues (20)
- Cannot install HOT 1
- Device not connected HOT 2
- Gateway connection glitch causes restart of Node-Red (uncaught) HOT 4
- Weird key format? HOT 3
- Tuya protocol 3.4, 3.5 support missed HOT 1
- 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 5
- 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
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.