vinodsr / node-red-contrib-tuya-smart-device

a node-red module for managing tuya smart devices
https://flows.nodered.org/node/node-red-contrib-tuya-smart-device
MIT License
47 stars 15 forks source link

Control Bulbs or get what commands i can use ? #76

Closed Askeshine closed 2 years ago

Askeshine commented 2 years ago

Hi i have use this contrib rlly amazing but i only can TURN OFF AND ON bulb...

I don't understand the "DPS" part

My bulb information show this: imagen

Where i can see what its DPS and WHY dps ? -.- idk how to change color or other thing.

vinodsr commented 2 years ago

DPS are index numbers which controls the behavior of the device using the tuyaAPI.

eg: dps 1 normally controls the power, so setting dps as 1 and set variable as true will turn on the bulb

the dps index differs from device to device.

To see the dps for your device, connect a debug node to the output of the tuya-smart-device node, turn the bulb on / off using the app. you can see the output in the debug panel . similarly you can check with change color , brightness etc.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

Auto closing the issue