zigpy / zigpy-cli

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

Add ”Zigbee Router” (router mode) and same same utils commands as Nerivec’s ember-zli command line interface tool for Silicon Labs #48

Open Hedda opened 1 month ago

Hedda commented 1 month ago

Can commands to join a Zigbee network be added to zigpy-cli to enable using NCP in ”router mode”? I believe that bellows CLI already have join commands for this?

For more more back-story and reference also see these related feature requests for zigpy and bellows about being able to command NCP to join existing network as a Zigbee Router and/or Zigbee End Device:

Please consider adding ”Zigbee Router” commands (i.e. add command to enable router mode, for join network, rejoin network, or leave network, etc.), and other utils commands as Nerivec’s ember-zli command line interface tool for Silicon Labs:

https://github.com/Nerivec/ember-zli

https://github.com/Nerivec/ember-zli?tab=readme-ov-file#router

https://github.com/Nerivec/ember-zli/pull/3

  • Add router command

    • Join network
    • Rejoin network
    • Leave network
    • Backup NVM3 tokens
    • Restore NVM3 tokens
    • Reset NVM3 tokens
    • Get network info
    • Set manufacturer code
    • Read counters
    • Ping coordinator
    • Reload custom event handlers
    • Run custom script
  • Add sniff command

    • Start sniffing
  • Add utils command

    • Parse NVM3 tokens backup file
  • Remove menus better suited for utils command.

    • stack

    • Get NVM3 tokens info (details of what Backup saves)