Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Jul 12, 2024 · 1 comment

Comments

@Hedda
Copy link

Hedda commented Jul 12, 2024

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? Nerivec has implemented this and more command line tools in his new ember-zli project:

ember-zli router

Use a coordinator firmware as a router and interact with the joined network.

USAGE
  $ ember-zli router

DESCRIPTION
  Use a coordinator firmware as a router and interact with the joined network.

EXAMPLES
  $ ember-zli router

See code: https://github.com/Nerivec/ember-zli/blob/v2.9.0/src/commands/router/index.ts


For more back-story and reference specifically on the ”Zigbee Router” (router mode) feature request please also see these related requested features for zigpy and bellows about being able to command NCP to join existing network as a Zigbee Router and/or Zigbee End Device. See these previous discussions and feature requests:

And

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

Ember ZLI

Interact with EmberZNet-based adapters using zigbee-herdsman 'ember' driver

Interactive Menus (with links to Wiki)

Bootloader

Router

Sniff

Stack

Utils

ToC

Usage

$ npm install -g ember-zli
$ ember-zli COMMAND
running command...
$ ember-zli (--version)
ember-zli/2.3.0 win32-x64 node-v20.15.0
$ ember-zli --help [COMMAND]
USAGE
  $ ember-zli COMMAND
...

Commands

@Hedda Hedda changed the title Add ”Zigbee Router” (router mode) and same Add ”Zigbee Router” (router mode) and same same utils commands as Nerivec’s ember-zli command line interface tool for Silicon Labs Jul 12, 2024
@Hedda
Copy link
Author

Hedda commented Nov 7, 2024

For reference, @tl-sl and @Nerivec use ZAP tooling/config with custom silabs-firmware-builder to build Zigbee Router firmware:

Implement a new protocol for communicating with the builtin CLI on Silabs router firmware and integrate through out. This will allow to probe and flash router firmware

Router firmware must implement a custom CLI command bootloader reboot that calls the bootloader_rebootAndInstall api.

This has been tested both standalone and integrated with sl-web-tools.

Probe of CPC 115200 is fixed in NabuCasa/universal-silabs-flasher#86, but also requires router firmware built with SL_CLI_LOCAL_ECHO: 0

ZAP in this case refers to the ZCL Advanced Platform (ZAP) tool/format for configuring Matter devices in a standardized way:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant