tube0013 / tubeszb_addons

Home Assistant add-ons for Flashing TubesZB Devices
Apache License 2.0
13 stars 4 forks source link

[REQUEST] Add command to probe running firmware to the tzb-zigpy-cli-tools add-on? #6

Open Hedda opened 8 months ago

Hedda commented 8 months ago

Suggest add command in zigpy-cli for tzb-zigpy-cli-tools to probe running firmware that dump EmberZNet Ember config via EZSP.

These feature/commands are not supported by zigpy-cli but are supported via bellows CLI tools:

https://github.com/zigpy/bellows

$ bellows -d /dev/ttyUSB1 -b 115200 config --all

and

$ bellows -d /dev/ttyUSB1 -b 115200 info

FYI, @darkxst also added a wrapper for this command to universal-silabs-flasher here -> https://github.com/NabuCasa/universal-silabs-flasher/pull/37

If a unified command for this could be added to upstream zigpy-cli then then assume that such zigpy CLI command could later be extended to offer similar information probe in other radio libraries for zigpy too?

PS: Also related to this feature request from by xconverge asking to probe Silabs bootloader -> https://github.com/NabuCasa/universal-silabs-flasher/issues/16

universal-silabs-flasher --device /dev/ttyUSB0 --probe-method bootloader