kardia-as / zigpy-zboss

GNU General Public License v3.0
36 stars 4 forks source link

Add device path attribute to the factory reset script #25

Closed DamKast closed 9 months ago

DamKast commented 9 months ago

When factory resetting the module, it is automatically detecting the path when the dongle is used. But when used with another nRF52840 based module, it is not necessary detected. This will add the possibility to specify the device path when calling python -m zigpy_zboss.tools.factory_reset_ncp <path>

puddly commented 9 months ago

If you implement this functionality as ControllerApplication.reset_network_info, you can use the zigpy-cli interface directly (ZHA also uses this when migrating adapters):

$ zigpy radio zboss <path> reset