espressif / esp-zigbee-sdk

Espressif Zigbee SDK
Apache License 2.0
173 stars 29 forks source link

Adding Zigbee Plug to Zigbee Gateway (TZ-1079) #412

Open Shivi-6 opened 3 months ago

Shivi-6 commented 3 months ago

Question

I was trying to add an anchor zigbee plug to a zigbee bridge on a ESP gateway kit. After flashing and monitoring, network steering starts but it is not able to detect the plug. On searching a little more, I could find that the code is available only for zigbee on_off light. Can you please let me know how to add the zigbee plug to the gateway kit.

Additional context.

No response

xieqinan commented 3 months ago

@Shivi-6 ,

Could you please provide more details about the detection failure for the plug? If the Zigbee bridge is acting as the coordinator, it will wait for other Zigbee devices to join. A mismatched link key or misaligned joining method can trigger the failure. It would be helpful if you could refer to the sniffer documentation to provide a sniffer packet and the console log of the Zigbee bridge.

Shivi-6 commented 2 months ago

Zigbee bridge is acting as a co-ordinator but the rainmaker zigbee bridge example does not have any implementation for a zigbee plug. I could only find for on-off light. Also, the bridge uses steering but I think the devices are using install-code.

Is there a way to change the pairing method of the bridge?

xieqinan commented 2 months ago

@Shivi-6 ,

Is there a way to change the pairing method of the bridge?

Of course, you can refer to the example attached in this https://github.com/espressif/esp-zigbee-sdk/issues/398#issuecomment-2268591073 to use the install code way for pairing.