How to erase NVMEM with Zigbee2MQTT
NVMEM (NVRAM) - Non-volatile memory that is used to store the Zigbee Coordinator settings.
This method only works if you have installed Zigbee2MQTT in Linux (not the HA addon).
sudo systemctl stop zigbee2mqtt
Go to the directory with Zigbee2MQTT installed:
Run the command to erase NVMEM:
node scripts/zStackEraseAllNvMem.js <PORT>
<PORT>is the port of your Zigbee coordinator. This is usually
/dev/ttyACM0for stick or
Restart the stick/module.
This step must be performed necessarily, otherwise the stick/module will not work.