zigpy-znp
zigpy-znp copied to clipboard
Unable to form network - No module named form_network
trafficstars
$ python -m zigpy_znp.tools.energy_scan /dev/ttyUSB0
2023-08-23 09:02:34.211 freeframe __main__ INFO Starting up zigpy-znp
2023-08-23 09:02:36.796 freeframe __main__ ERROR Could not start application:
2023-08-23 09:02:36.797 freeframe __main__ ERROR Form a network with `python -m zigpy_znp.tools.form_network`
$ python -m zigpy_znp.tools.form_network /dev/ttyUSB0
/usr/bin/python: No module named zigpy_znp.tools.form_network
:-\
The zigpy-znp network formation tools are deprecated (though this is unfortunately undocumented, sorry!), use zigpy-cli instead: https://github.com/zigpy/zigpy-cli
Also, if you are just trying to perform an energy scan and use ZHA, this information will be in the diagnostic JSON for the integration under an energy_scan key: