simeonovp / node-red-contrib-tuya-devices

Support for Tuya devices in SmartHome projects using Node-RED. The goal of the project is to allow using local devices supports Tuya in Node-Red
MIT License
6 stars 1 forks source link

Sample of input #7

Open jormajo opened 1 month ago

jormajo commented 1 month ago

Hello,

Could you please provide a sample of the input to the Device node. I presume it is a json for setMultipleDps. What is its structure?

Thanks

jormajo commented 1 month ago

Hello again,

I cannot find any documentation about the input and output of the "Tuya Device" node. That's why I am rising the issue. If someone could point me to the documentation, that would be also usefult. Thanks,

simeonovp commented 1 month ago

@jormajo This is a free hobby project that I work on when I have free time. That's my summer vacation next month, for example. I have the documentation development on my TODO list. Bug fixes and new features have a higher priority, however.

jpg06 commented 1 month ago

And thank's to you for that. But without kwowing how to feed the input of the "tuya device node" it's difficult to test your project. I have an error with all command i send to the node. But the node is marked as "connected"

simeonovp commented 1 month ago

@jpg06 When the node is online, the most important thing is there. If you have configured a "data point" in the device node that is not read-only, you only need to set a valid value in the message payload. For example, for switches: true or false, for numerical values ​​a number from the valid range. You can also simply connect suitable nodes from the dashboard library to the input. I will add flow examples to the readme when I get the chance (unfortunately, time for hobby projects is in short supply). Thanks to everyone who donated coffee for me!