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
43 stars 15 forks source link

Data refresh very Slow #145

Open Smoeller0 opened 2 months ago

Smoeller0 commented 2 months ago

Hello I have Tuya devices to log Power. Devices like this https://de.aliexpress.com/item/1005005903131842.html It is connected and i can read Data. But when i aks the Device with msg.payload = {"operation":"GET" , "dps": 19}. or with msg.payload ={"operation":"GET","schema":true} It often send the Old data. Sometimes it Refresh but very slow. ener When i open the Tuya App data come Fresh. In the Picture red underline i have open the App. Only when open the App data refresh fast.

The Output is the everytime the Same msg.payload = {"operation":"GET" , "dps": 19} or any other number or msg.payload ={"operation":"GET","schema":true} The same output from many dps

Someone had the same Problem or an idea what go wrong here?

Smoeller0 commented 2 months ago

Its Done msg.payload ={operation: "REFRESH"} Was the soution