zigpy / zigpy-cli

Command line interface for zigpy
GNU General Public License v3.0
43 stars 11 forks source link

Add Child, Remove Child, Remove Neighbor via direct manipulation of child/neighbor table by the application? #4

Open Hedda opened 2 years ago

Hedda commented 2 years ago

Feature for direct manipulation of child/neighbour table by the application to "Add Child", "Remove Child", "Remove Neighbor" might be nice to have for a few reasons but I think that it would be especially nice to be able to configure some devices to not use some device as a router(?).

I think what I would like to achieve is the option to manually blacklist specific devices so they are not used as Zigbee routers.

FYI, new API feature added Silabs Zigbee EmberZNet 6.10.0.0 which might be nice to consider for zigpy-cli for ZHA integration?

https://www.silabs.com/documents/public/release-notes/emberznet-release-notes-6.10.3.0.pdf

Added in release 6.10.0.0

emberAddChild() - SoC-only API for adding a child to the child/neighbor table, allowing direct manipulation of these tables by the application.

emberRemoveChild() - SoC-only API for removing a node from child/neighbor table, allowing direct manipulation of these tables by the application.

emberRemoveNeighbor() - SoC-only API for removing a node from neighbor table, allowing direct manipulation of these tables by the application.

MattWestb commented 2 years ago

SoC-only API is not EZSP API