Home/Support/Support Forum/discovering xbee devices in zigbee network
New and improved user forum site going live on 12/6 (All users will need to reset their password when the new forum is active)

discovering xbee devices in zigbee network

0 votes

I am trying to know all the mac addresses of the devices in my zigbee network. The problem is that I find only my xbee boards but I dont find the HA dimmer that I have in my network. Im sure that the dimmer is in my network because I can comunicate with it but when i use the get_network() function it only appears the other xbee 3 boards. I use the following code:
xbee = XBeeDevice("/dev/ttyXBee", 9600)
xnet = xbee.get_network()
while xnet.is_discovery_running():

devices = xnet.get_devices()
while r <n_dev:
addresses= devices[r].get_64bit_addr()
asked Apr 22, 2020 in XBee3 ZigBee by pablovi96 New to the Community (26 points)
I have noticed that if I use the dimmer on/off button when the function is running the device is detected. Could this happen because of the dimmer being in sleep mode or something like that? How could I get all the devices in my network even if they are sleeping?

Please log in or register to answer this question.

1 Answer

0 votes
Best answer

Yes, it most likely is because the device is asleep. What you would need to do is to have the device announce its self when it connects. You would then have to create a table with that data. You can also the ZDO functions to request the child table of each of your parent routers.

Digi Support
answered Apr 23, 2020 by mvut Veteran of the Digi Community (15,515 points)
selected Apr 27, 2020 by pablovi96
If I use the ZDO function to request the child table of the coordinator, should be enough to have all the devices, shouldnt it?
No.  A child table only tells you what End devices are associated to that parent. Neighbor tables tell you what routers are in range of that parent.