This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Node Hopping with example code from nRF5 SDK for Zigbee

So I am currently running the light bulb (board 1) and light switch (board 2. with coordinator capabilities) example code given in the nRF5 SDK for Zigbee. I can get boards 1 and 2 to communicate effectively and I can turn turn the LED on board 1 on and off using the buttons on board 2. However, when I add a second light bulb board (board 3), that board can get on the same network as the other two, but I can't turn the LED on and off using board 2. And when we place boards 1 and 2 outside their range of connectivity and try to send a message from board 2 to board 1 along board 3, it doesn't work. Is there another example sketch in the aforementioned SDK that has node hopping capabilities built into it? Or is there something simple to change in the light bulb and/or light switch/coordinator code to enable node hopping?

Parents
  • Hi,

    The light switch in the light control example only controls the first discovered light bulb, which is why it didn't turn on/off the LED on board 3. If you want to create a group of all suitable devices and control all of them at once, you can read how to test Zigbee Light Switch with ZCL groups here. If you don't want to use groups, but want the switch to be able to control several light bulbs, you'll have to implement it yourself.

    Could you provide a sniffer log where you place the boards out of range as you did earlier? If you don't know how to do capture a sniffer log, you can read about it here. Please provide the log as a pcap file.

    I will ask our developers about your questions regarding node hopping.

    Best regards,

    Marte

Reply
  • Hi,

    The light switch in the light control example only controls the first discovered light bulb, which is why it didn't turn on/off the LED on board 3. If you want to create a group of all suitable devices and control all of them at once, you can read how to test Zigbee Light Switch with ZCL groups here. If you don't want to use groups, but want the switch to be able to control several light bulbs, you'll have to implement it yourself.

    Could you provide a sniffer log where you place the boards out of range as you did earlier? If you don't know how to do capture a sniffer log, you can read about it here. Please provide the log as a pcap file.

    I will ask our developers about your questions regarding node hopping.

    Best regards,

    Marte

Children
No Data
Related