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

json obj data invalid #31

Closed kart-able closed 3 years ago

kart-able commented 3 years ago

Hello,

The ID and key seem to be correct as the node displays "connected" underneath.

But I did not send anything through it, debug already says "json obj data invalid" with a msg: Object listing dps 1, 2, 3, 101, 102, 103 as null.

vinodsr commented 3 years ago

Make sure you understand the schema of the device.

The easiest way to do that is to attach a debug node to the smart node and interact with the device ..

eg: Try turning on and off the device, you will see the payload in the debug panel. Send that payload to the node and device will turn off or on .

If this is not working then it can be due to this one https://github.com/vinodsr/node-red-contrib-tuya-smart-device/issues/14 (some devices are infected.)

stale[bot] commented 3 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 3 years ago

Auto closing the issue