Skip to content

Instantly share code, notes, and snippets.

@corgan2222
Created November 18, 2021 19:31
Show Gist options
  • Save corgan2222/943fce50cd120d18239ae38211eb9ab0 to your computer and use it in GitHub Desktop.
Save corgan2222/943fce50cd120d18239ae38211eb9ab0 to your computer and use it in GitHub Desktop.
Zigbee Network Backup
mkdir backupZigbee
cd backupZigbee
virtualenv -p 3 venv
source venv/bin/activate
pip3 install zigpy-znp
usb-devices
lsusb
ls -lah /dev/tty*
service zigbee2mqtt stop
python3 -m zigpy_znp.tools.network_backup /dev/ttyACM0 -o network_backup.json -v
service zigbee2mqtt start
ls
cat network_backup.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment