For my setup I am running Micropython on XBee3 Zigbee modules acting as routers, my controller is using the Python API.
I am only able to get the NI parameter from a remote xbee after performing a network_discovery from the controller node running the Python API.
If I power up an additional node after running the discovery process I am unable to get the NI parameter that comes with the RemoteXBee object which is part of the XBeeMessage object.
What I am trying to do is populate a dictionary with the NI values as the key and the RemoteXBee oject as the value. The only success I have had with this is from having to run a network discovery from the controller which then blocks all execution on the controller.