Re: sensor device connection with STM32WB and zigbee
Is there any documentation what I need for that? Do I have to do something in iot.tuya.com? I started this way:
Is there any documentation what I need for that? Do I have to do something in iot.tuya.com? I started this way:
I red that and there is said:
"Hardware-based connectivity is implemented with TuyaOS or MCU integration protocol derived from TuyaOS" and
"The original Self-Developed Module SDK and Tuya Standard Module SDK are merged into TuyaOS."
I try to find "Self-Developed module SDK" documentation. I'll follow that link:
https://www.tuya.com/platform/productde ... ub-devices
I think, that is what I need, but it is written in chinese. Could you give link for english version?
https://developer.tuya.com/cn/docs/iot/ ... k6zvqiljjh
I found english version. I just replaced "cn" in url with "en".
Hello,
How should I do binding? I try to follow this:
https://wiki.st.com/stm32mcu/wiki/Conne ... ee_Binding
Now problem is that there is some basic cluster attribute which is Tuya's own private attribute. We get now error:
[M0] [00000000.982][PLATFORM] ZbZclAttrWrite : Failed to write cl = 0x0000, attr = 0xffde (cannot find attribute)
Where that attribute is documented? I found something from these links:
viewtopic.php?p=8322&hilit=0xffde#p8322
https://github.com/zigbeefordomoticz/wi ... 61-eTRV.md
Tuya gateway wants to write into basic clusters attribute 0xffde, which we haven't now?
Actually,developer do not need to be concerned about Tuya-defined pravite attributes of basic cluster if your device accessed as a three-party device.
So the error is now that some of the basic attributes is so that gateway believes that end device is not third party device? Which of attributes tells that? Is it modeId? Basic attribute request asks these values:
Attribute: Manufacturer Name (0x0004)
Attribute: ZCL Version (0x0000)
Attribute: Application Version (0x0001)
Attribute: Model Identifier (0x0005)
Attribute: Power Source (0x0007)
Attribute: Unknown (0xfffe)
I got joining to the network working, but I can't see any binding request. Does Tuya zigbee use binding at all? I found active endpoint request. Is it used instead of binding? Gateway sends the active endpoint request.
Hello,
Question about the device id. Where to it shoud be set and at which point it is told to gateway? For example temperature sensor's device id is like that:
Device ID 0x0302
I suppose, it is set when cluster is created?