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

Unable to form network - No module named form_network #223

Open
kallisti5 opened this issue Aug 23, 2023 · 2 comments
Open

Unable to form network - No module named form_network #223

kallisti5 opened this issue Aug 23, 2023 · 2 comments

Comments

@kallisti5
Copy link

$ 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

:-\

@puddly
Copy link
Collaborator

puddly commented Aug 23, 2023

The zigpy-znp network formation tools are deprecated (though this is unfortunately undocumented, sorry!), use zigpy-cli instead: https://github.com/zigpy/zigpy-cli

@puddly
Copy link
Collaborator

puddly commented Aug 23, 2023

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:

image

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

2 participants