-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't support multiple param #17
Comments
I only had single tuya switch to test this. Have to check the code again. Have you tested this already in a tuyapi nodejs script ? |
So I am guessing my smartlife lights didn't support this the best I can tell. I am able to turn on/off, set colors, and scenes so I extremely please as the other node-red-contribs didin't work. I'm thinking you can close this. |
Looking at the code I did add support for multiple as per tuyaapi. Try as I said a nodejs script to send multiple, maybe the structure is wrong. |
Also check the keys are correct, is 20 the on/off? |
yes, 20 is on/off These values are known good by themselves. I expect the device has no use for multiple inputs on this device. |
I managed to use this node with a device (RGB Bulb) that accepts multiple attributes using the same format as slombard3000 |
The below is taken from the API guide but doesn't seem to do anything. Not even an error.
{
"multiple": true,
"data": "{'20': true,'2': 'red' }"
}
The text was updated successfully, but these errors were encountered: