Can't send DP reports to cloud
Hi to everybody,
I'm struggling with one problem. I'm using miniapp IDE, SmartLife and custom hardware board based on ESP32 (code base on tuya-iot-core-sdk). At this moment I can send data (though Tuya cloud) from device to miniapp. I can run default app (created by Tuya during bonding device to SmartLife) and send data from SmartLife to my device. But I can't send data from my miniapp to device. All the time I getting message:
SyntaxError: Uncaught (in promise) {"errorCode":20028,"errorMsg":"Publish Dps error","innerError":{"errorCode":"11001"}}
I build also example from tuya-ray-demo (panel-universal) which importing DP schema by own self, so I don't made any changed inside, but also this example can't send MQTT reports to cloud (list of DP was imported correctly).
I'm sure that, I'm making some silly mistake, but I don't know where. This is not any firewall and internet connection problem because default app on SmartLife works well, so error must be inside my miniapp.
I will be appreciated, if somebody can give me some clues, where I should search error. Or maybe there is available source code for that default app created during bonding.
Thank you in advance for help,
best regards,
Gregor
SmartLife 6.8.5
Tuya MiniApp IDE version information: 0.9.2 minipack 3.3.5
App application version information: 1.0.0
The versions of @ray-js/ray: 1.7.24
@ray-js/panel-sdk: 1.13.1
Mobile device information: Android 13