Hi,
i am trying to create a python application going through all our devices that are expected to be in the network, trying to see if they are reachable and if so read some further information from them.
So i start with the get_node_list returning a list of class node:
node_list = zigbee.get_node_list(refresh=False, discover_digi=False, discover_zigbee=False)
After that i read a list of extended addresses from a file containing the extended addresses which are supposed to be reachable.
I walk though this list and check if the address is already in my node_list, that is no problem.
But for any address NOT (yet) in my node_list i want to add it so i can later iterate over the complete list (and use extended discovery methods to see if i can find it).
Where i am stuck is when i try to add a new member (tuple of class node) to node_list.
Is there a way to do this?
I tried: new_node = zigbee.node() but this node does not exist
I also tried node_list.append(), but it gives an error that the tuple has no append method defined.
thanks for any help