How do I pair a light_bulb with an existing zigbee coordinator

At present, I used an nRF52840DK as the Adapter of zigbee2mqtt, flashed the corresponding NCP firmware, and successfully formed the zigbee network. I want to connect the light bulb to the network. I have compiled the firmware of the light_bulb to another nRF52840DK, but I can't find any way to connect the two NRF52840DKs. In addition, I did not find a definition in SDK2.7.0 that would change the zigbee channel. What should I do to connect the light_bulb to an existing zigbee network?

  • P.S. At the moment there seems to be no problem with Light_buld's firmware. LED1 blinks after the switch is turned on.LED4 is always on.

    Hope to get your help, thank you very much ~

  • Hello,

    I used an nRF52840DK as the Adapter of zigbee2mqtt, flashed the corresponding NCP firmware,

    Is this Home Assistant, by chance? So the nRF52840 DK is the coordinator, but it is being controlled by some other device, right?

    In addition, I did not find a definition in SDK2.7.0 that would change the zigbee channel

    There is a configuration for setting a specific Zigbee channel, but you probably don't want to use this. That is mostly for debugging purposes, to speed up the process, if you know what channel your network is operating on. If you don't specify a specific Zigbee channel, the device will by default advertise itself on all channels.

    What should I do to connect the light_bulb to an existing zigbee network?

    The way that this usually works is that the network coordinator - which I assume is the thing that is connected to your nRF52840 DK running the NCP firmware - needs to look for new devices, and open up the network to let the new devices in. 

    So depending on whether the network is controlled by a computer, a raspberry pi, an Amazon Echo hub, a Philips Hue controller, or whatever your network coordinator is, the way it is done is a bit differently. 

    When the DK is flashed with the NCP firmware, it will just act as a generic Zigbee radio slave device, controlled by the host it is connected to, so I can't tell you how to add the bulb to the network unless I know what the host controller is, and what it is running. 

    NB: We do have a sample application called "network_coordinator", which can act as your network leader, but it doesn't sound like this is what you are currently trying to do, and perhaps not what you want to do either. 

    Best regards,

    Edvin

  • Thank you for your help. I installed zigbee2mqtt directly on Raspberry Pi 4B without using Home Assistant.And using the firmware from this link(developer.nordicsemi.com/.../ncp_host_v2.2.3.zip), flashed it into my nRF52840DK.

    When I start zigbee2mqtt, it will become the Coordinator in my network and will be able to form the network, which is also found in the frontend of zigbee2mqtt.

    So I have now flashed the firmware of the light bulb to another nRF52840DK. I want the light bulb to be able to pair with the NCP, which is currently the Coordinator in the network.That's the point.

    English is not my native language, so there may be some mistakes in my expression. Thank you for your reply.

  • Note:I am connecting the nRF52840DK (with NCP firmware) to the Raspberry PI 4B through a USB cable, naming it the Adapter for zigbee2mqtt.

    Best regards

    Coco

  • In addition, the channel of Coordinator in my network is set to 11, and there seems to be no way to change it.

Related